CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DTLocalTriggerBaseTest Class Referenceabstract

#include <DTLocalTriggerBaseTest.h>

Inheritance diagram for DTLocalTriggerBaseTest:
edm::EDAnalyzer edm::EDConsumerBase DTFineDelayCorr DTLocalTriggerEfficiencyTest DTLocalTriggerLutTest DTLocalTriggerSynchTest DTLocalTriggerTest DTLocalTriggerTPTest DTTriggerEfficiencyTest DTTriggerLutTest

Public Member Functions

 DTLocalTriggerBaseTest ()
 Constructor. More...
 
virtual ~DTLocalTriggerBaseTest ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 Analyze. More...
 
void beginJob ()
 BeginJob. More...
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
 Perform begin lumiblock operations. More...
 
void beginRun (edm::Run const &run, edm::EventSetup const &context)
 BeginRun. More...
 
void bookCmsHistos (std::string hTag, std::string folder="", bool isGlb=false)
 Book the new MEs (CMS summary) More...
 
void bookSectorHistos (int wheel, int sector, std::string hTag, std::string folder="")
 Book the new MEs (for each sector) More...
 
void bookWheelHistos (int wheel, std::string hTag, std::string folder="")
 Book the new MEs (for each wheel) More...
 
std::string category ()
 Get message logger name. More...
 
void endJob ()
 EndJob. More...
 
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
 Perform client diagnostic in online. More...
 
void endRun (edm::Run const &run, edm::EventSetup const &context)
 Perform client diagnostic in offline. More...
 
std::string fullName (std::string htype)
 Create fullname from histo partial name. More...
 
template<class T >
TgetHisto (MonitorElement *me)
 Convert ME to Histogram fo type T. More...
 
std::string getMEName (std::string histoTag, std::string subfolder, const DTChamberId &chambid)
 Get the ME name (by chamber) More...
 
std::string getMEName (std::string histoTag, std::string subfolder, int wh)
 Get the ME name (by wheel) More...
 
std::pair< float, float > phiRange (const DTChamberId &id)
 Calculate phi range for histograms. More...
 
virtual void runClientDiagnostic ()=0
 Perform client analysis. More...
 
void setConfig (const edm::ParameterSet &ps, std::string name)
 Set configuration variables. More...
 
std::string & topFolder (bool isDCC)
 Get top folder name. 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

std::string baseFolderDCC
 
std::string baseFolderDDU
 
std::map< std::string,
MonitorElement * > 
cmsME
 
DQMStoredbe
 
std::string hwSource
 
std::vector< std::string > hwSources
 
edm::ESHandle< DTGeometrymuonGeom
 
int nevents
 
unsigned int nLumiSegs
 
edm::ParameterSet parameters
 
int prescaleFactor
 
int run
 
bool runOnline
 
std::map< int, std::map
< std::string, MonitorElement * > > 
secME
 
std::string sourceFolder
 
std::string testName
 
std::string trigSource
 
std::vector< std::string > trigSources
 
std::map< int, std::map
< std::string, MonitorElement * > > 
whME
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 37 of file DTLocalTriggerBaseTest.h.

Constructor & Destructor Documentation

DTLocalTriggerBaseTest::DTLocalTriggerBaseTest ( )
inline

Constructor.

Definition at line 42 of file DTLocalTriggerBaseTest.h.

42 {};
DTLocalTriggerBaseTest::~DTLocalTriggerBaseTest ( )
virtual

Destructor.

Definition at line 34 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, and nevents.

34  {
35 
36  LogVerbatim(category()) << "[" << testName << "Test]: analyzed " << nevents << " events";
37 
38 }
std::string category()
Get message logger name.

Member Function Documentation

void DTLocalTriggerBaseTest::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Analyze.

Implements edm::EDAnalyzer.

Definition at line 65 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, LogTrace, and nevents.

65  {
66 
67  nevents++;
68  LogTrace(category()) << "[" << testName << "Test]: "<<nevents<<" events";
69 
70 }
#define LogTrace(id)
std::string category()
Get message logger name.
void DTLocalTriggerBaseTest::beginJob ( void  )
protectedvirtual
void DTLocalTriggerBaseTest::beginLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  context 
)
protectedvirtual

Perform begin lumiblock operations.

Reimplemented from edm::EDAnalyzer.

Definition at line 55 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, LogTrace, edm::LuminosityBlockBase::run(), and DTTTrigCorrFirst::run.

55  {
56 
57  LogTrace(category()) <<"[" << testName << "Test]: Begin of LS transition";
58 
59  // Get the run number
60  run = lumiSeg.run();
61 
62 }
#define LogTrace(id)
std::string category()
Get message logger name.
void DTLocalTriggerBaseTest::beginRun ( edm::Run const &  run,
edm::EventSetup const &  context 
)
protectedvirtual
void DTLocalTriggerBaseTest::bookCmsHistos ( std::string  hTag,
std::string  folder = "",
bool  isGlb = false 
)
protected

Book the new MEs (CMS summary)

Definition at line 260 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, and MonitorElement::setAxisTitle().

260  {
261 
262  bool isDCC = hwSource == "DCC";
263  string basedir = topFolder(isDCC);
264  if (folder != "") {
265  basedir += folder +"/" ;
266  }
267  dbe->setCurrentFolder(basedir);
268 
269  string hname = isGlb ? hTag : fullName(hTag);
270  LogTrace(category()) << "[" << testName << "Test]: booking " << basedir << hname;
271 
272 
273  MonitorElement* me = dbe->book2D(hname.c_str(),hname.c_str(),12,1,13,5,-2,3);
274  me->setAxisTitle("Sector",1);
275  me->setAxisTitle("Wheel",2);
276  cmsME[hname] = me;
277 
278 }
#define LogTrace(id)
std::string category()
Get message logger name.
std::map< std::string, MonitorElement * > cmsME
std::string & topFolder(bool isDCC)
Get top folder name.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::string fullName(std::string htype)
Create fullname from histo partial name.
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
void DTLocalTriggerBaseTest::bookSectorHistos ( int  wheel,
int  sector,
std::string  hTag,
std::string  folder = "" 
)
protected

Book the new MEs (for each sector)

Definition at line 198 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, and MonitorElement::setBinLabel().

Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().

198  {
199 
200  stringstream wh; wh << wheel;
201  stringstream sc; sc << sector;
202  int sectorid = (wheel+3) + (sector-1)*5;
203  bool isDCC = hwSource=="DCC" ;
204  string basedir = topFolder(isDCC)+"Wheel"+wh.str()+"/Sector"+sc.str()+"/";
205  if (folder!="") {
206  basedir += folder +"/";
207  }
208  dbe->setCurrentFolder(basedir);
209 
210  string fullTag = fullName(hTag);
211  string hname = fullTag + "_W" + wh.str()+"_Sec" +sc.str();
212  LogTrace(category()) << "[" << testName << "Test]: booking " << basedir << hname;
213  if (hTag.find("BXDistribPhi") != string::npos){
214  MonitorElement* me = dbe->book2D(hname.c_str(),hname.c_str(),25,-4.5,20.5,4,0.5,4.5);
215  me->setBinLabel(1,"MB1",2);
216  me->setBinLabel(2,"MB2",2);
217  me->setBinLabel(3,"MB3",2);
218  me->setBinLabel(4,"MB4",2);
219  secME[sectorid][fullTag] = me;
220  return;
221  }
222  else if (hTag.find("QualDistribPhi") != string::npos){
223  MonitorElement* me = dbe->book2D(hname.c_str(),hname.c_str(),7,-0.5,6.5,4,0.5,4.5);
224  me->setBinLabel(1,"MB1",2);
225  me->setBinLabel(2,"MB2",2);
226  me->setBinLabel(3,"MB3",2);
227  me->setBinLabel(4,"MB4",2);
228  me->setBinLabel(1,"LI",1);
229  me->setBinLabel(2,"LO",1);
230  me->setBinLabel(3,"HI",1);
231  me->setBinLabel(4,"HO",1);
232  me->setBinLabel(5,"LL",1);
233  me->setBinLabel(6,"HL",1);
234  me->setBinLabel(7,"HH",1);
235  secME[sectorid][fullTag] = me;
236  return;
237  }
238  else if (hTag.find("Phi") != string::npos ||
239  hTag.find("TkvsTrig") != string::npos ){
240  MonitorElement* me = dbe->book1D(hname.c_str(),hname.c_str(),4,0.5,4.5);
241  me->setBinLabel(1,"MB1",1);
242  me->setBinLabel(2,"MB2",1);
243  me->setBinLabel(3,"MB3",1);
244  me->setBinLabel(4,"MB4",1);
245  secME[sectorid][fullTag] = me;
246  return;
247  }
248 
249  if (hTag.find("Theta") != string::npos){
250  MonitorElement* me =dbe->book1D(hname.c_str(),hname.c_str(),3,0.5,3.5);
251  me->setBinLabel(1,"MB1",1);
252  me->setBinLabel(2,"MB2",1);
253  me->setBinLabel(3,"MB3",1);
254  secME[sectorid][fullTag] = me;
255  return;
256  }
257 
258 }
std::map< int, std::map< std::string, MonitorElement * > > secME
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
#define LogTrace(id)
std::string category()
Get message logger name.
std::string & topFolder(bool isDCC)
Get top folder name.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
std::string fullName(std::string htype)
Create fullname from histo partial name.
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
void DTLocalTriggerBaseTest::bookWheelHistos ( int  wheel,
std::string  hTag,
std::string  folder = "" 
)
protected

Book the new MEs (for each wheel)

Definition at line 280 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().

Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().

280  {
281 
282  stringstream wh; wh << wheel;
283  string basedir;
284  bool isDCC = hwSource=="DCC" ;
285  if (hTag.find("Summary") != string::npos) {
286  basedir = topFolder(isDCC); //Book summary histo outside wheel directories
287  } else {
288  basedir = topFolder(isDCC) + "Wheel" + wh.str() + "/" ;
289 
290  }
291  if (folder != "") {
292  basedir += folder +"/" ;
293  }
294  dbe->setCurrentFolder(basedir);
295 
296  string fullTag = fullName(hTag);
297  string hname = fullTag+ "_W" + wh.str();
298 
299  LogTrace(category()) << "[" << testName << "Test]: booking "<< basedir << hname;
300 
301  if (hTag.find("Phi")!= string::npos ||
302  hTag.find("Summary") != string::npos ){
303  MonitorElement* me = dbe->book2D(hname.c_str(),hname.c_str(),12,1,13,4,1,5);
304 
305 // setLabelPh(me);
306  me->setBinLabel(1,"MB1",2);
307  me->setBinLabel(2,"MB2",2);
308  me->setBinLabel(3,"MB3",2);
309  me->setBinLabel(4,"MB4",2);
310  me->setAxisTitle("Sector",1);
311 
312  whME[wheel][fullTag] = me;
313  return;
314  }
315 
316  if (hTag.find("Theta") != string::npos){
317  MonitorElement* me =dbe->book2D(hname.c_str(),hname.c_str(),12,1,13,3,1,4);
318 
319 // setLabelTh(me);
320  me->setBinLabel(1,"MB1",2);
321  me->setBinLabel(2,"MB2",2);
322  me->setBinLabel(3,"MB3",2);
323  me->setAxisTitle("Sector",1);
324 
325  whME[wheel][fullTag] = me;
326  return;
327  }
328 
329 }
std::map< int, std::map< std::string, MonitorElement * > > whME
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
#define LogTrace(id)
std::string category()
Get message logger name.
std::string & topFolder(bool isDCC)
Get top folder name.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::string fullName(std::string htype)
Create fullname from histo partial name.
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
std::string DTLocalTriggerBaseTest::category ( void  )
inlineprotected

Get message logger name.

Definition at line 110 of file DTLocalTriggerBaseTest.h.

Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos().

110 { return "DTDQM|DTMonitorClient|" + testName + "Test"; } ;
void DTLocalTriggerBaseTest::endJob ( void  )
protectedvirtual

EndJob.

Reimplemented from edm::EDAnalyzer.

Reimplemented in DTLocalTriggerSynchTest.

Definition at line 89 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, and LogTrace.

Referenced by DTFineDelayCorr::endJob(), and DTLocalTriggerSynchTest::endJob().

89  {
90 
91  LogTrace(category()) << "[" << testName << "Test] endJob called!";
92 
93 }
#define LogTrace(id)
std::string category()
Get message logger name.
void DTLocalTriggerBaseTest::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  context 
)
protectedvirtual

Perform client diagnostic in online.

Reimplemented from edm::EDAnalyzer.

Definition at line 73 of file DTLocalTriggerBaseTest.cc.

References dtDQMClient_cfg::prescaleFactor.

73  {
74 
75  if (!runOnline) return;
76 
77  LogVerbatim("DTDQM|DTMonitorClient|DTLocalTriggerTest") <<"[" << testName << "Test]: End of LS transition, performing the DQM client operation";
78 
79  // counts number of lumiSegs and prescale
80  nLumiSegs++;
81  if ( nLumiSegs%prescaleFactor != 0 ) return;
82 
83  LogVerbatim("DTDQM|DTMonitorClient|DTLocalTriggerTest") <<"[" << testName << "Test]: "<<nLumiSegs<<" updates";
85 
86 }
virtual void runClientDiagnostic()=0
Perform client analysis.
void DTLocalTriggerBaseTest::endRun ( edm::Run const &  run,
edm::EventSetup const &  context 
)
protectedvirtual

Perform client diagnostic in offline.

Reimplemented from edm::EDAnalyzer.

Definition at line 96 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, and LogTrace.

96  {
97 
98  LogTrace(category()) << "[" << testName << "Test] endRun called!";
99 
100  if (!runOnline) {
101  LogVerbatim(category()) << "[" << testName << "Test] Client called in offline mode, performing client operations";
103  }
104 
105 }
#define LogTrace(id)
std::string category()
Get message logger name.
virtual void runClientDiagnostic()=0
Perform client analysis.
string DTLocalTriggerBaseTest::fullName ( std::string  htype)
protected

Create fullname from histo partial name.

Definition at line 134 of file DTLocalTriggerBaseTest.cc.

Referenced by valtools.benchmark::benchmarkOnWebSite(), DTLocalTriggerEfficiencyTest::bookChambHistos(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().

134  {
135 
136  return hwSource + "_" + htype + trigSource;
137 
138 }
template<class T >
T * DTLocalTriggerBaseTest::getHisto ( MonitorElement me)
protected

Convert ME to Histogram fo type T.

Definition at line 139 of file DTLocalTriggerBaseTest.h.

References MonitorElement::getRootObject().

139  {
140  return me ? dynamic_cast<T*>(me->getRootObject()) : 0;
141 }
TObject * getRootObject(void) const
long double T
std::string DTLocalTriggerBaseTest::getMEName ( std::string  histoTag,
std::string  subfolder,
const DTChamberId chambid 
)
protected

Get the ME name (by chamber)

Referenced by DTLocalTriggerEfficiencyTest::runClientDiagnostic().

std::string DTLocalTriggerBaseTest::getMEName ( std::string  histoTag,
std::string  subfolder,
int  wh 
)
protected

Get the ME name (by wheel)

pair< float, float > DTLocalTriggerBaseTest::phiRange ( const DTChamberId id)
protected

Calculate phi range for histograms.

Definition at line 331 of file DTLocalTriggerBaseTest.cc.

References DTLayerId, DTTopology::firstChannel(), DTTopology::lastChannel(), edm::max(), edm::min(), GeomDet::position(), DTLayer::specificTopology(), GeomDet::toLocal(), DTTopology::wirePosition(), and x.

331  {
332 
333  float min,max;
334  int station = id.station();
335  int sector = id.sector();
336  int wheel = id.wheel();
337 
338  const DTLayer *layer = muonGeom->layer(DTLayerId(id,1,1));
339  DTTopology topo = layer->specificTopology();
340  min = topo.wirePosition(topo.firstChannel());
341  max = topo.wirePosition(topo.lastChannel());
342 
343  if (station == 4){
344 
345  const DTLayer *layer2;
346  float lposx;
347 
348  if (sector == 4){
349  layer2 = muonGeom->layer(DTLayerId(wheel,station,13,1,1));
350  lposx = layer->toLocal(layer2->position()).x();
351  }
352  else if (sector == 10){
353  layer2 = muonGeom->layer(DTLayerId(wheel,station,14,1,1));
354  lposx = layer->toLocal(layer2->position()).x();
355  }
356  else
357  return make_pair(min,max);
358 
359  DTTopology topo2 = layer2->specificTopology();
360 
361  if (lposx>0){
362  max = lposx*.5+topo2.wirePosition(topo2.lastChannel());
363  min -= lposx*.5;
364  }
365  else{
366  min = lposx*.5+topo2.wirePosition(topo2.firstChannel());
367  max -= lposx*.5;
368  }
369 
370  }
371 
372  return make_pair(min,max);
373 
374 }
float wirePosition(int wireNumber) const
Returns the x position in the layer of a given wire number.
Definition: DTTopology.cc:86
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
Definition: GeomDet.h:62
edm::ESHandle< DTGeometry > muonGeom
int firstChannel() const
Returns the wire number of the first wire.
Definition: DTTopology.h:78
int lastChannel() const
Returns the wire number of the last wire.
Definition: DTTopology.h:80
const DTTopology & specificTopology() const
Definition: DTLayer.cc:42
const Surface::PositionType & position() const
The position (origin of the R.F.)
Definition: GeomDet.h:41
const T & max(const T &a, const T &b)
Definition: DDAxes.h:10
virtual void DTLocalTriggerBaseTest::runClientDiagnostic ( )
protectedpure virtual
void DTLocalTriggerBaseTest::setConfig ( const edm::ParameterSet ps,
std::string  name 
)
protected

Set configuration variables.

Definition at line 108 of file DTLocalTriggerBaseTest.cc.

References python.rootplot.argparse::category, edm::ParameterSet::getUntrackedParameter(), LogTrace, mergeVDriftHistosByStation::name, nevents, cppFunctionSkipper::operator, Parameters::parameters, and dtDQMClient_cfg::prescaleFactor.

Referenced by DTLocalTriggerEfficiencyTest::DTLocalTriggerEfficiencyTest().

108  {
109 
110  testName=name;
111 
112  LogTrace(category()) << "[" << testName << "Test]: Constructor";
113 
114  sourceFolder = ps.getUntrackedParameter<string>("folderRoot", "");
115  runOnline = ps.getUntrackedParameter<bool>("runOnline",true);
116  hwSources = ps.getUntrackedParameter<vector<string> >("hwSources");
117 
118  if (ps.getUntrackedParameter<bool>("localrun",true)) {
119  trigSources.push_back("");
120  }
121  else {
122  trigSources = ps.getUntrackedParameter<vector<string> >("trigSources");
123  }
124 
125  parameters = ps;
126  nevents = 0;
128 
129  prescaleFactor = parameters.getUntrackedParameter<int>("diagnosticPrescale", 1);
130 
131 }
T getUntrackedParameter(std::string const &, T const &) const
std::vector< std::string > trigSources
#define LogTrace(id)
std::string category()
Get message logger name.
std::vector< std::string > hwSources
std::string& DTLocalTriggerBaseTest::topFolder ( bool  isDCC)
inlineprotected

Get top folder name.

Definition at line 107 of file DTLocalTriggerBaseTest.h.

References baseFolderDCC, and baseFolderDDU.

Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos().

107 { return isDCC ? baseFolderDCC : baseFolderDDU; } ;

Member Data Documentation

std::string DTLocalTriggerBaseTest::baseFolderDCC
protected
std::string DTLocalTriggerBaseTest::baseFolderDDU
protected
std::map<std::string,MonitorElement*> DTLocalTriggerBaseTest::cmsME
protected

Definition at line 133 of file DTLocalTriggerBaseTest.h.

DQMStore* DTLocalTriggerBaseTest::dbe
protected
std::string DTLocalTriggerBaseTest::hwSource
protected
std::vector<std::string> DTLocalTriggerBaseTest::hwSources
protected
edm::ESHandle<DTGeometry> DTLocalTriggerBaseTest::muonGeom
protected

Definition at line 130 of file DTLocalTriggerBaseTest.h.

Referenced by DTLocalTriggerEfficiencyTest::beginRun().

int DTLocalTriggerBaseTest::nevents
protected

Definition at line 110 of file DTLocalTriggerBaseTest.h.

unsigned int DTLocalTriggerBaseTest::nLumiSegs
protected

Definition at line 115 of file DTLocalTriggerBaseTest.h.

edm::ParameterSet DTLocalTriggerBaseTest::parameters
protected
int DTLocalTriggerBaseTest::prescaleFactor
protected

Definition at line 116 of file DTLocalTriggerBaseTest.h.

int DTLocalTriggerBaseTest::run
protected
bool DTLocalTriggerBaseTest::runOnline
protected

Definition at line 125 of file DTLocalTriggerBaseTest.h.

std::map<int,std::map<std::string,MonitorElement*> > DTLocalTriggerBaseTest::secME
protected
std::string DTLocalTriggerBaseTest::sourceFolder
protected

Definition at line 123 of file DTLocalTriggerBaseTest.h.

std::string DTLocalTriggerBaseTest::testName
protected
std::string DTLocalTriggerBaseTest::trigSource
protected
std::vector<std::string> DTLocalTriggerBaseTest::trigSources
protected
std::map<int,std::map<std::string,MonitorElement*> > DTLocalTriggerBaseTest::whME
protected