00001 00002 // NtpSRBleach 00003 // 00004 // NtpSRBleach is an ntuple class to hold cuts used to clean the 00005 // low pulse height events from the near detector data. 00006 // 00008 00009 #ifndef NTPSRBLEACH_H 00010 #define NTPSRBLEACH_H 00011 00012 #include "TObject.h" // base class 00013 #include "CandNtupleSR/NtpSRBleach.h" 00014 00015 class NtpSRBleach; 00016 std::ostream &operator << (std::ostream& os, const NtpSRBleach& bl); 00017 00018 class NtpSRBleach : public TObject { 00019 00020 public: 00021 // Constructors & Destructors 00022 NtpSRBleach(): lateBucketPHFraction(0),timeWeightedPHFraction(0), 00023 straightPHFraction(0),fixedWindowPH(0), 00024 eventDuration(0) {} 00025 virtual ~NtpSRBleach() {} 00026 00027 // State testing methods 00028 virtual std::ostream& Print(std::ostream& os) const; 00029 virtual void Print(Option_t* option = "") const; 00030 00031 public: 00032 // Ntuple is treated like a C-struct with public data members and 00033 // rule-breaking field data members not prefaced by "f" and all 00034 // lowercase, by popular demand. 00035 00036 // fraction of event pulseheight deposited after first 3 time buckets 00037 Float_t lateBucketPHFraction; 00038 // ratio of activity in earlier time weighted by exponential to total 00039 Float_t timeWeightedPHFraction; 00040 Float_t straightPHFraction; // ratio of activity in earlier time to total 00041 // predicted afterpulsing ph in a fixed window around the vtx 00042 Float_t fixedWindowPH; 00043 Float_t eventDuration; // length of event in nsec 00044 00045 ClassDef(NtpSRBleach,2) 00046 }; 00047 00048 #endif // NTPSRBLEACH_H
1.3.9.1