47 produces<L1MuDTChambPhContainer>();
48 produces<L1MuDTChambThContainer>();
68 cout <<
"DTTrigProd::beginRun " << iRun.
id().
run() << endl;
79 cout <<
"[DTTrigProd] TU's Created" << endl;
82 cout <<
"Dumping luts...." << endl;
94 vector<L1MuDTChambPhDigi> outPhi;
95 vector<L1MuDTChambThDigi> outTheta;
100 cout <<
"[DTTrigProd] CCB configuration is not valid for this run, empty collection will be produced " << endl;
106 cout <<
"[DTTrigProd] Trigger algorithm run for " <<iEvent.
id() << endl;
115 int sc_sector = (*it).SCId().sector();
118 (*it).ChamberId().wheel(),
120 (*it).ChamberId().station(),
136 for (
int i=0;
i<7;
i++){
137 pos[
i] =(*it).position(
i);
138 qual[
i]=(*it).quality(
i);
141 int sc_sector = (*it).SCId().sector();
144 (*it).ChamberId().wheel(),
146 (*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.
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.
void beginRun(edm::Run const &iRun, const edm::EventSetup &iEventSetup) override
Create Trigger Units before starting event processing.
std::vector< DTSectCollThSegm > SCThTrigs()
Return a copy of all the Sector Collector (Theta) triggers.