61 produces<CSCALCTDigiCollection>();
62 produces<CSCCLCTDigiCollection>();
63 produces<CSCCLCTPreTriggerCollection>();
64 produces<CSCCorrelatedLCTDigiCollection>();
65 produces<CSCCorrelatedLCTDigiCollection>(
"MPCSORTED");
66 produces<GEMCoPadDigiCollection>();
67 produces<GEMCSCLCTDigiCollection>();
68 usesResource(
"CSCTriggerGeometry");
77 <<
"deleting trigger primitives after " <<
iev <<
" events.";
86 LogDebug(
"L1CSCTrigger") <<
"start producing LCTs for event " << ++
iev;
102 <<
"+++ Info: GEM geometry is unavailable. Running CSC-only trigger algorithm. +++\n";
111 <<
"+++ Info: RPC geometry is unavailable. Running CSC-only trigger algorithm. +++\n";
127 <<
"+++ Failed to find a CSCDBL1TPParametersRcd in EventSetup! +++\n"
128 <<
"+++ Cannot continue emulation without these parameters +++\n";
147 gemPads = gemPadDigis.
product();
169 <<
"+++ Warning: Collection of wire digis with label "
171 <<
" requested in configuration, but not found in the event..."
172 <<
" Skipping production of CSC TP digis +++\n";
176 <<
"+++ Warning: Collection of comparator digis with label "
178 <<
" requested in configuration, but not found in the event..."
179 <<
" Skipping production of CSC TP digis +++\n";
186 *oc_alct, *oc_clct, *oc_pretrig, *oc_lct, *oc_sorted_lct, *oc_gemcopad, *oc_gemcsclct);
196 ev.
put(oc_sorted_lct,
"MPCSORTED");
198 ev.
put(oc_gemcsclct);
T getParameter(std::string const &) const
~CSCTriggerPrimitivesProducer()
virtual void produce(edm::Event &, const edm::EventSetup &)
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::InputTag compDigiProducer_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag wireDigiProducer_
CSCTriggerPrimitivesProducer(const edm::ParameterSet &)
static void setGeometry(const edm::ESHandle< CSCGeometry > &thegeom)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
edm::EDGetTokenT< CSCComparatorDigiCollection > comp_token_
edm::EDGetTokenT< RPCDigiCollection > rpc_digi_token_
edm::InputTag gemPadDigiProducer_
edm::EDGetTokenT< GEMPadDigiCollection > gem_pad_token_
T const * product() const
T const * product() const
edm::EDGetTokenT< CSCWireDigiCollection > wire_token_
std::unique_ptr< CSCTriggerPrimitivesBuilder > lctBuilder_
edm::InputTag rpcDigiProducer_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")