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;
99 cout <<
"[DTTrigProd] CCB configuration is not valid for this run, emulator will not run ! " << endl;
105 cout <<
"[DTTrigProd] Trigger algorithm run for " <<iEvent.
id() << endl;
110 vector<L1MuDTChambPhDigi> outPhi;
115 int sc_sector = (*it).SCId().sector();
118 (*it).ChamberId().wheel(),
120 (*it).ChamberId().station(),
132 vector<L1MuDTChambThDigi> outTheta;
137 for (
int i=0;
i<7;
i++){
138 pos[
i] =(*it).position(
i);
139 qual[
i]=(*it).quality(
i);
142 int sc_sector = (*it).SCId().sector();
145 (*it).ChamberId().wheel(),
147 (*it).ChamberId().station(),
155 resultPhi->setContainer(outPhi);
156 iEvent.
put(resultPhi);
158 resultTheta->setContainer(outTheta);
159 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.