00001 /*************************************************************************** 00002 00003 Simple strip object for internal alignment use 00004 00005 ***************************************************************************/ 00006 00007 #ifndef ALIGNMENTSTRIP_H 00008 #define ALIGNMENTSTRIP_H 00009 00010 #include "Rtypes.h" 00011 00012 class CandStripHandle; 00013 class NtpAlignTrackStrip; 00014 class NtpAlignCandStrip; 00015 00016 class AlignmentStrip 00017 { 00018 public: 00019 00020 // Constructors & Destructors 00021 AlignmentStrip(); 00022 AlignmentStrip(const CandStripHandle* csh); 00023 AlignmentStrip(const NtpAlignTrackStrip* strip); 00024 AlignmentStrip(const NtpAlignCandStrip* strip); 00025 virtual ~AlignmentStrip() {}; 00026 00027 00028 //Comparison operators for stl container functions 00029 bool operator<(const AlignmentStrip &right ) const; 00030 bool operator<=(const AlignmentStrip &right ) const; 00031 bool operator>(const AlignmentStrip &right ) const; 00032 bool operator>=(const AlignmentStrip &right ) const; 00033 bool operator==(const AlignmentStrip &right ) const; 00034 bool operator!=(const AlignmentStrip &right ) const; 00035 00036 00037 00038 public: 00039 00040 UInt_t plexseid; //Encoded PlexStripEndId 00041 Int_t plane; //Plane number 00042 Int_t strip; //Strip number 00043 UShort_t ndigit; //Number of digits 00044 Double_t charge; //Raw charge of CalDigitType::kNone 00045 Double_t charge_pc; //charge times cosine of track with Z axis 00046 Double_t tpos; //Transverse position 00047 Double_t tposrelmdl; //Transverse position relative to module 00048 Double_t lposrelmdl; //Longitudinal position relative to module 00049 Double_t zpos; //Z position 00050 Double_t pigtail; //Length of green fiber at the strip end 00051 Double_t wlsbypass; //Length of green fiber bypass around the coil 00052 Double_t begtime; //Earliest digit time 00053 Double_t endtime; //Latest digit time 00054 Double_t residual; //Residual from least squares method linear fit 00055 Double_t ghitpos; //Global uvz longitudinal position of a hit 00056 Double_t lhitpos; //Position of a hit in local strip's coordinates 00057 Double_t length; //Length of wls fiber = length of a strip 00058 bool goodhit; //True if longitudinal position of a hit is within strip's length 00059 }; 00060 00061 00062 #endif // ALIGNMENTSTRIP_H
1.3.9.1