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 
14 #include "Histograms.h"
15 
16 #include <vector>
17 #include <map>
18 #include <string>
19 
20 namespace edm {
21  class ParameterSet;
22  class Event;
23  class EventSetup;
24 }
25 
26 class TFile;
27 
29 public:
32 
34  virtual ~DTSegment2DSLPhiQuality();
35 
36  // Operations
37 
39  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
40  // Write the histos to file
41  void endJob();
42 
43 protected:
44 
45 private:
46 
47  // The file which will store the histos
48  TFile *theFile;
49  // Switch for debug output
50  bool debug;
51  // Root file name
52  std::string rootFileName;
53  //Labels to read from event
54  std::string simHitLabel;
55  std::string segment4DLabel;
56  //Sigma resolution on position
57  double sigmaResPos;
58  //Sigma resolution on angle
59  double sigmaResAngle;
60 
63 };
64 #endif
DTSegment2DSLPhiQuality(const edm::ParameterSet &pset)
Constructor.
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Perform the real analysis.
tuple pset
Definition: CrabTask.py:85
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
virtual ~DTSegment2DSLPhiQuality()
Destructor.