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

NtpSRDmxStatus.h

Go to the documentation of this file.
00001 
00002 // NtpSRDmxStatus
00003 //
00004 // NtpSRDmxStatus is an ntuple class to hold a dmx status data.
00005 //
00006 // Based on Roy Lee's CandEventSR/DmxStatusTree
00008 
00009 #ifndef NTPSRDMXSTATUS_H
00010 #define NTPSRDMXSTATUS_H
00011 
00012 #include "TObject.h"
00013 
00014 class NtpSRDmxStatus;
00015 std::ostream &operator << (std::ostream& os, const NtpSRDmxStatus& dmx);
00016 
00017 class NtpSRDmxStatus : public TObject {
00018 
00019  public:
00020   // Constructors & Destructors
00021   NtpSRDmxStatus(): ismultimuon(0),nonphysicalfail(0),validplanesfail(0),
00022         vertexplanefail(0),ustrayplanes(0),vstrayplanes(0),uvalidplanes(0),
00023         vvalidplanes(0),avgtimeoffset(0) {}
00024   virtual ~NtpSRDmxStatus() {}
00025 
00026   // State testing methods
00027   virtual std::ostream& Print(std::ostream& os) const;
00028   virtual void Print(Option_t* option = "") const; 
00029 
00030  public:
00031   // Ntuple is treated like a C-struct with public data members and
00032   // rule-breaking field data members not prefaced by "f" and all
00033   // lowercase, by popular demand.
00034 
00035   // B. Rebel comments: the non-physical failure marks events where 
00036   // some fraction of planes were demuxed to strips that didn't exist (ie the 
00037   // fit put them at transverse positions of >4.0m or <-4.0m).  the valid 
00038   // planes failure means that there were not enough valid planes in a view 
00039   // to demux that view (ie less than 2) and the vertex plane failure means 
00040   // that no vertex could be found for the demuxing to begin.
00041   UChar_t  ismultimuon;     // flag (0 or 1) for multiple muon event
00042   UChar_t  nonphysicalfail; // flag (0 or 1) for non-physical solution failure
00043   UChar_t  validplanesfail; // flag (0 or 1) for too few valid planes failure
00044   UChar_t  vertexplanefail; // flag (0 or 1) for no vertex failure
00045   UShort_t ustrayplanes;    // number of planes off dmx best fit (u-view)
00046   UShort_t vstrayplanes;    // number of planes off dmx best fit (v-view)
00047   UShort_t uvalidplanes;    // number of valid planes used in dmx (u-view)
00048   UShort_t vvalidplanes;    // number of valid planes used in dmx (v-view)
00049   Float_t  avgtimeoffset;   // measure of dmx validity from timing (sec)
00050 
00051   ClassDef(NtpSRDmxStatus,1)
00052 };
00053 
00054 
00055 #endif // NTPSRDMXSTATUS_H

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