CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
virtual ~DTSegment2DQuality()
Destructor.
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &setup)
edm::InputTag simHitLabel
DTSegment2DQuality(const edm::ParameterSet &pset)
Constructor.
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Perform the real analysis.
HEff2DHit * h2DHitEff_RZ_W0
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
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
HEff2DHit * h2DHitEff_RZ_W1
HEff2DHit * h2DHitEff_RPhi
edm::InputTag segment2DLabel
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
HEff2DHit * h2DHitEff_RZ_W2
Definition: Run.h:41