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
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMin
std::vector< double > tdcMin
Definition: EcalTBTDCRecInfoAlgo.h:16
funct::false
false
Definition: Factorize.h:34
EcalTBTDCRecInfoAlgo::reconstruct
EcalTBTDCRecInfo reconstruct(const EcalTBTDCRawInfo &TDCRawInfo, const EcalTBEventHeader &eventHeader, bool use2004OffsetConvention) const
Definition: EcalTBTDCRecInfoAlgo.cc:10
EcalTBTDCRecInfoAlgo::tdcRangeErrorMessageAlreadyDisplayed_
bool tdcRangeErrorMessageAlreadyDisplayed_
Definition: EcalTBTDCRecInfoAlgo.h:30
Ecal2004TBTDCRanges_v1_cff.tdcRanges
tdcRanges
Definition: Ecal2004TBTDCRanges_v1_cff.py:3
EcalTBTDCRecInfoAlgo
Definition: EcalTBTDCRecInfoAlgo.h:10
EcalTBEventHeader
Definition: EcalTBEventHeader.h:14
EcalTBTDCRecInfoAlgo::~EcalTBTDCRecInfoAlgo
~EcalTBTDCRecInfoAlgo()
Definition: EcalTBTDCRecInfoAlgo.h:22
EcalTBTDCRecInfoAlgo::tdcRanges_
std::vector< EcalTBTDCRanges > tdcRanges_
Definition: EcalTBTDCRecInfoAlgo.h:29
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMax
std::vector< double > tdcMax
Definition: EcalTBTDCRecInfoAlgo.h:17
EcalTBTDCRawInfo.h
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges
Definition: EcalTBTDCRecInfoAlgo.h:14
EcalTBTDCRawInfo
Definition: EcalTBTDCRawInfo.h:13
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::runRanges
std::pair< int, int > runRanges
Definition: EcalTBTDCRecInfoAlgo.h:15
ecal2004TBWeightUncalibRecHit_cfi.use2004OffsetConvention
use2004OffsetConvention
Definition: ecal2004TBWeightUncalibRecHit_cfi.py:4
EcalTBTDCRecInfo.h
EcalTBEventHeader.h
EcalTBTDCRecInfo
Definition: EcalTBTDCRecInfo.h:12
EcalTBTDCRecInfoAlgo::EcalTBTDCRecInfoAlgo
EcalTBTDCRecInfoAlgo()
Definition: EcalTBTDCRecInfoAlgo.h:12
EcalTBTDCRecInfoAlgo::actualRun_
int actualRun_
Definition: EcalTBTDCRecInfoAlgo.h:31
EcalTBTDCRecInfoAlgo::actualRange_
int actualRange_
Definition: EcalTBTDCRecInfoAlgo.h:32