L1Trigger
CSCTriggerPrimitives
plugins
CSCTriggerPrimitivesProducer.h
Go to the documentation of this file.
1
#ifndef L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesProducer_h
2
#define L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesProducer_h
3
31
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
32
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
33
#include "
FWCore/Framework/interface/one/EDProducer.h
"
34
#include "
FWCore/Framework/interface/Event.h
"
35
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
36
#include "
FWCore/Utilities/interface/InputTag.h
"
37
38
#include "
DataFormats/CSCDigi/interface/CSCComparatorDigiCollection.h
"
39
#include "
DataFormats/CSCDigi/interface/CSCWireDigiCollection.h
"
40
#include "
DataFormats/GEMDigi/interface/GEMPadDigiCollection.h
"
41
#include "
DataFormats/GEMDigi/interface/GEMPadDigiClusterCollection.h
"
42
#include "
L1Trigger/CSCTriggerPrimitives/interface/CSCTriggerPrimitivesBuilder.h
"
43
44
// temporarily switch to a "one" module with a CSCTriggerPrimitivesBuilder data member
45
class
CSCTriggerPrimitivesProducer
:
public
edm::one::EDProducer
<> {
46
public
:
47
explicit
CSCTriggerPrimitivesProducer
(
const
edm::ParameterSet
&);
48
~CSCTriggerPrimitivesProducer
()
override
;
49
50
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
51
52
private
:
53
// master configuration
54
edm::ParameterSet
config_
;
55
56
// temporarily switch to a "one" module with a CSCTriggerPrimitivesBuilder data member
57
std::unique_ptr<CSCTriggerPrimitivesBuilder>
builder_
;
58
59
// input tags for input collections
60
edm::InputTag
compDigiProducer_
;
61
edm::InputTag
wireDigiProducer_
;
62
edm::InputTag
gemPadDigiProducer_
;
63
edm::InputTag
gemPadDigiClusterProducer_
;
64
65
// tokens
66
edm::EDGetTokenT<CSCComparatorDigiCollection>
comp_token_
;
67
edm::EDGetTokenT<CSCWireDigiCollection>
wire_token_
;
68
edm::EDGetTokenT<GEMPadDigiCollection>
gem_pad_token_
;
69
edm::EDGetTokenT<GEMPadDigiClusterCollection>
gem_pad_cluster_token_
;
70
71
// switch to force the use of parameters from config file rather then from DB
72
bool
debugParameters_
;
73
74
// switch to for enabling checking against the list of bad chambers
75
bool
checkBadChambers_
;
76
77
// write out all CLCTs
78
bool
writeOutAllCLCTs_
;
79
80
// write out all ALCTs
81
bool
writeOutAllALCTs_
;
82
83
// Write out pre-triggers
84
bool
savePreTriggers_
;
85
86
// switch to enable the integrated local triggers in ME11 and ME21
87
bool
runME11ILT_
;
88
bool
runME21ILT_
;
89
};
90
91
#endif
CSCTriggerPrimitivesProducer::builder_
std::unique_ptr< CSCTriggerPrimitivesBuilder > builder_
Definition:
CSCTriggerPrimitivesProducer.h:57
EDProducer.h
CSCTriggerPrimitivesProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CSCTriggerPrimitivesProducer.cc:91
edm::EDGetTokenT< CSCComparatorDigiCollection >
CSCTriggerPrimitivesProducer::~CSCTriggerPrimitivesProducer
~CSCTriggerPrimitivesProducer() override
Definition:
CSCTriggerPrimitivesProducer.cc:89
CSCTriggerPrimitivesProducer::comp_token_
edm::EDGetTokenT< CSCComparatorDigiCollection > comp_token_
Definition:
CSCTriggerPrimitivesProducer.h:66
edm::one::EDProducer
Definition:
EDProducer.h:30
CSCTriggerPrimitivesProducer
Definition:
CSCTriggerPrimitivesProducer.h:45
CSCTriggerPrimitivesProducer::writeOutAllCLCTs_
bool writeOutAllCLCTs_
Definition:
CSCTriggerPrimitivesProducer.h:78
GEMPadDigiClusterCollection.h
CSCTriggerPrimitivesProducer::debugParameters_
bool debugParameters_
Definition:
CSCTriggerPrimitivesProducer.h:72
CSCTriggerPrimitivesProducer::runME21ILT_
bool runME21ILT_
Definition:
CSCTriggerPrimitivesProducer.h:88
CSCTriggerPrimitivesProducer::gemPadDigiProducer_
edm::InputTag gemPadDigiProducer_
Definition:
CSCTriggerPrimitivesProducer.h:62
CSCTriggerPrimitivesProducer::gem_pad_token_
edm::EDGetTokenT< GEMPadDigiCollection > gem_pad_token_
Definition:
CSCTriggerPrimitivesProducer.h:68
CSCTriggerPrimitivesProducer::wire_token_
edm::EDGetTokenT< CSCWireDigiCollection > wire_token_
Definition:
CSCTriggerPrimitivesProducer.h:67
CSCTriggerPrimitivesProducer::writeOutAllALCTs_
bool writeOutAllALCTs_
Definition:
CSCTriggerPrimitivesProducer.h:81
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CSCTriggerPrimitivesProducer::checkBadChambers_
bool checkBadChambers_
Definition:
CSCTriggerPrimitivesProducer.h:75
edm::EventSetup
Definition:
EventSetup.h:57
CSCTriggerPrimitivesProducer::gem_pad_cluster_token_
edm::EDGetTokenT< GEMPadDigiClusterCollection > gem_pad_cluster_token_
Definition:
CSCTriggerPrimitivesProducer.h:69
CSCTriggerPrimitivesBuilder.h
InputTag.h
CSCTriggerPrimitivesProducer::runME11ILT_
bool runME11ILT_
Definition:
CSCTriggerPrimitivesProducer.h:87
Frameworkfwd.h
GEMPadDigiCollection.h
CSCTriggerPrimitivesProducer::compDigiProducer_
edm::InputTag compDigiProducer_
Definition:
CSCTriggerPrimitivesProducer.h:60
CSCComparatorDigiCollection.h
CSCWireDigiCollection.h
ConsumesCollector.h
CSCTriggerPrimitivesProducer::savePreTriggers_
bool savePreTriggers_
Definition:
CSCTriggerPrimitivesProducer.h:84
ParameterSet.h
CSCTriggerPrimitivesProducer::config_
edm::ParameterSet config_
Definition:
CSCTriggerPrimitivesProducer.h:54
CSCTriggerPrimitivesProducer::wireDigiProducer_
edm::InputTag wireDigiProducer_
Definition:
CSCTriggerPrimitivesProducer.h:61
edm::Event
Definition:
Event.h:73
CSCTriggerPrimitivesProducer::gemPadDigiClusterProducer_
edm::InputTag gemPadDigiClusterProducer_
Definition:
CSCTriggerPrimitivesProducer.h:63
edm::InputTag
Definition:
InputTag.h:15
CSCTriggerPrimitivesProducer::CSCTriggerPrimitivesProducer
CSCTriggerPrimitivesProducer(const edm::ParameterSet &)
Definition:
CSCTriggerPrimitivesProducer.cc:37
Generated for CMSSW Reference Manual by
1.8.16