27 for(L1CSCTrackCollection::const_iterator trk=csctfTrks->begin();
28 trk<csctfTrks->end(); trk++){
34 csctf_.
trEndcap.push_back(trk->first.endcap()==2 ? trk->first.endcap()-3 : trk->first.endcap());
36 csctf_.
trSector.push_back(6* (trk->first.endcap()-1) + trk->first.sector());
55 ptadd thePtAddress(trk->first.ptLUTAddress());
67 ptdat thePtData = ptLUTs_->
Pt(thePtAddress);
70 if (thePtAddress.track_fr) {
109 lctOfTrks != lctsOfTracks.end() ; lctOfTrks++){
114 lctsOfTracks.get((*lctOfTrks).first);
117 lctTrk = lctRange.first ;
118 lctTrk != lctRange.second; lctTrk++, lctTrkId++){
122 if ((*lctOfTrks).first.zendcap() > 0)
142 lctTrkId < 0 || lctTrkId > 1 ){
144 edm::LogInfo(
"L1NtupleProducer")<<
" TRACK ERROR: CSC digi are out of range: ";
150 int endcap = (*lctOfTrks).first.zendcap();
151 if (endcap < 0) endcap = 0;
153 int StationLctTrk = (*lctOfTrks).first.station();
154 int CscIdLctTrk = (*lctOfTrks).first.triggerCscId();
155 int SubSectorLctTrk =
159 ( SubSectorLctTrk ? SubSectorLctTrk-1 : StationLctTrk );
168 lclPhi = srLUTs_[FPGALctTrk][
endcap] -> localPhi(lctTrk->getStrip(),
169 lctTrk->getPattern(),
170 lctTrk->getQuality(),
181 bzero(&lclPhi,
sizeof(lclPhi));
204 gblPhi = srLUTs_[FPGALctTrk][
endcap] -> globalPhiME(lclPhi.phi_local ,
211 bzero(&gblPhi,
sizeof(gblPhi));
219 gblEta = srLUTs_[FPGALctTrk][
endcap] -> globalEtaME(lclPhi.phi_bend_local,
227 bzero(&gblEta,
sizeof(gblEta));
ptdat Pt(const ptadd &) const
const L1MuScale * getPtScale() const
get the Pt scale
virtual float getLowEdge(unsigned packed) const =0
get the low edge of bin represented by packed
virtual float getCenter(unsigned packed) const =0
get the center of bin represented by packed
L1AnalysisCSCTFDataFormat csctf_
U second(std::pair< T, U > const &p)
const L1MuScale * getPhiScale() const
get the phi scale
class global_phi_data gblphidat
class local_phi_address lclphiadd
std::vector< CSCCorrelatedLCTDigi >::const_iterator const_iterator
class local_phi_data lclphidat
Data Types.
static int triggerSubSectorFromLabels(int station, int chamber)
const L1MuScale * getRegionalEtaScale(int isys) const
get the regioanl muon trigger eta scale, isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC) ...
std::pair< const_iterator, const_iterator > Range
class global_eta_data gbletadat