00001 00002 // NtpSRShowerPulseHeight 00003 // 00004 // NtpSRShowerPulseHeight is an ntuple class to hold strip ph data. 00005 // 00006 // Based on Roy Lee's CandEventSR/DigitStripPulseHeightSR class 00007 // 00009 00010 #ifndef NTPSRSHOWERPULSEHEIGHT_H 00011 #define NTPSRSHOWERPULSEHEIGHT_H 00012 00013 #include <iosfwd> // ostream fwd decl' 00014 #include "CandNtupleSR/NtpSRPulseHeight.h" // base class 00015 #include "CandNtupleSR/NtpSRStripPulseHeight.h" // base class 00016 00017 class NtpSRShowerPulseHeight : public TObject { 00018 00019 public: 00020 // Constructors & Destructors 00021 NtpSRShowerPulseHeight():linCCgev(0),wtCCgev(0),linNCgev(0),wtNCgev(0),EMgev(0) {} // def const'r 00022 virtual ~NtpSRShowerPulseHeight() {} 00023 00024 // State testing methods 00025 virtual std::ostream& Print(std::ostream& os) const; 00026 virtual void Print(Option_t* option = "") const; 00027 00028 public: 00029 // Ntuple is treated like a C-struct with public data members and 00030 // rule-breaking field data members not prefaced by "f" and all 00031 // lowercase, by popular demand. 00032 00033 Float_t linCCgev; 00034 Float_t wtCCgev; 00035 Float_t linNCgev; 00036 Float_t wtNCgev; 00037 Float_t EMgev; 00038 00039 ClassDef(NtpSRShowerPulseHeight,2) 00040 }; 00041 00042 #endif // NTPSRSHOWERPULSEHEIGHT_H