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 class NavigationSchool;
54 
56 {
57 
58  public:
59  //Constructor
61 
62  //Destructor
64 
65  //Operations
66  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
67  void beginJob();
68  void beginRun(const edm::Run& , const edm::EventSetup&);
69  void endJob();
70 
71  private:
72 
73  //functions
74  std::vector<const DetLayer*> compatibleLayers(const NavigationSchool& navigationSchool, const DetLayer *initialLayer,
75  const FreeTrajectoryState& fts, PropagationDirection propDir);
76 
77 
78  void bookHistos();
80  bool chamberSelection(const DetId& idDetLay, reco::TransientTrack& trans_track) const;
82 
83  //data members
84  bool debug;
85 
88 
92 
93  double theMaxChi2;
94  double theNSigma;
96 
98 
100 
102 
106 
109 
110  //std::map<DTChamberId, std::vector<MonitorElement*> > histosPerW;
111 
112  std::vector<std::vector<MonitorElement*> > histosPerW;
113 
114  protected:
115 
116 };
117 
118 #endif // DTANALYZER_H
119 
120 /* Local Variables: */
121 /* show-trailing-whitespace: t */
122 /* truncate-lines: t */
123 /* End: */
MuonDetLayerMeasurements * theMeasurementExtractor
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
edm::ESHandle< DTGeometry > dtGeom
MuonServiceProxy * theService
MeasurementContainer segQualityCut(const MeasurementContainer &seg_list) const
edm::InputTag thecscSegments
std::vector< std::vector< MonitorElement * > > histosPerW
DTChamberEfficiency(const edm::ParameterSet &pset)
PropagationDirection
edm::InputTag labelRPCRecHits
edm::EDGetTokenT< reco::TrackCollection > theTracksToken_
edm::InputTag thedt4DSegments
bool chamberSelection(const DetId &idDetLay, reco::TransientTrack &trans_track) const
edm::ESHandle< Propagator > propagator() const
std::vector< const DetLayer * > compatibleLayers(const NavigationSchool &navigationSchool, const DetLayer *initialLayer, const FreeTrajectoryState &fts, PropagationDirection propDir)
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 &)
Definition: DetId.h:18
edm::InputTag theTracksLabel_
std::vector< TrajectoryMeasurement > MeasurementContainer
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Chi2MeasurementEstimator * theEstimator
Definition: Run.h:41