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