CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTSegment4DQuality.h
Go to the documentation of this file.
1 #ifndef Validation_DTSegment4D_H
2 #define Validation_DTSegment4D_H
3 
24 #include "Histograms.h"
29 
30 #include <vector>
31 #include <map>
32 #include <string>
33 
34 namespace edm {
35  class ParameterSet;
36  class Event;
37  class EventSetup;
38 }
39 
40 class TFile;
41 class MonitorElement;
42 
44 public:
47 
49  virtual ~DTSegment4DQuality();
50 
51  // Operations
52 
54  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
55  // Write the histos to file
56  void endJob();
57  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
58  edm::EventSetup const& c);
59 
60 protected:
61 
62 private:
63 
64  // The file which will store the histos
65  //TFile *theFile;
66  // Switch for debug output
67  bool debug;
68  // Root file name
70  //Labels to read from event
73  //Sigma resolution on position
74  double sigmaResX;
75  double sigmaResY;
76  //Sigma resolution on angle
77  double sigmaResAlpha;
78  double sigmaResBeta;
79 
85 
90  HEff4DHit *hEffWS[3][4];
91 
94 
96  bool doall;
97  bool local;
98 };
99 
100 #endif
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Perform the real analysis.
virtual ~DTSegment4DQuality()
Destructor.
edm::InputTag segment4DLabel
DTSegment4DQuality(const edm::ParameterSet &pset)
Constructor.
HRes4DHit * h4DHitWS[3][4]
MonitorElement * hHitMult[3][4]
A set of histograms for efficiency 4D RecHits.
Definition: Histograms.h:1116
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
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::InputTag simHitLabel
HEff4DHit * hEffWS[3][4]
MonitorElement * ht0[3][4]