StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | Friends | List of all members
StFgtGeom Class Reference
Inheritance diagram for StFgtGeom:
StFgtCosmicTestStandGeom

Classes

struct  StFgtGeomData
 

Public Member Functions

bool inDisk (TVector3 rLab)
 
int getQuad (double phiLab)
 
double Rin ()
 
double Rmid ()
 
double Rout ()
 
double radStrip_pitch ()
 
double phiStrip_pitch ()
 
double yLimit ()
 
double deadQuadEdge ()
 
double maxTof ()
 
double minPmag ()
 
double diskZ (int iDisk)
 
double radStripOff ()
 
double phiStripOff ()
 
int radStripLOCId_number ()
 
int phiStripLOCId_number ()
 
int radStripGBLId_number ()
 
int phiStripGBLId_number ()
 
double phiQuadXaxis (int iquad)
 
bool localXYtoStripID (int iquad, double x, double y, int &iRadID, int &iPhiID, int dbg=0)
 
double stripID2Rxy (double fRadBin)
 
double stripID2PhiLoc (double fPhiBin)
 
double stripID2PhiLab (double fPhiBin)
 
void printParam ()
 

Static Public Member Functions

static Double_t getDiscZ (int iDisc)
 
static Int_t encodeGeoId (Int_t disc, Int_t quadrant, Char_t layer, Int_t strip)
 
static Int_t decodeGeoId (Int_t geoId, Short_t &disc, Short_t &quadrant, Char_t &layer, Short_t &strip)
 
static std::string encodeGeoName (Int_t disc, Int_t quadrant, Char_t layer, Int_t strip)
 
static Int_t decodeGeoName (const std::string &geoName, Short_t &disc, Short_t &quadrant, Char_t &layer, Short_t &strip)
 
static std::string translateGeoIdToGeoName (Int_t geoId)
 
static Int_t translateGeoNameToGeoId (const std::string &geoName)
 
static Int_t getPhysicalCoordinate (Int_t geoId, Short_t &disc, Short_t &quadrant, Char_t &layer, Double_t &ordinate, Double_t &lowerSpan, Double_t &upperSpan)
 
static Int_t getPhysicalCoordinate (const std::string &geoName, Short_t &disc, Short_t &quadrant, Char_t &layer, Double_t &ordinate, Double_t &lowerSpan, Double_t &upperSpan)
 
static Int_t getGlobalPhysicalCoordinate (Int_t geoId, Short_t &disc, Short_t &quadrant, Char_t &layer, Double_t &ordinate, Double_t &lowerSpan, Double_t &upperSpan)
 
static Int_t getGlobalPhysicalCoordinate (const std::string &geoName, Short_t &disc, Short_t &quadrant, Char_t &layer, Double_t &ordinate, Double_t &lowerSpan, Double_t &upperSpan)
 
static void getQuadCenterXYZ (Short_t disc, Short_t quad, TVector3 &xyz)
 
static Int_t encodeElectronicId (Int_t rdo, Int_t arm, Int_t apv, Int_t channel)
 
static Int_t decodeElectronicId (Int_t elecId, Int_t &rdo, Int_t &arm, Int_t &apv, Int_t &channel)
 
static Int_t getElectIdFromElecCoord (Int_t rdo, Int_t arm, Int_t apv, Int_t ch)
 
static Int_t getElecCoordFromElectId (Int_t eID, Int_t &rdo, Int_t &arm, Int_t &apv, Int_t &ch)
 
static Char_t getOctant (Char_t layer, Int_t strip)
 
static Char_t getOctant (Int_t apv)
 
static Int_t getOctant (Double_t phi)
 
static Int_t getNaiveGeoIdFromElecCoord (Int_t rdo, Int_t arm, Int_t apv, Int_t channel)
 
static Int_t getNaiveElecCoordFromGeoId (Int_t geoId, Int_t &rdo, Int_t &arm, Int_t &apv, Int_t &channel)
 
static std::string getNaiveGeoNameFromElecCoord (Int_t rdo, Int_t arm, Int_t apv, Int_t channel)
 
static Int_t getNaivePhysCoordFromElecCoord (Int_t rdo, Int_t arm, Int_t apv, Int_t channel, Short_t &disc, Short_t &quadrant, Char_t &layer, Double_t &ordinate, Double_t &lowerSpan, Double_t &upperSpan)
 
static Double_t getNaiveMapping (Int_t rdo, Int_t arm, Int_t apv, Int_t channel)
 
static bool isNaiveR (Int_t rdo, Int_t arm, Int_t apv, Int_t channel)
 
static double rIn ()
 
static double rMid ()
 
static double rOut ()
 
static double rFirst ()
 
static double rLast ()
 
static double pFirst ()
 
static double pLast ()
 
static double radStrip_pitch ()
 
static double phiStrip_pitch ()
 
static double yLimit ()
 
static double deadQuadEdge ()
 
static double radStripOff ()
 
static double phiStripOff ()
 
static double phiQuadXaxis (int iquad)
 
static bool inDisc (TVector3 rLab)
 
static bool belowFlat (TVector3 rLoc)
 
static int getQuad (double phiLab)
 
static int rad2LocalStripId (double rad, double phi, double *binFrac=0)
 
static int phi2LocalStripId (double rad, double phi, double *binFrac=0)
 
static double rStrip_Phi_High (int rindex)
 
static double rStrip_Phi_Low (int rindex)
 
static double pHistrip_R_Low (int pindex)
 
static double pHistrip_R_High (int pindex)
 

Static Protected Member Functions

static void makeReverseNaiveMappingValid ()
 

Static Protected Attributes

static double mPi = TMath::Pi()
 
static double mHalfPi = TMath::PiOver2()
 
static double mRadStripOff
 
static double mPhiStripOff
 
static int mRadStripLOCId_number
 
static int mPhiStripLOCId_number
 
static StFgtGeomData mStrips [2 *kFgtNumStrips]
 
static Int_t mNaiveMapping [kFgtNumChannels *kFgtApvsPerQuad]
 
static Bool_t mReverseNaiveMappingValid = 0
 
static Int_t mReverseNaiveMapping [2 *kFgtNumStrips]
 

Friends

class StFgtDbFileMaker
 

Detailed Description

Definition at line 36 of file StFgtGeom.h.


The documentation for this class was generated from the following files: