CMS 3D CMS Logo

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  ~DTSegment4DQuality() override;
50 
51  // Operations
52 
54  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup) override;
55 
56  void beginRun(const edm::Run& iRun, const edm::EventSetup &setup) override;
57 
58  // Write the histos to file
59  void endJob() override;
60  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
61  edm::EventSetup const& c) override;
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 
89  HRes4DHit *h4DHitWS[3][4];
90 
95  HEff4DHit *hEffWS[3][4];
96 
98  bool doall;
99  bool local;
100 };
101 
102 #endif
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
edm::InputTag segment4DLabel
A set of histograms for efficiency 4D RecHits.
Definition: Histograms.h:1006
edm::InputTag simHitLabel
HLT enums.
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
Definition: event.py:1
Definition: Run.h:43