67 std::unique_ptr<CSCTriggerPrimitivesBuilder>
builder_;
144 gemToken_ = esConsumes<GEMGeometry, MuonGeometryRecord>();
147 cscToken_ = esConsumes<CSCGeometry, 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>();
179 builder_ = std::make_unique<CSCTriggerPrimitivesBuilder>(conf);
195 <<
"GEM geometry is unavailable. Running CSC-only trigger algorithm. +++\n";
202 if (conf.
product() ==
nullptr) {
204 <<
"Failed to find a CSCL1TPLookupTableCCLUTRcd in EventSetup with runCCLUT_ on";
213 if (conf.
product() ==
nullptr) {
215 <<
"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";
238 if (conf.
product() ==
nullptr) {
240 <<
"+++ Failed to find a CSCDBL1TPParametersRcd in EventSetup! +++\n" 241 <<
"+++ Cannot continue emulation without these parameters +++\n";
277 <<
" requested in configuration, but not found in the event..." 278 <<
" Skipping production of CSC TP digis +++\n";
283 <<
" requested in configuration, but not found in the event..." 284 <<
" Skipping production of CSC TP digis +++\n";
292 if (!gemPadDigiClusters.
isValid()) {
295 <<
" requested in configuration, but not found in the event..." 296 <<
" Running CSC-only trigger algorithm +++\n";
299 gemPadClusters = gemPadDigiClusters.
product();
T getParameter(std::string const &) const
edm::InputTag compDigiProducer_
edm::InputTag wireDigiProducer_
T const * product() const
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_
std::unique_ptr< CSCBadChambers const > dummyBadChambers_
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...