47 produces<L1MuDTChambPhContainer>();
48 produces<L1MuDTChambThContainer>();
68 cout <<
"DTTrigProd::beginRun " << iRun.
id().
run() << endl;
77 cout <<
"[DTTrigProd] TU's Created" << endl;
80 cout <<
"Dumping luts...." << endl;
89 vector<L1MuDTChambPhDigi> outPhi;
90 vector<L1MuDTChambThDigi> outTheta;
95 cout <<
"[DTTrigProd] CCB configuration is not valid for this run, empty collection will be produced " << endl;
101 cout <<
"[DTTrigProd] Trigger algorithm run for " <<iEvent.
id() << endl;
110 int sc_sector = (*it).SCId().sector();
113 (*it).ChamberId().wheel(),
115 (*it).ChamberId().station(),
131 for (
int i=0;
i<7;
i++){
132 pos[
i] =(*it).position(
i);
133 qual[
i]=(*it).quality(
i);
136 int sc_sector = (*it).SCId().sector();
139 (*it).ChamberId().wheel(),
141 (*it).ChamberId().station(),
150 resultPhi->setContainer(outPhi);
153 resultTheta->setContainer(outTheta);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int getBXOffset()
Get BX Offset.
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
DTTrigProd(const edm::ParameterSet &pset)
Constructor.
vector< DTSectCollThSegm > SectCollThetaColl
std::vector< DTSectCollPhSegm > SCPhTrigs()
Return a copy of all the Sector Collector (Phi) triggers.
SectCollThetaColl::const_iterator SectCollThetaColl_iterator
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void triggerReco(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Run the whole trigger reconstruction chain.
edm::ParameterSet my_params
bool CCBConfigValidity() const
flag for CCB configuration validity
void dumpLuts(short int lut_btic, const DTConfigManager *conf)
Dump the LUT files.
SectCollPhiColl::const_iterator SectCollPhiColl_iterator
vector< DTSectCollPhSegm > SectCollPhiColl
void produce(edm::Event &iEvent, const edm::EventSetup &iEventSetup) override
Producer: process every event and generates trigger data.
void createTUs(const edm::EventSetup &iSetup)
Create the trigger units and store them in the cache.
void beginRun(edm::Run const &iRun, const edm::EventSetup &iEventSetup) override
Create Trigger Units before starting event processing.
T const * product() const
std::vector< DTSectCollThSegm > SCThTrigs()
Return a copy of all the Sector Collector (Theta) triggers.