test
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"
30 
31 #include <vector>
32 #include <map>
33 #include <string>
34 
35 namespace edm {
36  class ParameterSet;
37  class Event;
38  class EventSetup;
39 }
40 
41 class TFile;
42 
44 public:
47 
49  virtual ~DTSegment4DQuality();
50 
51  // Operations
52 
54  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
55 
56  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup &setup);
57 
58  // Write the histos to file
59  void endJob();
60  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
61  edm::EventSetup const& c);
62 
63 protected:
64 
65 private:
66 
67  // The file which will store the histos
68  //TFile *theFile;
69  // Switch for debug output
70  bool debug;
71  // Root file name
73  //Labels to read from event
78  //Sigma resolution on position
79  double sigmaResX;
80  double sigmaResY;
81  //Sigma resolution on angle
82  double sigmaResAlpha;
83  double sigmaResBeta;
84 
90 
95  HEff4DHit *hEffWS[3][4];
96 
98  bool doall;
99  bool local;
100 };
101 
102 #endif
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Perform the real analysis.
virtual ~DTSegment4DQuality()
Destructor.
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
edm::InputTag segment4DLabel
DTSegment4DQuality(const edm::ParameterSet &pset)
Constructor.
HRes4DHit * h4DHitWS[3][4]
A set of histograms for efficiency 4D RecHits.
Definition: Histograms.h:1006
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
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &setup)
HEff4DHit * hEffWS[3][4]
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
Definition: Run.h:43