CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends
DTLocalTriggerSynchTask Class Reference

#include <DTLocalTriggerSynchTask.h>

Inheritance diagram for DTLocalTriggerSynchTask:
DQMEDAnalyzer edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 DTLocalTriggerSynchTask (const edm::ParameterSet &ps)
 Constructor. More...
 
 ~DTLocalTriggerSynchTask () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
 DQMEDAnalyzer (DQMEDAnalyzer const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer &&)=delete
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &context) override
 Analyze. More...
 
std::string & baseDir ()
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 Book the histograms. More...
 
void bookHistos (DQMStore::IBooker &, const DTChamberId &dtCh)
 Book the histograms. More...
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 Beginrun. More...
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Protected Attributes

const int wheelArrayShift = 3
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Private Attributes

float angleRange
 
std::string baseDirectory
 
float bxTime
 
edm::EDGetTokenT< DTLocalTriggerCollectionddu_Token_
 
int fineDelay
 
float minHitsPhi
 
edm::ESHandle< DTGeometrymuonGeom
 
int nBXHigh
 
int nBXLow
 
int nevents
 
edm::ParameterSet parameters
 
DTArr3int phCodeBestDDU
 
DTArr3int phCodeBestTM
 
DTArr4int phCodeBXTM
 
bool processDDU
 
bool rangeInBX
 
edm::EDGetTokenT< DTRecSegment4DCollectionseg_Token_
 
DTArr3int segHitBest
 
DTArr3int thCodeBestDDU
 
MonitorElementtm_IDDataErrorPlot
 
edm::EDGetTokenT< L1MuDTChambPhContainertm_Token_
 
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
 
DTTTrigBaseSynctTrigSync
 

Friends

class DTMonitorModule
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 51 of file DTLocalTriggerSynchTask.h.

Constructor & Destructor Documentation

DTLocalTriggerSynchTask::DTLocalTriggerSynchTask ( const edm::ParameterSet ps)

Constructor.

Definition at line 43 of file DTLocalTriggerSynchTask.cc.

References angleRange, baseDirectory, bxTime, ddu_Token_, minHitsPhi, nBXHigh, nBXLow, processDDU, rangeInBX, seg_Token_, and tm_Token_.

43  : nevents(0) {
44 
45  edm::LogVerbatim ("DTLocalTriggerSynchTask") << "[DTLocalTriggerSynchTask]: Constructor" << endl;
46  parameters = ps;
47  tm_Token_ = consumes<L1MuDTChambPhContainer>(
48  parameters.getParameter<edm::InputTag>("TMInputTag"));
49  seg_Token_ = consumes<DTRecSegment4DCollection>(
50  parameters.getParameter<edm::InputTag>("SEGInputTag"));
51 
52  processDDU = parameters.getUntrackedParameter<bool>("processDDU",false);
53 
54  if (processDDU)
55  ddu_Token_ = consumes<DTLocalTriggerCollection>(
56  parameters.getParameter<edm::InputTag>("DDUInputTag"));
57 
58  bxTime = parameters.getParameter<double>("bxTimeInterval"); // CB move this to static const or DB
59  rangeInBX = parameters.getParameter<bool>("rangeWithinBX");
60  nBXLow = parameters.getParameter<int>("nBXLow");
61  nBXHigh = parameters.getParameter<int>("nBXHigh");
62  angleRange = parameters.getParameter<double>("angleRange");
63  minHitsPhi = parameters.getParameter<int>("minHitsPhi");
64  baseDirectory = parameters.getParameter<string>("baseDir");
65 }
edm::EDGetTokenT< DTLocalTriggerCollection > ddu_Token_
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
DTLocalTriggerSynchTask::~DTLocalTriggerSynchTask ( )
override

Destructor.

Definition at line 68 of file DTLocalTriggerSynchTask.cc.

References nevents.

68  {
69 
70  edm::LogVerbatim ("DTLocalTriggerSynchTask") << "[DTLocalTriggerSynchTask]: analyzed " << nevents << " events" << endl;
71 
72 }

Member Function Documentation

void DTLocalTriggerSynchTask::analyze ( const edm::Event event,
const edm::EventSetup context 
)
overrideprotected

Analyze.

Definition at line 105 of file DTLocalTriggerSynchTask.cc.

References angleRange, bxTime, ddu_Token_, DTRecSegment2D::degreesOfFreedom(), dir, L1MuDTChambPhContainer::getContainer(), hfClusterShapes_cfi::hits, mps_fire::i, createfilelist::int, DTRecSegment2D::ist0Valid(), gen::k, minHitsPhi, nevents, DTTTrigBaseSync::offset(), phCodeBestDDU, phCodeBestTM, Geom::pi(), processDDU, jets_cff::quality, rangeInBX, DetId::rawId(), DTChamberId::sector(), seg_Token_, DTChamberId::station(), relativeConstraints::station, ntuplemaker::time, tm_Token_, HiIsolationCommonParameters_cff::track, triggerHistos, tTrigSync, DTChamberId::wheel(), makeMuonMisalignmentScenario::wheel, and wheelArrayShift.

105  {
106 
107  nevents++;
108 
109  for (int i=0;i<5;++i){
110  for (int j=0;j<6;++j){
111  for (int k=0;k<13;++k){
112  phCodeBestTM[j][i][k] = -1;
113  phCodeBestDDU[j][i][k] = -1;
114  }
115  }
116  }
117 
118  // Get best TM triggers
120  event.getByToken(tm_Token_, l1DTTPGPh);
121  vector<L1MuDTChambPhDigi> const* phTrigs = l1DTTPGPh->getContainer();
122 
123  vector<L1MuDTChambPhDigi>::const_iterator iph = phTrigs->begin();
124  vector<L1MuDTChambPhDigi>::const_iterator iphe = phTrigs->end();
125  for(; iph !=iphe ; ++iph) {
126 
127  int phwheel = iph->whNum();
128  int phsec = iph->scNum() + 1; // DTTF[0-11] -> DT[1-12] Sector Numbering
129  int phst = iph->stNum();
130  int phcode = iph->code();
131 
132  if(phcode>phCodeBestTM[phwheel+3][phst][phsec] && phcode<7) {
133  phCodeBestTM[phwheel+3][phst][phsec]=phcode;
134  }
135 
136  }
137 
138  // Get best DDU triggers
139  if (processDDU){
141  event.getByToken(ddu_Token_, trigsDDU);
143 
144  for (detUnitIt=trigsDDU->begin();detUnitIt!=trigsDDU->end();++detUnitIt){
145 
146  const DTChamberId& id = (*detUnitIt).first;
147  const DTLocalTriggerCollection::Range& range = (*detUnitIt).second;
148 
149  int wh = id.wheel();
150  int sec = id.sector();
151  int st = id.station();
152 
153  for (DTLocalTriggerCollection::const_iterator trigIt = range.first; trigIt!=range.second;++trigIt){
154 
155  int quality = trigIt->quality();
156 
157  if(quality>-1 && quality<7 &&
158  quality>phCodeBestDDU[wh+wheelArrayShift][st][sec]) {
160  }
161  }
162  }
163  }
164 
165  //Get best segments (highest number of phi hits)
166  vector<const DTRecSegment4D*> bestSegments4D;
168  event.getByToken(seg_Token_, segments4D);
170  DTRecSegment4DCollection::id_iterator chambIdIt;
171 
172  for (chambIdIt = segments4D->id_begin(); chambIdIt != segments4D->id_end(); ++chambIdIt){
173 
174  DTRecSegment4DCollection::range range = segments4D->get(*chambIdIt);
175  const DTRecSegment4D* best=nullptr;
176  int hitsBest = 0;
177  int hits = 0;
178 
179  for ( track = range.first; track != range.second; ++track){
180  if( (*track).hasPhi() ) {
181  hits = (*track).phiSegment()->degreesOfFreedom()+2;
182  if ( hits>hitsBest ){
183  best = &(*track);
184  hitsBest = hits;
185  }
186  }
187  }
188  if (best) {
189  bestSegments4D.push_back(best);
190  }
191  }
192 
193 
194  // Filling histos
195  vector<const DTRecSegment4D*>::const_iterator bestSegIt = bestSegments4D.begin();
196  vector<const DTRecSegment4D*>::const_iterator bestSegEnd = bestSegments4D.end();
197  for (; bestSegIt!=bestSegEnd; ++bestSegIt ){
198 
199  float dir = atan((*bestSegIt)->localDirection().x()/ (*bestSegIt)->localDirection().z())*180/Geom::pi(); // CB cerca un modo migliore x farlo
200  const DTRecSegment2D* seg2D = (*bestSegIt)->phiSegment();
201  int nHitsPhi = seg2D->degreesOfFreedom()+2;
202  DTChamberId chambId = (*bestSegIt)->chamberId();
203  map<string, MonitorElement*> &innerME = triggerHistos[chambId.rawId()];
204 
205  if (fabs(dir)<angleRange &&
206  nHitsPhi>=minHitsPhi &&
207  seg2D->ist0Valid()){
208 
209  float t0seg = (*bestSegIt)->phiSegment()->t0();
210  float tTrig = (tTrigSync->offset(DTWireId(chambId,1,1,2)) + tTrigSync->offset(DTWireId(chambId,3,1,2)) )/2;
211  float time = tTrig+t0seg;
212  float htime = rangeInBX ? time-int(time/bxTime)*bxTime : time-int(tTrig/bxTime)*bxTime;
213 
214  int wheel = chambId.wheel();
215  int sector = chambId.sector();
216  int station = chambId.station();
217  int scsector = sector>12 ? sector==13 ? 4 : 10 : sector;
218 
219  int qualTM = phCodeBestTM[wheel+3][station][scsector];
220  int qualDDU = phCodeBestDDU[wheel+3][station][scsector];
221 
222  if (fabs(t0seg)>0.01) {
223  innerME.find("SEG_TrackCrossingTime")->second->Fill(htime);
224  if ( qualTM>=0 ) innerME.find("TM_TrackCrossingTimeAll")->second->Fill(htime);
225  if ( qualTM==6 ) innerME.find("TM_TrackCrossingTimeHH")->second->Fill(htime);
226  if ( processDDU && qualDDU>=0 ) innerME.find("DDU_TrackCrossingTimeAll")->second->Fill(htime);
227  if ( processDDU && qualDDU==6 ) innerME.find("DDU_TrackCrossingTimeHH")->second->Fill(htime);
228  }
229 
230  }
231  }
232 
233 }
std::pair< const_iterator, const_iterator > range
iterator range
Definition: RangeMap.h:50
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos)
edm::EDGetTokenT< DTLocalTriggerCollection > ddu_Token_
uint32_t rawId() const
get the raw id
Definition: DetId.h:44
int degreesOfFreedom() const override
return the DOF of the segment
bool ist0Valid() const
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
int k[5][pyjets_maxn]
std::vector< DTLocalTrigger >::const_iterator const_iterator
Phi_Container const * getContainer() const
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
int sector() const
Definition: DTChamberId.h:61
std::pair< const_iterator, const_iterator > Range
dbl *** dir
Definition: mlp_gen.cc:35
constexpr double pi()
Definition: Pi.h:31
int station() const
Return the station number.
Definition: DTChamberId.h:51
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:45
std::string& DTLocalTriggerSynchTask::baseDir ( )
inlineprotected

Definition at line 77 of file DTLocalTriggerSynchTask.h.

References baseDirectory.

Referenced by bookHistograms(), and bookHistos().

77 { return baseDirectory; }
void DTLocalTriggerSynchTask::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  context 
)
overrideprotectedvirtual

Book the histograms.

Implements DQMEDAnalyzer.

Definition at line 74 of file DTLocalTriggerSynchTask.cc.

References baseDir(), DQMStore::IBooker::bookFloat(), bookHistos(), bxTime, DTGeometry::chambers(), MonitorElement::Fill(), reco::get(), muonGeom, DTTTrigBaseSync::offset(), DQMStore::IBooker::setCurrentFolder(), DTTTrigBaseSync::setES(), AlCaHLTBitMon_QueryRunRegistry::string, triggerHistos, and tTrigSync.

74  {
75 
76  edm::LogVerbatim ("DTLocalTriggerSynchTask") <<"[DTLocalTriggerSynchTask]: Book Histograms"<<endl;
77 
78  ibooker.setCurrentFolder(baseDir());
79  ibooker.bookFloat("BXTimeSpacing")->Fill(bxTime);
80 
81  tTrigSync = DTTTrigSyncFactory::get()->create(parameters.getParameter<std::string>("tTrigMode"),
82  parameters.getParameter<edm::ParameterSet>("tTrigModeConfig"));
83  tTrigSync->setES(context);
84 
85 
86  std::vector<const DTChamber*>::const_iterator chambIt = muonGeom->chambers().begin();
87  std::vector<const DTChamber*>::const_iterator chambEnd = muonGeom->chambers().end();
88 
89  for (; chambIt!=chambEnd; ++chambIt) {
90  bookHistos(ibooker,(*chambIt)->id());
91  triggerHistos[(*chambIt)->id().rawId()]["tTrig_SL1"]->Fill(tTrigSync->offset(DTWireId((*chambIt)->id(),1,1,2)));
92  triggerHistos[(*chambIt)->id().rawId()]["tTrig_SL3"]->Fill(tTrigSync->offset(DTWireId((*chambIt)->id(),3,1,2)));
93  }
94 
95 
96 }
const std::vector< const DTChamber * > & chambers() const
Return a vector of all Chamber.
Definition: DTGeometry.cc:84
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos)
void Fill(long long x)
edm::ESHandle< DTGeometry > muonGeom
virtual void setES(const edm::EventSetup &setup)=0
Pass the Event Setup to the synchronization module at each event.
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &dtCh)
Book the histograms.
MonitorElement * bookFloat(Args &&...args)
Definition: DQMStore.h:112
T get(const Candidate &c)
Definition: component.h:55
void DTLocalTriggerSynchTask::bookHistos ( DQMStore::IBooker ibooker,
const DTChamberId dtCh 
)
protected

Book the histograms.

Definition at line 235 of file DTLocalTriggerSynchTask.cc.

References baseDir(), DQMStore::IBooker::book1D(), DQMStore::IBooker::bookFloat(), bxTime, SiStripPI::max, min(), pileupCalc::nbins, nBXHigh, nBXLow, processDDU, rangeInBX, DetId::rawId(), DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, triggerHistos, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.

Referenced by bookHistograms().

235  {
236 
237  stringstream wheel; wheel << dtChId.wheel();
238  stringstream station; station << dtChId.station();
239  stringstream sector; sector << dtChId.sector();
240  uint32_t chRawId = dtChId.rawId();
241 
242  ibooker.setCurrentFolder(baseDir() + "/Wheel" + wheel.str() + "/Sector" + sector.str() + "/Station" + station.str() );
243 
244  std::vector<string> histoTags = { "SEG_TrackCrossingTime", "TM_TrackCrossingTimeAll", "TM_TrackCrossingTimeHH" };
245 
246  if (processDDU) {
247  histoTags.push_back("DDU_TrackCrossingTimeAll");
248  histoTags.push_back("DDU_TrackCrossingTimeHH");
249  }
250 
251  float min = rangeInBX ? 0 : nBXLow*bxTime;
252  float max = rangeInBX ? bxTime : nBXHigh*bxTime;
253  int nbins = static_cast<int>(ceil( rangeInBX ? bxTime : (nBXHigh-nBXLow)*bxTime));
254 
255  for (const auto & histoTag : histoTags) {
256  string histoName = histoTag + (rangeInBX ? "InBX" : "") + "_W" + wheel.str() + "_Sec" + sector.str() + "_St" + station.str();
257  edm::LogVerbatim ("DTLocalTriggerSynchTask") << "[DTLocalTriggerSynchTask]: booking "
258  << baseDir() + "/Wheel" << wheel.str()
259  << "/Sector" << sector.str()
260  << "/Station"<< station.str()
261  << "/" << histoName << endl;
262 
263  triggerHistos[chRawId][histoTag] = ibooker.book1D(histoName.c_str(),"Track time distribution",nbins,min,max);
264  }
265 
266  string floatTag[2] = { "tTrig_SL1", "tTrig_SL3" };
267 
268  for (int iFloat=0;iFloat<2;++iFloat) {
269  string floatName = floatTag[iFloat] + "_W" + wheel.str() + "_Sec" + sector.str() + "_St" + station.str();
270  triggerHistos[chRawId][floatTag[iFloat]] = ibooker.bookFloat(floatName);
271  }
272 
273 }
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
T min(T a, T b)
Definition: MathUtil.h:58
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
MonitorElement * bookFloat(Args &&...args)
Definition: DQMStore.h:112
void DTLocalTriggerSynchTask::dqmBeginRun ( const edm::Run run,
const edm::EventSetup context 
)
overrideprotected

Beginrun.

Definition at line 99 of file DTLocalTriggerSynchTask.cc.

References edm::EventSetup::get(), and muonGeom.

99  {
100 
101  context.get<MuonGeometryRecord>().get(muonGeom);
102 }
edm::ESHandle< DTGeometry > muonGeom
const T & get() const
Definition: EventSetup.h:59

Friends And Related Function Documentation

friend class DTMonitorModule
friend

Definition at line 53 of file DTLocalTriggerSynchTask.h.

Member Data Documentation

float DTLocalTriggerSynchTask::angleRange
private

Definition at line 96 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

std::string DTLocalTriggerSynchTask::baseDirectory
private

Definition at line 101 of file DTLocalTriggerSynchTask.h.

Referenced by baseDir(), and DTLocalTriggerSynchTask().

float DTLocalTriggerSynchTask::bxTime
private
edm::EDGetTokenT<DTLocalTriggerCollection> DTLocalTriggerSynchTask::ddu_Token_
private

Definition at line 109 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

int DTLocalTriggerSynchTask::fineDelay
private

Definition at line 98 of file DTLocalTriggerSynchTask.h.

float DTLocalTriggerSynchTask::minHitsPhi
private

Definition at line 97 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

edm::ESHandle<DTGeometry> DTLocalTriggerSynchTask::muonGeom
private

Definition at line 104 of file DTLocalTriggerSynchTask.h.

Referenced by bookHistograms(), and dqmBeginRun().

int DTLocalTriggerSynchTask::nBXHigh
private

Definition at line 95 of file DTLocalTriggerSynchTask.h.

Referenced by bookHistos(), and DTLocalTriggerSynchTask().

int DTLocalTriggerSynchTask::nBXLow
private

Definition at line 94 of file DTLocalTriggerSynchTask.h.

Referenced by bookHistos(), and DTLocalTriggerSynchTask().

int DTLocalTriggerSynchTask::nevents
private

Definition at line 83 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and ~DTLocalTriggerSynchTask().

edm::ParameterSet DTLocalTriggerSynchTask::parameters
private
DTArr3int DTLocalTriggerSynchTask::phCodeBestDDU
private

Definition at line 87 of file DTLocalTriggerSynchTask.h.

Referenced by analyze().

DTArr3int DTLocalTriggerSynchTask::phCodeBestTM
private

Definition at line 85 of file DTLocalTriggerSynchTask.h.

Referenced by analyze().

DTArr4int DTLocalTriggerSynchTask::phCodeBXTM
private

Definition at line 86 of file DTLocalTriggerSynchTask.h.

bool DTLocalTriggerSynchTask::processDDU
private

Definition at line 93 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), bookHistos(), and DTLocalTriggerSynchTask().

bool DTLocalTriggerSynchTask::rangeInBX
private

Definition at line 92 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), bookHistos(), and DTLocalTriggerSynchTask().

edm::EDGetTokenT<DTRecSegment4DCollection> DTLocalTriggerSynchTask::seg_Token_
private

Definition at line 110 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

DTArr3int DTLocalTriggerSynchTask::segHitBest
private

Definition at line 89 of file DTLocalTriggerSynchTask.h.

DTArr3int DTLocalTriggerSynchTask::thCodeBestDDU
private

Definition at line 88 of file DTLocalTriggerSynchTask.h.

MonitorElement* DTLocalTriggerSynchTask::tm_IDDataErrorPlot
private

Definition at line 106 of file DTLocalTriggerSynchTask.h.

edm::EDGetTokenT<L1MuDTChambPhContainer> DTLocalTriggerSynchTask::tm_Token_
private

Definition at line 108 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

std::map<uint32_t, std::map<std::string, MonitorElement*> > DTLocalTriggerSynchTask::triggerHistos
private

Definition at line 105 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), bookHistograms(), and bookHistos().

DTTTrigBaseSync* DTLocalTriggerSynchTask::tTrigSync
private

Definition at line 99 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and bookHistograms().

const int DTLocalTriggerSynchTask::wheelArrayShift = 3
protected

Definition at line 79 of file DTLocalTriggerSynchTask.h.

Referenced by analyze().