CMS 3D CMS Logo

DTSegment2DQuality.h
Go to the documentation of this file.
1 #ifndef Validation_DTSegment2D_H
2 #define Validation_DTSegment2D_H
3 
12 #include "Histograms.h"
19 
20 #include <vector>
21 #include <map>
22 #include <string>
23 
24 namespace edm {
25  class ParameterSet;
26  class Event;
27  class EventSetup;
28 }
29 
30 class TFile;
31 
33 public:
36 
38  virtual ~DTSegment2DQuality();
39 
40  // Operations
41 
43  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
44 
45  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup &setup);
46 
47  // Write the histos to file
48  void endJob();
49 
50 protected:
51 
52 private:
53 
54  // The file which will store the histos
55  //TFile *theFile;
56  // Switch for debug output
57  bool debug;
58  // Root file name
60  //Labels to read from event
65 
66  //Sigma resolution on position
67  double sigmaResPos;
68  //Sigma resolution on angle
69  double sigmaResAngle;
70 
76 
83 };
84 #endif
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
edm::InputTag simHitLabel
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
HEff2DHit * h2DHitEff_RZ_W0
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
HEff2DHit * h2DHitEff_RZ_W1
HEff2DHit * h2DHitEff_RPhi
HLT enums.
edm::InputTag segment2DLabel
HEff2DHit * h2DHitEff_RZ_W2
Definition: event.py:1
Definition: Run.h:42