00001 00002 // NtpSRPulseHeight 00003 // 00004 // NtpSRPulseHeight is an ntuple class to hold pulse height data. 00005 // 00006 // Based on Roy Lee's CandEventSR/DigitPulseHeightSR class 00007 // 00009 00010 #ifndef NTPSRPULSEHEIGHT_H 00011 #define NTPSRPULSEHEIGHT_H 00012 00013 #include <iosfwd> // ostream fwd decl' 00014 #include "TObject.h" // base class 00015 00016 class NtpSRPulseHeight; 00017 std::ostream& operator << (std::ostream& os,const NtpSRPulseHeight& ntp); 00018 00019 class NtpSRPulseHeight : public TObject { 00020 00021 public: 00022 // Constructors & Destructors 00023 NtpSRPulseHeight():raw(0),siglin(0),sigcor(0),pe(0) {} // def cnst'r 00024 virtual ~NtpSRPulseHeight() {} 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 Float_t raw; // raw adc count (CalDigit/StripType::kNone) 00036 Float_t siglin; // corrected for nonlinearities (CalDigit/StripType::kSigLin) 00037 Float_t sigcor; // normalized strip response (CalDigit/StripType::kSigCorr) 00038 Float_t pe; // photoelectrons (CalDigit/StripType::kPE) 00039 00040 ClassDef(NtpSRPulseHeight,1) 00041 }; 00042 00043 #endif // NTPSRPULSEHEIGHT_H
1.3.9.1