|
|
Go to the documentation of this file.
68 bool my_CCBValid =
false;
82 : my_trig(
pset, consumesCollector()),
83 phToken_{produces<L1MuDTChambPhContainer>()},
84 thToken_{produces<L1MuDTChambThContainer>()},
85 my_DTTFnum{
pset.getParameter<
bool>(
"DTTFSectorNumbering")},
86 my_debug{
pset.getUntrackedParameter<
bool>(
"debug")},
87 my_lut_dump_flag{
pset.getUntrackedParameter<
bool>(
"lutDumpFlag")},
88 my_lut_btic{static_cast<short int>(
pset.getUntrackedParameter<
int>(
"lutBtic"))} {}
92 cout <<
"DTTrigProd::beginRun " << iRun.
id().
run() << endl;
101 cout <<
"[DTTrigProd] TU's Created" << endl;
104 cout <<
"Dumping luts...." << endl;
110 vector<L1MuDTChambPhDigi> outPhi;
111 vector<L1MuDTChambThDigi> outTheta;
116 cout <<
"[DTTrigProd] CCB configuration is not valid for this run, empty collection will be produced " << endl;
123 cout <<
"[DTTrigProd] Trigger algorithm run for " <<
iEvent.id() << endl;
131 int step = (*it).step() - bx_offset;
132 int sc_sector = (*it).SCId().sector();
136 (*it).ChamberId().wheel(),
138 (*it).ChamberId().station(),
153 for (
int i = 0;
i < 7;
i++) {
154 pos[
i] = (*it).position(
i);
155 qual[
i] = (*it).quality(
i);
157 int step = (*it).step() - bx_offset;
158 int sc_sector = (*it).SCId().sector();
vector< DTSectCollThSegm > SectCollThetaColl
T const * product() const
bool CCBConfigValidity() const
flag for CCB configuration validity
int getBXOffset() const
Get BX Offset.
vector< DTSectCollPhSegm > SectCollPhiColl
const short int my_lut_btic
std::vector< DTSectCollPhSegm > SCPhTrigs() const
Return a copy of all the Sector Collector (Phi) triggers.
void triggerReco(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Run the whole trigger reconstruction chain.
void produce(edm::Event &iEvent, const edm::EventSetup &iEventSetup) override
Producer: process every event and generates trigger data.
#define DEFINE_FWK_MODULE(type)
void beginRun(edm::Run const &iRun, const edm::EventSetup &iEventSetup) override
Create Trigger Units before starting event processing.
SectCollPhiColl::const_iterator SectCollPhiColl_iterator
DTTrigProd(const edm::ParameterSet &pset)
Constructor.
std::vector< DTSectCollThSegm > SCThTrigs() const
Return a copy of all the Sector Collector (Theta) triggers.
void dumpLuts(short int lut_btic, const DTConfigManager *conf) const
Dump the LUT files.
void createTUs(const edm::EventSetup &iSetup)
Create the trigger units and store them in the cache.
edm::EDPutTokenT< L1MuDTChambPhContainer > phToken_
const bool my_lut_dump_flag
SectCollThetaColl::const_iterator SectCollThetaColl_iterator
edm::EDPutTokenT< L1MuDTChambThContainer > thToken_