49 produces<L1MuDTChambPhContainer>();
50 produces<L1MuDTChambThContainer>();
70 cout <<
"DTTrigProd::beginRun " << iRun.
id().
run() << endl;
81 cout <<
"[DTTrigProd] TU's Created" << endl;
84 cout <<
"Dumping luts...." << endl;
96 vector<L1MuDTChambPhDigi> outPhi;
97 vector<L1MuDTChambThDigi> outTheta;
102 cout <<
"[DTTrigProd] CCB configuration is not valid for this run, empty collection will be produced " << endl;
108 cout <<
"[DTTrigProd] Trigger algorithm run for " <<iEvent.
id() << endl;
117 int sc_sector = (*it).SCId().sector();
120 (*it).ChamberId().wheel(),
122 (*it).ChamberId().station(),
138 for (
int i=0;
i<7;
i++){
139 pos[
i] =(*it).position(
i);
140 qual[
i]=(*it).quality(
i);
143 int sc_sector = (*it).SCId().sector();
146 (*it).ChamberId().wheel(),
148 (*it).ChamberId().station(),
157 resultPhi->setContainer(outPhi);
158 iEvent.
put(resultPhi);
160 resultTheta->setContainer(outTheta);
161 iEvent.
put(resultTheta);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int getBXOffset()
Get BX Offset.
void beginRun(edm::Run &iRun, const edm::EventSetup &iEventSetup)
Create Trigger Units before starting event processing.
DTTrigProd(const edm::ParameterSet &pset)
Constructor.
vector< DTSectCollThSegm > SectCollThetaColl
std::vector< DTSectCollPhSegm > SCPhTrigs()
Return a copy of all the Sector Collector (Phi) triggers.
void produce(edm::Event &iEvent, const edm::EventSetup &iEventSetup)
Producer: process every event and generates trigger data.
SectCollThetaColl::const_iterator SectCollThetaColl_iterator
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void triggerReco(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Run the whole trigger reconstruction chain.
edm::ParameterSet my_params
void dumpLuts(short int lut_btic, const DTConfigManager *conf)
Dump the LUT files.
T const * product() const
SectCollPhiColl::const_iterator SectCollPhiColl_iterator
vector< DTSectCollPhSegm > SectCollPhiColl
void createTUs(const edm::EventSetup &iSetup)
Create the trigger units and store them in the cache.
std::vector< DTSectCollThSegm > SCThTrigs()
Return a copy of all the Sector Collector (Theta) triggers.