Main Page
Namespaces
Classes
Package Documentation
RecoLocalCalo
HcalRecAlgos
interface
HFFlexibleTimeCheck.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HcalRecAlgos_HFFlexibleTimeCheck_h_
2
#define RecoLocalCalo_HcalRecAlgos_HFFlexibleTimeCheck_h_
3
4
#include "
RecoLocalCalo/HcalRecAlgos/interface/HFSimpleTimeCheck.h
"
5
#include "
CondFormats/HcalObjects/interface/HFPhase1PMTParams.h
"
6
7
class
HFFlexibleTimeCheck
:
public
HFSimpleTimeCheck
8
{
9
public
:
10
using
HFSimpleTimeCheck::HFSimpleTimeCheck
;
11
12
inline
virtual
~HFFlexibleTimeCheck
() {}
13
14
// Unlike HFSimpleTimeCheck, this algorithm is configurable
15
inline
virtual
bool
isConfigurable
()
const override
{
return
true
;}
16
inline
virtual
bool
configure
(
const
AbsHcalAlgoData
*
config
)
override
17
{
18
algoConf_
=
dynamic_cast<
const
HFPhase1PMTParams
*
>
(
config
);
19
return
algoConf_
;
20
}
21
22
virtual
HFRecHit
reconstruct
(
const
HFPreRecHit
& prehit,
23
const
HcalCalibrations
& calibs,
24
const
bool
flaggedBadInDB[2],
25
bool
expectSingleAnodePMT)
override
;
26
protected
:
27
virtual
unsigned
determineAnodeStatus
(
unsigned
anodeNumber,
28
const
HFQIE10Info
& anode,
29
bool
* isTimingReliable)
const override
;
30
private
:
31
// Algorihm configuration data. We do not manage these pointers.
32
const
HFPhase1PMTParams
*
algoConf_
=
nullptr
;
33
const
HFPhase1PMTData
*
pmtInfo_
=
nullptr
;
34
};
35
36
#endif // RecoLocalCalo_HcalRecAlgos_HFFlexibleTimeCheck_h_
HFPhase1PMTParams.h
HFFlexibleTimeCheck::determineAnodeStatus
virtual unsigned determineAnodeStatus(unsigned anodeNumber, const HFQIE10Info &anode, bool *isTimingReliable) const override
Definition:
HFFlexibleTimeCheck.cc:10
HFFlexibleTimeCheck
Definition:
HFFlexibleTimeCheck.h:7
HFFlexibleTimeCheck::algoConf_
const HFPhase1PMTParams * algoConf_
Definition:
HFFlexibleTimeCheck.h:32
HcalCalibrations
Definition:
HcalCalibrations.h:9
HFFlexibleTimeCheck::isConfigurable
virtual bool isConfigurable() const override
Definition:
HFFlexibleTimeCheck.h:15
config
Definition:
config.py:1
mps_alisetup.config
config
Definition:
mps_alisetup.py:316
HFPhase1PMTData
Definition:
HFPhase1PMTData.h:11
HFPreRecHit
Definition:
HFPreRecHit.h:14
HFFlexibleTimeCheck::reconstruct
virtual HFRecHit reconstruct(const HFPreRecHit &prehit, const HcalCalibrations &calibs, const bool flaggedBadInDB[2], bool expectSingleAnodePMT) override
Definition:
HFFlexibleTimeCheck.cc:47
HFFlexibleTimeCheck::~HFFlexibleTimeCheck
virtual ~HFFlexibleTimeCheck()
Definition:
HFFlexibleTimeCheck.h:12
HFSimpleTimeCheck::HFSimpleTimeCheck
HFSimpleTimeCheck(const std::pair< float, float > tlimits[2], const float energyWeights[2 *HFAnodeStatus::N_POSSIBLE_STATES-1][2], unsigned soiPhase, float timeShift, float triseIfNoTDC, float tfallIfNoTDC, bool rejectAllFailures=true)
Definition:
HFSimpleTimeCheck.cc:39
HFSimpleTimeCheck.h
HcalItemCollById
Definition:
HcalItemCollById.h:27
HFFlexibleTimeCheck::configure
virtual bool configure(const AbsHcalAlgoData *config) override
Definition:
HFFlexibleTimeCheck.h:16
HFQIE10Info
Definition:
HFQIE10Info.h:15
HFFlexibleTimeCheck::pmtInfo_
const HFPhase1PMTData * pmtInfo_
Definition:
HFFlexibleTimeCheck.h:33
HFRecHit
Definition:
HFRecHit.h:12
HFSimpleTimeCheck
Definition:
HFSimpleTimeCheck.h:9
AbsHcalAlgoData
Definition:
AbsHcalAlgoData.h:10
Generated for CMSSW Reference Manual by
1.8.11