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 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, 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  ddu_Token_ = consumes<DTLocalTriggerCollection>(
50  parameters.getParameter<edm::InputTag>("DDUInputTag"));
51  seg_Token_ = consumes<DTRecSegment4DCollection>(
52  parameters.getParameter<edm::InputTag>("SEGInputTag"));
53 
54  bxTime = parameters.getParameter<double>("bxTimeInterval"); // CB move this to static const or DB
55  rangeInBX = parameters.getParameter<bool>("rangeWithinBX");
56  nBXLow = parameters.getParameter<int>("nBXLow");
57  nBXHigh = parameters.getParameter<int>("nBXHigh");
58  angleRange = parameters.getParameter<double>("angleRange");
59  minHitsPhi = parameters.getParameter<int>("minHitsPhi");
60  baseDirectory = parameters.getParameter<string>("baseDir");
61 }
edm::EDGetTokenT< DTLocalTriggerCollection > ddu_Token_
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
DTLocalTriggerSynchTask::~DTLocalTriggerSynchTask ( )
override

Destructor.

Definition at line 64 of file DTLocalTriggerSynchTask.cc.

References nevents.

64  {
65 
66  edm::LogVerbatim ("DTLocalTriggerSynchTask") << "[DTLocalTriggerSynchTask]: analyzed " << nevents << " events" << endl;
67 
68 }

Member Function Documentation

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

Analyze.

Definition at line 101 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(), 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.

101  {
102 
103  nevents++;
104 
105  InputTag inputTagTM = parameters.getParameter<edm::InputTag>("TMInputTag");
106  InputTag inputTagDDU = parameters.getParameter<edm::InputTag>("DDUInputTag");
107  InputTag inputTagSEG = parameters.getParameter<edm::InputTag>("SEGInputTag");
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
140  event.getByToken(ddu_Token_, trigsDDU);
142 
143  for (detUnitIt=trigsDDU->begin();detUnitIt!=trigsDDU->end();++detUnitIt){
144 
145  const DTChamberId& id = (*detUnitIt).first;
146  const DTLocalTriggerCollection::Range& range = (*detUnitIt).second;
147 
148  int wh = id.wheel();
149  int sec = id.sector();
150  int st = id.station();
151 
152  for (DTLocalTriggerCollection::const_iterator trigIt = range.first; trigIt!=range.second;++trigIt){
153 
154  int quality = trigIt->quality();
155 
156  if(quality>-1 && quality<7 &&
157  quality>phCodeBestDDU[wh+wheelArrayShift][st][sec]) {
159  }
160  }
161  }
162 
163  //Get best segments (highest number of phi hits)
164  vector<const DTRecSegment4D*> bestSegments4D;
166  event.getByToken(seg_Token_, segments4D);
168  DTRecSegment4DCollection::id_iterator chambIdIt;
169 
170  for (chambIdIt = segments4D->id_begin(); chambIdIt != segments4D->id_end(); ++chambIdIt){
171 
172  DTRecSegment4DCollection::range range = segments4D->get(*chambIdIt);
173  const DTRecSegment4D* best=nullptr;
174  int hitsBest = 0;
175  int hits = 0;
176 
177  for ( track = range.first; track != range.second; ++track){
178  if( (*track).hasPhi() ) {
179  hits = (*track).phiSegment()->degreesOfFreedom()+2;
180  if ( hits>hitsBest ){
181  best = &(*track);
182  hitsBest = hits;
183  }
184  }
185  }
186  if (best) {
187  bestSegments4D.push_back(best);
188  }
189  }
190 
191 
192  // Filling histos
193  vector<const DTRecSegment4D*>::const_iterator bestSegIt = bestSegments4D.begin();
194  vector<const DTRecSegment4D*>::const_iterator bestSegEnd = bestSegments4D.end();
195  for (; bestSegIt!=bestSegEnd; ++bestSegIt ){
196 
197  float dir = atan((*bestSegIt)->localDirection().x()/ (*bestSegIt)->localDirection().z())*180/Geom::pi(); // CB cerca un modo migliore x farlo
198  const DTRecSegment2D* seg2D = (*bestSegIt)->phiSegment();
199  int nHitsPhi = seg2D->degreesOfFreedom()+2;
200  DTChamberId chambId = (*bestSegIt)->chamberId();
201  map<string, MonitorElement*> &innerME = triggerHistos[chambId.rawId()];
202 
203  if (fabs(dir)<angleRange &&
204  nHitsPhi>=minHitsPhi &&
205  seg2D->ist0Valid()){
206 
207  float t0seg = (*bestSegIt)->phiSegment()->t0();
208  float tTrig = (tTrigSync->offset(DTWireId(chambId,1,1,2)) + tTrigSync->offset(DTWireId(chambId,3,1,2)) )/2;
209  float time = tTrig+t0seg;
210  float htime = rangeInBX ? time-int(time/bxTime)*bxTime : time-int(tTrig/bxTime)*bxTime;
211 
212  int wheel = chambId.wheel();
213  int sector = chambId.sector();
214  int station = chambId.station();
215  int scsector = sector>12 ? sector==13 ? 4 : 10 : sector;
216 
217  int qualTM = phCodeBestTM[wheel+3][station][scsector];
218  int qualDDU = phCodeBestDDU[wheel+3][station][scsector];
219 
220  if (fabs(t0seg)>0.01) {
221  innerME.find("SEG_TrackCrossingTime")->second->Fill(htime);
222  if ( qualTM>=0 ) innerME.find("TM_TrackCrossingTimeAll")->second->Fill(htime);
223  if ( qualTM==6 ) innerME.find("TM_TrackCrossingTimeHH")->second->Fill(htime);
224  if ( qualDDU>=0 ) innerME.find("DDU_TrackCrossingTimeAll")->second->Fill(htime);
225  if ( qualDDU==6 ) innerME.find("DDU_TrackCrossingTimeHH")->second->Fill(htime);
226  }
227 
228  }
229  }
230 
231 }
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 70 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.

70  {
71 
72  edm::LogVerbatim ("DTLocalTriggerSynchTask") <<"[DTLocalTriggerSynchTask]: Book Histograms"<<endl;
73 
74  ibooker.setCurrentFolder(baseDir());
75  ibooker.bookFloat("BXTimeSpacing")->Fill(bxTime);
76 
77  tTrigSync = DTTTrigSyncFactory::get()->create(parameters.getParameter<std::string>("tTrigMode"),
78  parameters.getParameter<edm::ParameterSet>("tTrigModeConfig"));
79  tTrigSync->setES(context);
80 
81 
82  std::vector<const DTChamber*>::const_iterator chambIt = muonGeom->chambers().begin();
83  std::vector<const DTChamber*>::const_iterator chambEnd = muonGeom->chambers().end();
84 
85  for (; chambIt!=chambEnd; ++chambIt) {
86  bookHistos(ibooker,(*chambIt)->id());
87  triggerHistos[(*chambIt)->id().rawId()]["tTrig_SL1"]->Fill(tTrigSync->offset(DTWireId((*chambIt)->id(),1,1,2)));
88  triggerHistos[(*chambIt)->id().rawId()]["tTrig_SL3"]->Fill(tTrigSync->offset(DTWireId((*chambIt)->id(),3,1,2)));
89  }
90 
91 
92 }
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 233 of file DTLocalTriggerSynchTask.cc.

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

Referenced by bookHistograms().

233  {
234 
235  stringstream wheel; wheel << dtChId.wheel();
236  stringstream station; station << dtChId.station();
237  stringstream sector; sector << dtChId.sector();
238  uint32_t chRawId = dtChId.rawId();
239 
240  ibooker.setCurrentFolder(baseDir() + "/Wheel" + wheel.str() + "/Sector" + sector.str() + "/Station" + station.str() );
241 
242 
243  string histoTag[5] = { "SEG_TrackCrossingTime", "TM_TrackCrossingTimeAll", "TM_TrackCrossingTimeHH", "DDU_TrackCrossingTimeAll", "DDU_TrackCrossingTimeHH" };
244 
245  float min = rangeInBX ? 0 : nBXLow*bxTime;
246  float max = rangeInBX ? bxTime : nBXHigh*bxTime;
247  int nbins = static_cast<int>(ceil( rangeInBX ? bxTime : (nBXHigh-nBXLow)*bxTime));
248 
249  for (int iHisto=0;iHisto<5;++iHisto) {
250  string histoName = histoTag[iHisto] + (rangeInBX ? "InBX" : "") + "_W" + wheel.str() + "_Sec" + sector.str() + "_St" + station.str();
251  edm::LogVerbatim ("DTLocalTriggerSynchTask") << "[DTLocalTriggerSynchTask]: booking "
252  << baseDir() + "/Wheel" << wheel.str()
253  << "/Sector" << sector.str()
254  << "/Station"<< station.str()
255  << "/" << histoName << endl;
256 
257  triggerHistos[chRawId][histoTag[iHisto]] = ibooker.book1D(histoName.c_str(),"Track time distribution",nbins,min,max);
258  }
259 
260  string floatTag[2] = { "tTrig_SL1", "tTrig_SL3" };
261 
262  for (int iFloat=0;iFloat<2;++iFloat) {
263  string floatName = floatTag[iFloat] + "_W" + wheel.str() + "_Sec" + sector.str() + "_St" + station.str();
264  triggerHistos[chRawId][floatTag[iFloat]] = ibooker.bookFloat(floatName);
265  }
266 
267 }
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 95 of file DTLocalTriggerSynchTask.cc.

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

95  {
96 
97  context.get<MuonGeometryRecord>().get(muonGeom);
98 }
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 95 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

std::string DTLocalTriggerSynchTask::baseDirectory
private

Definition at line 100 of file DTLocalTriggerSynchTask.h.

Referenced by baseDir(), and DTLocalTriggerSynchTask().

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

Definition at line 108 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

int DTLocalTriggerSynchTask::fineDelay
private

Definition at line 97 of file DTLocalTriggerSynchTask.h.

float DTLocalTriggerSynchTask::minHitsPhi
private

Definition at line 96 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

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

Definition at line 103 of file DTLocalTriggerSynchTask.h.

Referenced by bookHistograms(), and dqmBeginRun().

int DTLocalTriggerSynchTask::nBXHigh
private

Definition at line 94 of file DTLocalTriggerSynchTask.h.

Referenced by bookHistos(), and DTLocalTriggerSynchTask().

int DTLocalTriggerSynchTask::nBXLow
private

Definition at line 93 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::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 109 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 105 of file DTLocalTriggerSynchTask.h.

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

Definition at line 107 of file DTLocalTriggerSynchTask.h.

Referenced by analyze(), and DTLocalTriggerSynchTask().

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

Definition at line 104 of file DTLocalTriggerSynchTask.h.

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

DTTTrigBaseSync* DTLocalTriggerSynchTask::tTrigSync
private

Definition at line 98 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().