test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTSegment2DSLPhiQuality.h
Go to the documentation of this file.
1 #ifndef Validation_DTSegment2DSLPhi_H
2 #define Validation_DTSegment2DSLPhi_H
3 
12 #include "Histograms.h"
16 #include "TStyle.h"
17 #include <vector>
18 #include <map>
19 #include <string>
23 
24 
25 namespace edm {
26  class ParameterSet;
27  class Event;
28  class EventSetup;
29 }
30 
31 class TFile;
32 
34 public:
37 
39  virtual ~DTSegment2DSLPhiQuality();
40 
41  // Operations
42 
44  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
45 
46  virtual void beginRun(const edm::Run& iRun, const edm::EventSetup &setup);
47 
48  // Write the histos to file
49  void endJob();
50  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
51  edm::EventSetup const& c);
52 
53 
54 protected:
55 
56 private:
57 
58  // The file which will store the histos
59  //TFile *theFile;
60  // Switch for debug output
61  bool debug;
62  // Root file name
64  //Labels to read from event
69  //Sigma resolution on position
70  double sigmaResPos;
71  //Sigma resolution on angle
72  double sigmaResAngle;
73 
77  bool doall;
78  bool local;
79  // TStyle * mystyle;
80 };
81 #endif
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
DTSegment2DSLPhiQuality(const edm::ParameterSet &pset)
Constructor.
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Perform the real analysis.
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &setup)
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
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
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
virtual ~DTSegment2DSLPhiQuality()
Destructor.
Definition: Run.h:43