CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTnoiseDBValidation.h
Go to the documentation of this file.
1 #ifndef DTnoiseDBValidation_H
2 #define DTnoiseDBValidation_H
3 
19 
20 #include <string>
21 #include <vector>
22 #include <map>
23 
24 class DTGeometry;
25 class DTChamberId;
26 class DTStatusFlag;
27 class TFile;
28 
30 public:
33 
35  virtual ~DTnoiseDBValidation();
36 
38  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
39  void endRun(edm::Run const&, edm::EventSetup const&);
40  void endJob();
41  void analyze(const edm::Event& event, const edm::EventSetup& setup) {}
42 
43 protected:
44 
45 private:
46  void bookHisto(const DTChamberId&);
47 
49  // The DB label
54 
57 
58  // The DTGeometry
60 
61  // The noise map
64 
65  //the total number of noisy cell
68  // the histos
74  std::map<DTChamberId, MonitorElement*> noiseHistoMap_;
75 
76 };
77 #endif
78 
MonitorElement * wheelHisto_
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
Operations.
std::map< DTChamberId, MonitorElement * > noiseHistoMap_
void bookHisto(const DTChamberId &)
const DTStatusFlag * noiseRefMap_
const DTStatusFlag * noiseMap_
DTnoiseDBValidation(const edm::ParameterSet &pset)
Constructor.
MonitorElement * diffHisto_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
edm::ESHandle< DTGeometry > dtGeom_
void endRun(edm::Run const &, edm::EventSetup const &)
MonitorElement * stationHisto_
virtual ~DTnoiseDBValidation()
Destructor.
void analyze(const edm::Event &event, const edm::EventSetup &setup)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
MonitorElement * layerHisto_
Definition: Run.h:43
MonitorElement * sectorHisto_