Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NtpSRRecord.h

Go to the documentation of this file.
00001 
00002 //
00003 // NtpSRRecord
00004 //
00005 // NtpSRRecord is an ntuple record serving the SR reconstruction path.
00006 //
00007 // Based on Roy Lee's CandEventSR/TTreeSR class
00009  
00010 #ifndef NTPSRRECORD_H
00011 #define NTPSRRECORD_H
00012 
00013 #include <iosfwd>
00014 #ifndef RECRECORDIMP_H
00015 #include "Record/RecRecordImp.h" // base class
00016 #endif
00017 #ifndef RECCANDHEADER_H
00018 #include "Record/RecCandHeader.h" 
00019 #endif
00020 #include "CandNtupleSR/NtpSREventSummary.h"
00021 #include "CandNtupleSR/NtpSRDmxStatus.h"
00022 #include "CandNtupleSR/NtpSRDetStatus.h"
00023 #include "CandNtupleSR/NtpSRTimeStatus.h"
00024 #include "CandNtupleSR/NtpSRCosmicRay.h"
00025 #include "CandNtupleSR/NtpSRShieldSummary.h"
00026 #include "CandNtupleSR/NtpSRDataQuality.h"
00027 #include "CandNtupleSR/NtpSRCalStatus.h"
00028 
00029 class TClonesArray;
00030 
00031 class NtpSRRecord: public RecRecordImp<RecCandHeader> {
00032 
00033 public:
00034   NtpSRRecord();
00035   NtpSRRecord(const RecCandHeader& header);
00036   virtual ~NtpSRRecord(); 
00037 
00038   // State testing methods
00039   virtual std::ostream& Print(std::ostream& os) const;
00040   virtual void Print(Option_t* option = "") const;
00041 
00042   // State changing methods
00043   void Clear(Option_t* option = "");
00044   void ClearStrips(Option_t* option = "");
00045 
00046  private:
00047   // private methods
00048   void Init();
00049 
00050  public:
00051   // Ntuple is treated like a C-struct with public data members and
00052   // rule-breaking field data members not prefaced by "f" and all
00053   // lowercase, by popular demand.
00054 
00055   NtpSREventSummary  evthdr;    // event summary data
00056   NtpSRShieldSummary vetohdr;   // veto shield summary data
00057   NtpSRCosmicRay     crhdr;     // cr data, filled from last recons. trk vertex
00058   NtpSRDmxStatus     dmxstatus; // status of demux
00059   NtpSRDetStatus     detstatus; // status of detector
00060   NtpSRTimeStatus    timestatus; // status of timing systems
00061   NtpSRCalStatus     calstatus; // status of calibration
00062   NtpSRDataQuality   dataquality;  // quality of data
00063 
00064   TClonesArray* deadchips; //-> array of dead chips
00065   TClonesArray* vetostp; //-> array of shield strips of type NtpSRShieldStrip
00066   TClonesArray* vetoexp; //-> array of expected shield hits of type NtpSRShieldExpected 
00067   TClonesArray* stp;  //-> array of strips of type NtpSRStrip 
00068   TClonesArray* slc;  //-> array of slices of type NtpSRSlice
00069   TClonesArray* clu;  //-> array of slices of type NtpSRCluster
00070   TClonesArray* shw;  //-> array of showers of type NtpSRShower
00071   TClonesArray* trk;  //-> array of tracks of type NtpSRTrack
00072   TClonesArray* evt;  //-> array of events of type NtpSREvent
00073 
00074   ClassDef(NtpSRRecord,7)
00075 };
00076 
00077 #endif // NTPSRRECORD_H

Generated on Mon Feb 15 11:07:07 2010 for loon by  doxygen 1.3.9.1