Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
class
EcalTBTDCRecInfoAlgo
{
11
public
:
12
EcalTBTDCRecInfoAlgo
() :
tdcRangeErrorMessageAlreadyDisplayed_
(
false
){};
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
22
~EcalTBTDCRecInfoAlgo
(){};
23
24
EcalTBTDCRecInfo
reconstruct
(
const
EcalTBTDCRawInfo
& TDCRawInfo,
25
const
EcalTBEventHeader
& eventHeader,
26
bool
use2004OffsetConvention)
const
;
27
28
private
:
29
std::vector<EcalTBTDCRanges>
tdcRanges_
;
30
mutable
bool
tdcRangeErrorMessageAlreadyDisplayed_
;
31
mutable
int
actualRun_
;
32
mutable
int
actualRange_
;
33
};
34
35
#endif
EcalTBTDCRawInfo.h
EcalTBTDCRecInfoAlgo
Definition:
EcalTBTDCRecInfoAlgo.h:10
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges
Definition:
EcalTBTDCRecInfoAlgo.h:14
funct::false
false
Definition:
Factorize.h:29
EcalTBTDCRecInfoAlgo::tdcRangeErrorMessageAlreadyDisplayed_
bool tdcRangeErrorMessageAlreadyDisplayed_
Definition:
EcalTBTDCRecInfoAlgo.h:30
EcalTBTDCRecInfo.h
EcalTBTDCRecInfoAlgo::reconstruct
EcalTBTDCRecInfo reconstruct(const EcalTBTDCRawInfo &TDCRawInfo, const EcalTBEventHeader &eventHeader, bool use2004OffsetConvention) const
Definition:
EcalTBTDCRecInfoAlgo.cc:10
EcalTBTDCRecInfoAlgo::tdcRanges_
std::vector< EcalTBTDCRanges > tdcRanges_
Definition:
EcalTBTDCRecInfoAlgo.h:29
EcalTBTDCRecInfo
Definition:
EcalTBTDCRecInfo.h:12
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMax
std::vector< double > tdcMax
Definition:
EcalTBTDCRecInfoAlgo.h:17
EcalTBTDCRawInfo
Definition:
EcalTBTDCRawInfo.h:13
EcalTBTDCRecInfoAlgo::~EcalTBTDCRecInfoAlgo
~EcalTBTDCRecInfoAlgo()
Definition:
EcalTBTDCRecInfoAlgo.h:22
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::tdcMin
std::vector< double > tdcMin
Definition:
EcalTBTDCRecInfoAlgo.h:16
EcalTBTDCRecInfoAlgo::EcalTBTDCRanges::runRanges
std::pair< int, int > runRanges
Definition:
EcalTBTDCRecInfoAlgo.h:15
EcalTBEventHeader
Definition:
EcalTBEventHeader.h:14
EcalTBEventHeader.h
EcalTBTDCRecInfoAlgo::actualRange_
int actualRange_
Definition:
EcalTBTDCRecInfoAlgo.h:32
Ecal2004TBTDCRanges_v1_cff.tdcRanges
tuple tdcRanges
Definition:
Ecal2004TBTDCRanges_v1_cff.py:3
EcalTBTDCRecInfoAlgo::actualRun_
int actualRun_
Definition:
EcalTBTDCRecInfoAlgo.h:31
EcalTBTDCRecInfoAlgo::EcalTBTDCRecInfoAlgo
EcalTBTDCRecInfoAlgo()
Definition:
EcalTBTDCRecInfoAlgo.h:12
Generated for CMSSW Reference Manual by
1.8.5