RecoParticleFlow
PFClusterProducer
interface
PFRecHitQTestBase.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_PFClusterProducer_PFRecHitQTestBase_h
2
#define RecoParticleFlow_PFClusterProducer_PFRecHitQTestBase_h
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
10
#include "
DataFormats/ParticleFlowReco/interface/PFLayer.h
"
11
#include "
DataFormats/Math/interface/Vector3D.h
"
12
#include "
DataFormats/DetId/interface/DetId.h
"
13
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
14
#include "
FWCore/Framework/interface/ESHandle.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
DataFormats/ParticleFlowReco/interface/PFRecHit.h
"
17
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFwd.h
"
18
19
#include "
DataFormats/EcalRecHit/interface/EcalRecHit.h
"
20
#include "
DataFormats/HcalRecHit/interface/HFRecHit.h
"
21
#include "
DataFormats/HcalRecHit/interface/HORecHit.h
"
22
#include "
DataFormats/HcalRecHit/interface/HBHERecHit.h
"
23
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
24
#include "
DataFormats/HGCRecHit/interface/HGCRecHit.h
"
25
#include "
CondFormats/HcalObjects/interface/HcalChannelQuality.h
"
26
#include "
CondFormats/DataRecord/interface/HcalChannelQualityRcd.h
"
27
#include "
DataFormats/METReco/interface/HcalCaloFlagLabels.h
"
28
#include "
RecoLocalCalo/HcalRecAlgos/interface/HcalSeverityLevelComputer.h
"
29
#include "
RecoLocalCalo/HcalRecAlgos/interface/HcalSeverityLevelComputerRcd.h
"
30
31
class
PFRecHitQTestBase
{
32
public
:
33
PFRecHitQTestBase
() =
default
;
34
PFRecHitQTestBase
(
const
edm::ParameterSet
& iConfig,
edm::ConsumesCollector
& cc) {}
35
virtual
~PFRecHitQTestBase
() =
default
;
36
37
virtual
void
beginEvent
(
const
edm::Event
&,
const
edm::EventSetup
&) = 0;
38
39
virtual
bool
test
(
reco::PFRecHit
&,
const
EcalRecHit
&,
bool
&,
bool
) = 0;
40
virtual
bool
test
(
reco::PFRecHit
&,
const
HBHERecHit
&,
bool
&) = 0;
41
virtual
bool
test
(
reco::PFRecHit
&,
const
HFRecHit
&,
bool
&) = 0;
42
virtual
bool
test
(
reco::PFRecHit
&,
const
HORecHit
&,
bool
&) = 0;
43
virtual
bool
test
(
reco::PFRecHit
&,
const
CaloTower
&,
bool
&) = 0;
44
virtual
bool
test
(
reco::PFRecHit
&,
const
HGCRecHit
&,
bool
&) = 0;
45
};
46
47
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
48
typedef
edmplugin::PluginFactory<PFRecHitQTestBase*(const edm::ParameterSet&, edm::ConsumesCollector&)>
49
PFRecHitQTestFactory
;
50
#endif
EcalRecHit.h
HORecHit.h
HcalCaloFlagLabels.h
CaloTowerCollection.h
PFRecHit.h
PFRecHitFwd.h
MessageLogger.h
PFRecHitQTestBase
Definition:
PFRecHitQTestBase.h:31
Event.h
EcalRecHit
Definition:
EcalRecHit.h:15
EventSetup.h
HBHERecHit.h
Frameworkfwd.h
ParameterSet.h
HBHERecHit
Definition:
HBHERecHit.h:13
HcalSeverityLevelComputerRcd.h
reco::PFRecHit
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition:
PFRecHit.h:31
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
HGCRecHit
Definition:
HGCRecHit.h:14
PFRecHitQTestBase::~PFRecHitQTestBase
virtual ~PFRecHitQTestBase()=default
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
HFRecHit.h
CaloTower
Definition:
CaloTower.h:26
HcalChannelQualityRcd.h
PFRecHitQTestBase::test
virtual bool test(reco::PFRecHit &, const EcalRecHit &, bool &, bool)=0
PFRecHitQTestBase::PFRecHitQTestBase
PFRecHitQTestBase()=default
HcalChannelQuality.h
PFRecHitQTestBase::PFRecHitQTestBase
PFRecHitQTestBase(const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
Definition:
PFRecHitQTestBase.h:34
PFLayer.h
HORecHit
Definition:
HORecHit.h:11
PluginFactory.h
HGCRecHit.h
Vector3D.h
PFRecHitQTestBase::beginEvent
virtual void beginEvent(const edm::Event &, const edm::EventSetup &)=0
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalSeverityLevelComputer.h
edm::Event
Definition:
Event.h:73
HFRecHit
Definition:
HFRecHit.h:11
PFRecHitQTestFactory
edmplugin::PluginFactory< PFRecHitQTestBase *(const edm::ParameterSet &, edm::ConsumesCollector &)> PFRecHitQTestFactory
Definition:
PFRecHitQTestBase.h:49
ConsumesCollector.h
DetId.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14