CMS 3D CMS Logo

EcalTBTDCRecInfoAlgo.h
Go to the documentation of this file.
1 #ifndef RecoTBCalo_EcalTBTDCReconstructor_EcalTBTDCRecInfoAlgo_HH
2 #define RecoTBCalo_EcalTBTDCReconstructor_EcalTBTDCRecInfoAlgo_HH
3 
7 
8 #include <vector>
9 
11 public:
13 
14  struct EcalTBTDCRanges {
15  std::pair<int, int> runRanges;
16  std::vector<double> tdcMin;
17  std::vector<double> tdcMax;
18  };
19 
20  explicit EcalTBTDCRecInfoAlgo(const std::vector<EcalTBTDCRanges>& tdcRanges);
21 
23 
25  const EcalTBEventHeader& eventHeader,
26  bool use2004OffsetConvention) const;
27 
28 private:
29  std::vector<EcalTBTDCRanges> tdcRanges_;
31  mutable int actualRun_;
32  mutable int actualRange_;
33 };
34 
35 #endif
std::vector< EcalTBTDCRanges > tdcRanges_
EcalTBTDCRecInfo reconstruct(const EcalTBTDCRawInfo &TDCRawInfo, const EcalTBEventHeader &eventHeader, bool use2004OffsetConvention) const