49 produces<L1MuDTChambPhContainer>();
50 produces<L1MuDTChambThContainer>();
82 cout <<
"DTTrigProd::beginRun " << iRun.
id().
run() << endl;
91 cout <<
"DTConfigManagerRcd : Print some Config stuff" << endl;
96 cout <<
"BtiMap & TracoMap Size for chamber (1,1,1):" << dtConfig->getDTConfigBtiMap(chid).size()
97 <<
" " << dtConfig->getDTConfigTracoMap(chid).size() << endl;
99 dtConfig->getDTConfigBti(btiid)->print();
100 dtConfig->getDTConfigTraco(tracoid)->print();
101 dtConfig->getDTConfigTSTheta(chid)->print();
102 dtConfig->getDTConfigTSPhi(chid)->print();
112 cout <<
"[DTTrigProd] TU's Created" << endl;
116 cout <<
"Dumping luts...." << endl;
130 cout <<
"[DTTrigProd] Trigger algorithm run for " <<iEvent.
id() << endl;
135 vector<L1MuDTChambPhDigi> outPhi;
140 int sc_sector = (*it).SCId().sector();
143 (*it).ChamberId().wheel(),
145 (*it).ChamberId().station(),
157 vector<L1MuDTChambThDigi> outTheta;
162 for (
int i=0;
i<7;
i++){
163 pos[
i] =(*it).position(
i);
164 qual[
i]=(*it).quality(
i);
167 int sc_sector = (*it).SCId().sector();
170 (*it).ChamberId().wheel(),
172 (*it).ChamberId().station(),
180 resultPhi->setContainer(outPhi);
181 iEvent.
put(resultPhi);
183 resultTheta->setContainer(outTheta);
184 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.
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.