1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesProducer_h 2 #define L1Trigger_CSCTriggerPrimitives_CSCTriggerPrimitivesProducer_h 71 std::unique_ptr<CSCTriggerPrimitivesBuilder>
builder_;
146 cscToken_ = esConsumes<CSCGeometry, MuonGeometryRecord>();
147 gemToken_ = esConsumes<GEMGeometry, MuonGeometryRecord>();
156 confToken_ = esConsumes<CSCDBL1TPParameters, CSCDBL1TPParametersRcd>();
159 produces<CSCALCTDigiCollection>();
160 produces<CSCCLCTDigiCollection>();
161 produces<CSCCLCTPreTriggerCollection>();
163 produces<CSCCLCTPreTriggerDigiCollection>();
166 produces<CSCALCTPreTriggerDigiCollection>();
168 produces<CSCCorrelatedLCTDigiCollection>();
169 produces<CSCCorrelatedLCTDigiCollection>(
"MPCSORTED");
171 produces<CSCShowerDigiCollection>();
172 produces<CSCShowerDigiCollection>(
"Anode");
173 produces<CSCShowerDigiCollection>(
"Cathode");
176 produces<GEMCoPadDigiCollection>();
195 <<
"GEM geometry is unavailable. Running CSC-only trigger algorithm. +++\n";
204 if (conf.
product() ==
nullptr) {
206 <<
"Failed to find a CSCL1TPLookupTableCCLUTRcd in EventSetup with runCCLUT_ on";
214 if (conf.
product() ==
nullptr) {
216 <<
"Failed to find a CSCL1TPLookupTableME11ILTRcd in EventSetup with runME11ILT_ on";
224 if (conf.
product() ==
nullptr) {
226 <<
"Failed to find a CSCL1TPLookupTableME21ILTRcd in EventSetup with runME21ILT_ on";
237 if (conf.
product() ==
nullptr) {
239 <<
"+++ Failed to find a CSCDBL1TPParametersRcd in EventSetup! +++\n" 240 <<
"+++ Cannot continue emulation without these parameters +++\n";
273 <<
" requested in configuration, but not found in the event..." 274 <<
" Skipping production of CSC TP digis +++\n";
279 <<
" requested in configuration, but not found in the event..." 280 <<
" Skipping production of CSC TP digis +++\n";
288 if (!gemPadDigiClusters.
isValid()) {
291 <<
" requested in configuration, but not found in the event..." 292 <<
" Running CSC-only trigger algorithm +++\n";
295 gemPadClusters = gemPadDigiClusters.
product();
T getParameter(std::string const &) const
edm::InputTag compDigiProducer_
edm::InputTag wireDigiProducer_
T const * product() const
edm::ParameterSet config_
CSCTriggerPrimitivesProducer(const edm::ParameterSet &)
Log< level::Error, false > LogError
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscToken_
bool keepCLCTPreTriggers_
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< GEMPadDigiClusterCollection > gem_pad_cluster_token_
T const * product() const
edm::ESGetToken< CSCL1TPLookupTableME21ILT, CSCL1TPLookupTableME21ILTRcd > pLookupTableME21ILTToken_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
edm::ESGetToken< CSCDBL1TPParameters, CSCDBL1TPParametersRcd > confToken_
#define DEFINE_FWK_MODULE(type)
bool keepALCTPreTriggers_
edm::EDGetTokenT< CSCComparatorDigiCollection > comp_token_
edm::InputTag gemPadDigiClusterProducer_
edm::ESGetToken< CSCL1TPLookupTableME11ILT, CSCL1TPLookupTableME11ILTRcd > pLookupTableME11ILTToken_
std::unique_ptr< CSCTriggerPrimitivesBuilder > builder_
edm::EDGetTokenT< CSCWireDigiCollection > wire_token_
edm::ESGetToken< CSCL1TPLookupTableCCLUT, CSCL1TPLookupTableCCLUTRcd > pLookupTableCCLUTToken_
Log< level::Warning, false > LogWarning
~CSCTriggerPrimitivesProducer() override
edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > pBadChambersToken_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > gemToken_
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...