Main Page
Namespaces
Classes
Package Documentation
src
RecoTBCalo
EcalTBTDCReconstructor
interface
EcalTBTDCRecInfoAlgo.h
Go to the documentation of this file.
1
#ifndef RecoTBCalo_EcalTBTDCReconstructor_EcalTBTDCRecInfoAlgo_HH
2
#define RecoTBCalo_EcalTBTDCReconstructor_EcalTBTDCRecInfoAlgo_HH
3
4
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h
"
5
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBTDCRawInfo.h
"
6
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBTDCRecInfo.h
"
7
8
#include <vector>
9
10
11
class
EcalTBTDCRecInfoAlgo
{
12
13
14
public
:
15
16
17
EcalTBTDCRecInfoAlgo
() :
tdcRangeErrorMessageAlreadyDisplayed_
(
false
) {};
18
19
struct
EcalTBTDCRanges
20
{
21
std::pair<int,int>
runRanges
;
22
std::vector<double>
tdcMin
;
23
std::vector<double>
tdcMax
;
24
};
25
26
explicit
EcalTBTDCRecInfoAlgo
(
const
std::vector<EcalTBTDCRanges>&
tdcRanges
);
27
28
~EcalTBTDCRecInfoAlgo
()
29
{
30
};
31
32
EcalTBTDCRecInfo
reconstruct
(
const
EcalTBTDCRawInfo
& TDCRawInfo,
const
EcalTBEventHeader
& eventHeader,
bool
use2004OffsetConvention
)
const
;
33
34
private
:
35
36
std::vector<EcalTBTDCRanges>
tdcRanges_
;
37
mutable
bool
tdcRangeErrorMessageAlreadyDisplayed_
;
38
mutable
int
actualRun_
;
39
mutable
int
actualRange_
;
40
};
41
42
#endif
EcalTBTDCRawInfo.h
EcalTBTDCRecInfoAlgo
Definition:
EcalTBTDCRecInfoAlgo.h:11
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges
Definition:
EcalTBTDCRecInfoAlgo.h:19
funct::false
false
Definition:
Factorize.h:35
ecal2004TBWeightUncalibRecHit_cfi.use2004OffsetConvention
use2004OffsetConvention
Definition:
ecal2004TBWeightUncalibRecHit_cfi.py:4
EcalTBTDCRecInfoAlgo::tdcRangeErrorMessageAlreadyDisplayed_
bool tdcRangeErrorMessageAlreadyDisplayed_
Definition:
EcalTBTDCRecInfoAlgo.h:37
EcalTBTDCRecInfo.h
EcalTBTDCRecInfoAlgo::reconstruct
EcalTBTDCRecInfo reconstruct(const EcalTBTDCRawInfo &TDCRawInfo, const EcalTBEventHeader &eventHeader, bool use2004OffsetConvention) const
Definition:
EcalTBTDCRecInfoAlgo.cc:13
EcalTBTDCRecInfoAlgo::tdcRanges_
std::vector< EcalTBTDCRanges > tdcRanges_
Definition:
EcalTBTDCRecInfoAlgo.h:36
EcalTBTDCRecInfo
Definition:
EcalTBTDCRecInfo.h:13
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMax
std::vector< double > tdcMax
Definition:
EcalTBTDCRecInfoAlgo.h:23
EcalTBTDCRawInfo
Definition:
EcalTBTDCRawInfo.h:13
Ecal2004TBTDCRanges_v1_cff.tdcRanges
tdcRanges
Definition:
Ecal2004TBTDCRanges_v1_cff.py:3
EcalTBTDCRecInfoAlgo::~EcalTBTDCRecInfoAlgo
~EcalTBTDCRecInfoAlgo()
Definition:
EcalTBTDCRecInfoAlgo.h:28
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMin
std::vector< double > tdcMin
Definition:
EcalTBTDCRecInfoAlgo.h:22
EcalTBEventHeader
Definition:
EcalTBEventHeader.h:15
EcalTBEventHeader.h
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::runRanges
std::pair< int, int > runRanges
Definition:
EcalTBTDCRecInfoAlgo.h:21
EcalTBTDCRecInfoAlgo::actualRange_
int actualRange_
Definition:
EcalTBTDCRecInfoAlgo.h:39
EcalTBTDCRecInfoAlgo::actualRun_
int actualRun_
Definition:
EcalTBTDCRecInfoAlgo.h:38
EcalTBTDCRecInfoAlgo::EcalTBTDCRecInfoAlgo
EcalTBTDCRecInfoAlgo()
Definition:
EcalTBTDCRecInfoAlgo.h:17
Generated for CMSSW Reference Manual by
1.8.11