52 runME11ILT_ = commonParam.existsAs<
bool>(
"runME11ILT")?commonParam.getParameter<
bool>(
"runME11ILT"):
false;
53 runME21ILT_ = commonParam.existsAs<
bool>(
"runME21ILT")?commonParam.getParameter<
bool>(
"runME21ILT"):
false;
61 produces<CSCALCTDigiCollection>();
62 produces<CSCCLCTDigiCollection>();
63 produces<CSCCLCTPreTriggerDigiCollection>();
64 produces<CSCCLCTPreTriggerCollection>();
65 produces<CSCCorrelatedLCTDigiCollection>();
66 produces<CSCCorrelatedLCTDigiCollection>(
"MPCSORTED");
68 produces<GEMCoPadDigiCollection>();
82 streamCache(iID)->setCSCGeometry(&*h);
88 streamCache(iID)->setGEMGeometry(&*h_gem);
90 edm::LogInfo(
"CSCTriggerPrimitivesProducer|NoGEMGeometry")
91 <<
"+++ Info: GEM geometry is unavailable. Running CSC-only trigger algorithm. +++\n";
104 if (conf.
product() ==
nullptr) {
106 <<
"+++ Failed to find a CSCDBL1TPParametersRcd in EventSetup! +++\n" 107 <<
"+++ Cannot continue emulation without these parameters +++\n";
110 streamCache(iID)->setConfigParameters(conf.
product());
124 gemPads = gemPadDigis.
product();
132 gemPadClusters = gemPadDigiClusters.
product();
147 <<
"+++ Warning: Collection of wire digis with label " 149 <<
" requested in configuration, but not found in the event..." 150 <<
" Skipping production of CSC TP digis +++\n";
154 <<
"+++ Warning: Collection of comparator digis with label " 156 <<
" requested in configuration, but not found in the event..." 157 <<
" Skipping production of CSC TP digis +++\n";
162 streamCache(iID)->build(temp,
164 gemPads, gemPadClusters,
166 *oc_clctpretrigger, *oc_pretrig,
167 *oc_lct, *oc_sorted_lct, *oc_gemcopad);
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::InputTag compDigiProducer_
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag wireDigiProducer_
def setup(process, global_tag, zero_tesla=False)
edm::ParameterSet config_
CSCTriggerPrimitivesProducer(const edm::ParameterSet &)
edm::EDGetTokenT< GEMPadDigiClusterCollection > gem_pad_cluster_token_
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::EDGetTokenT< CSCComparatorDigiCollection > comp_token_
edm::InputTag gemPadDigiProducer_
edm::EDGetTokenT< GEMPadDigiCollection > gem_pad_token_
edm::InputTag gemPadDigiClusterProducer_
T const * product() const
edm::EDGetTokenT< CSCWireDigiCollection > wire_token_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
~CSCTriggerPrimitivesProducer() override
T const * product() const
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...