CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTChamberEfficiency.h
Go to the documentation of this file.
1 #ifndef DTCHAMBEREFFICIENCY_H
2 #define DTCHAMBEREFFICIENCY_H
3 
21 
22 
25 
29 
31 
35 
37 #include <vector>
38 
39 namespace reco {
40  class TransientTrack;
41 }
42 
43 
44 
46 class MuonServiceProxy;
47 
48 class DQMStore;
49 class MonitorElement;
51 class DetLayer;
52 class DetId;
53 
55 {
56 
57  public:
58  //Constructor
60 
61  //Destructor
63 
64  //Operations
65  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
66  void beginJob();
67  void beginRun(const edm::Run& , const edm::EventSetup&);
68  void endJob();
69 
70  private:
71 
72  //functions
73  std::vector<const DetLayer*> compatibleLayers(const DetLayer *initialLayer,
74  const FreeTrajectoryState& fts, PropagationDirection propDir);
75 
76 
77  void bookHistos();
79  bool chamberSelection(const DetId& idDetLay, reco::TransientTrack& trans_track) const;
81 
82  //data members
83  bool debug;
84 
86 
90 
91  double theMaxChi2;
92  double theNSigma;
94 
96 
98 
100 
104 
107 
108  //std::map<DTChamberId, std::vector<MonitorElement*> > histosPerW;
109 
110  std::vector<std::vector<MonitorElement*> > histosPerW;
111 
112  protected:
113 
114 };
115 
116 #endif // DTANALYZER_H
MuonDetLayerMeasurements * theMeasurementExtractor
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
edm::ESHandle< DTGeometry > dtGeom
MuonServiceProxy * theService
edm::InputTag thecscSegments
std::vector< std::vector< MonitorElement * > > histosPerW
DTChamberEfficiency(const edm::ParameterSet &pset)
PropagationDirection
edm::InputTag labelRPCRecHits
std::vector< const DetLayer * > compatibleLayers(const DetLayer *initialLayer, const FreeTrajectoryState &fts, PropagationDirection propDir)
edm::InputTag thedt4DSegments
bool chamberSelection(const DetId &idDetLay, reco::TransientTrack &trans_track) const
edm::ESHandle< Propagator > propagator() const
edm::InputTag theTracksLabel
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
edm::ESHandle< MagneticField > magfield
void beginRun(const edm::Run &, const edm::EventSetup &)
MeasurementContainer segQualityCut(const MeasurementContainer seg_list) const
Definition: DetId.h:20
std::vector< TrajectoryMeasurement > MeasurementContainer
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Chi2MeasurementEstimator * theEstimator
Definition: Run.h:36