53 produces<CSCALCTDigiCollection>();
54 produces<CSCCLCTDigiCollection>();
55 produces<CSCCLCTPreTriggerCollection>();
56 produces<CSCCorrelatedLCTDigiCollection>();
57 produces<CSCCorrelatedLCTDigiCollection>(
"MPCSORTED");
58 usesResource(
"CSCTriggerGeometry");
65 <<
"deleting trigger primitives after " <<
iev <<
" events.";
75 LogDebug(
"L1CSCTrigger") <<
"start producing LCTs for event " << ++
iev;
97 <<
"+++ Failed to find a CSCDBL1TPParametersRcd in EventSetup! +++\n"
98 <<
"+++ Cannot continue emulation without these parameters +++\n";
122 <<
"+++ Warning: Collection of wire digis with label "
124 <<
" requested in configuration, but not found in the event..."
125 <<
" Skipping production of CSC TP digis +++\n";
129 <<
"+++ Warning: Collection of comparator digis with label "
131 <<
" requested in configuration, but not found in the event..."
132 <<
" Skipping production of CSC TP digis +++\n";
139 *oc_alct, *oc_clct, *oc_pretrig, *oc_lct, *oc_sorted_lct);
149 ev.
put(oc_sorted_lct,
"MPCSORTED");
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
~CSCTriggerPrimitivesProducer()
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag compDigiProducer_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag wireDigiProducer_
void build(const CSCBadChambers *badChambers, const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, CSCALCTDigiCollection &oc_alct, CSCCLCTDigiCollection &oc_clct, CSCCLCTPreTriggerCollection &oc_pretrig, CSCCorrelatedLCTDigiCollection &oc_lct, CSCCorrelatedLCTDigiCollection &oc_sorted_lct)
CSCTriggerPrimitivesProducer(const edm::ParameterSet &)
static void setGeometry(const edm::ESHandle< CSCGeometry > &thegeom)
void setConfigParameters(const CSCDBL1TPParameters *conf)
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_
CSCTriggerPrimitivesBuilder * lctBuilder_
T const * product() const
T const * product() const
edm::EDGetTokenT< CSCWireDigiCollection > wire_token_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")