00001 /*************************************************************************** 00002 NtpAlignmentRecord.h - description 00003 Persistable ntuple record to write results of DetectorAlignment package. 00004 (based on S. Kasahara's NtpMCRecord) 00005 00006 ***************************************************************************/ 00007 00008 #ifndef NTPALIGNMENTRECORD_H 00009 #define NTPALIGNMENTRECORD_H 00010 00011 #include <iosfwd> 00012 00013 //ROOT 00014 #include "TClonesArray.h" 00015 00016 #include "Record/RecRecordImp.h" // base class 00017 #include "Record/RecCandHeader.h" 00018 00019 00020 class NtpAlignmentRecord: public RecRecordImp<RecCandHeader> { 00021 00022 public: 00023 00024 NtpAlignmentRecord(); 00025 NtpAlignmentRecord(const RecCandHeader& hdr); 00026 virtual ~NtpAlignmentRecord(); 00027 00028 // State testing methods 00029 virtual std::ostream& Print(std::ostream& os) const; 00030 virtual void Print(const Option_t* option = "") const; 00031 virtual void Init(); 00032 void Clear(Option_t* option = ""); 00033 00034 public: 00035 // Ntuple is treated like a C-struct with public data members and 00036 // rule-breaking field data members not prefaced by "f" and all 00037 // lowercase, by popular demand. 00038 00039 UShort_t nstrip; // number of all strips in event 00040 UShort_t ntrackvstrip; // number of v strips in event 00041 UShort_t ntrackustrip; // number of u strips in event 00042 UShort_t ncandvstrip; // number of candidate strips in event, excluding tracks 00043 UShort_t ncandustrip; // number of candidate strips in event, excluding tracks 00044 Double_t vcharge; 00045 Double_t ucharge; 00046 Double_t vcandcharge; 00047 Double_t ucandcharge; 00048 Double_t vtrackrms; 00049 Double_t utrackrms; 00050 Double_t vfita; 00051 Double_t ufita; 00052 Double_t vfitb; 00053 Double_t ufitb; 00054 Double_t vsigmaofa; 00055 Double_t usigmaofa; 00056 Double_t vsigmaofb; 00057 Double_t usigmaofb; 00058 Double_t vsigmaoftpos; 00059 Double_t usigmaoftpos; 00060 Double_t vcovab; 00061 Double_t ucovab; 00062 Double_t hcosu; 00063 Double_t hcosv; 00064 Double_t hcosz; 00065 Double_t vdt; 00066 Double_t udt; 00067 Double_t dt; 00068 00069 TClonesArray* trackvstrip; //-> array of NtpAlignTrackStrip 00070 TClonesArray* trackustrip; //-> array of NtpAlignTrackStrip 00071 TClonesArray* candvstrip; //-> array of NtpAlignCandStrip 00072 TClonesArray* candustrip; //-> array of NtpAlignCandStrip 00073 00074 ClassDef(NtpAlignmentRecord,2) 00075 }; 00076 00077 #endif // NTPALIGNMENTRECORD_H
1.3.9.1