CMS 3D CMS Logo

CSCEfficiency.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_CSCEfficiency_H
2 #define RecoLocalMuon_CSCEfficiency_H
3 
10 // how many of the headers below are not needed?...
20 
27 
31 
34 
39 
44 
51 
54 
56 
58 #include "CLHEP/Matrix/Vector.h"
59 #include "CLHEP/Vector/ThreeVector.h"
60 
61 #include "TFile.h"
62 #include "TVector3.h"
63 #include "TProfile.h"
64 #include "TMath.h"
65 #include "TH1F.h"
66 #include "TH2F.h"
67 #include "TString.h"
68 
69 #include <iostream>
70 #include <iomanip>
71 #include <fstream>
72 //#include "Math/Interpolator.h"
73 
74 #include <vector>
75 #include <map>
76 #include <string>
77 
78 #define SQR(x) ((x) * (x))
79 
80 #define LastCh 36
81 #define FirstCh 1
82 #define NumCh (LastCh - FirstCh + 1)
83 
84 namespace edm {
85  class ParameterSet;
86  class Event;
87  class EventSetup;
88  class TriggerNames;
89 } // namespace edm
90 
91 class TFile;
92 class CSCLayer;
93 class CSCDetId;
94 
95 class CSCEfficiency : public edm::EDFilter {
96 public:
99 
101  ~CSCEfficiency() override;
102 
103 private:
104  void beginJob() override;
105  //---- analysis + filter
106  bool filter(edm::Event &event, const edm::EventSetup &eventSetup) override;
107 
108  void endJob() override;
109 
110  //---- (input) parameters
111  //---- Root file name
113 
114  //---- digi/object tokens
115 
123 
126 
128 
130 
131  //
132  unsigned int printout_NEvents;
133  bool isData;
134  bool isIPdata;
137  bool useDigis;
139  double minP;
140  double maxP;
141  double maxNormChi2;
142  unsigned int minTrackHits;
143 
148 
149  // trigger
151  std::vector<std::string> myTriggers;
152  std::vector<int> pointToTriggers;
153  bool andOr;
154 
155  //---- The muon service
157  //---- The root file for the histograms
158  TFile *theFile;
159  //---- printalot debug output
160  bool printalot;
161  //---- counter
163  //---- magnetic field
164  bool magField;
165  //---- track direction
166  bool alongZ;
167  //---- filter variable
169 
170  //---- Variables
171  //---- LCTs
172  bool allCLCT[2][4][4][NumCh]; //endcap/station/ring/chamber
173  bool allALCT[2][4][4][NumCh]; //endcap/station/ring/chamber
174  bool allCorrLCT[2][4][4][NumCh]; //endcap/station/ring/chamber
175 
176  //---- Strips: strip number and ADCPeak
177  std::vector<std::pair<int, float> > allStrips[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
178 
179  //----Wires: WG number and Y-position, time bin
180  std::vector<std::pair<std::pair<int, float>, int> > allWG[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
181 
182  //SetOfSimHits (*all_SimHits)[2][4][4][ NumCh];
183  //---- Simhits
184  std::vector<std::pair<LocalPoint, int> > allSimhits[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
185 
186  //rechits
187  //SetOfRecHits (*all_RecHits)[2][4][4][ NumCh];
188  std::vector<std::pair<LocalPoint, bool> > allRechits[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
189 
190  // segments
191  std::vector<std::pair<LocalPoint, LocalVector> > allSegments[2][4][4][NumCh]; //endcap/station/ring/chamber
192 
193  // empty chambers
194  bool emptyChambers[2][4][4][NumCh]; //endcap/station/ring/chamber
195 
196  //---- Functions
205  edm::ESHandle<CSCGeometry> &cscGeom);
213  edm::ESHandle<CSCGeometry> &cscGeom);
215 
216  void ringCandidates(int station, float absEta, std::map<std::string, bool> &chamberTypes);
217  void chamberCandidates(int station, int ring, float phi, std::vector<int> &coupleOfChambers);
218 
219  bool efficienciesPerChamber(CSCDetId &id, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber);
220  bool stripWire_Efficiencies(CSCDetId &cscDetId, FreeTrajectoryState &ftsChamber);
221  bool recHitSegment_Efficiencies(CSCDetId &cscDetId, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber);
222  bool recSimHitEfficiency(CSCDetId &id, FreeTrajectoryState &ftsChamber);
223  //
224  void returnTypes(CSCDetId &id, int &ec, int &st, int &rg, int &ch, int &secondRing);
225  //
226  void getFromFTS(const FreeTrajectoryState &fts,
227  CLHEP::Hep3Vector &p3,
228  CLHEP::Hep3Vector &r3,
229  int &charge,
230  AlgebraicSymMatrix66 &cov);
231 
232  FreeTrajectoryState getFromCLHEP(const CLHEP::Hep3Vector &p3,
233  const CLHEP::Hep3Vector &r3,
234  int charge,
235  const AlgebraicSymMatrix66 &cov,
236  const MagneticField *field);
237 
238  void linearExtrapolation(GlobalPoint initialPosition,
239  GlobalVector initialDirection,
240  float zSurface,
241  std::vector<float> &posZY);
242  double extrapolate1D(double initPosition, double initDirection, double parameterOfTheLine);
243  double lineParameter(double initZPosition, double destZPosition, double initZDirection);
244  bool inSensitiveLocalRegion(double xLocal, double yLocal, int station, int ring);
245  bool checkLocal(double yLocal, double yBoundary, int station, int ring);
246  void chooseDirection(CLHEP::Hep3Vector &innerPosition, CLHEP::Hep3Vector &outerPosition);
250  //bool applyTrigger(void);
251 
252  //---- Histograms
253  TH1F *DataFlow;
255  //
260  //---- Histogram set (stations)...
261  struct StationHistos {
273  } StHist[2][4];
274  //---- Histogram set (chambers)...
275  struct ChamberHistos {
290  std::vector<TH1F *> Y_InefficientRecHits_inSegment;
291  std::vector<TH1F *> Y_EfficientRecHits_inSegment;
292  std::vector<TH1F *> Phi_InefficientRecHits_inSegment;
293  std::vector<TH1F *> Phi_EfficientRecHits_inSegment;
294  //
295  TH1F *SimRechits;
296  TH1F *SimSimhits;
297  /*
298  TH1F * SimRechits_each;
299  TH1F * SimSimhits_each;
300  */
301  } ChHist[2][4][3][LastCh - FirstCh + 1];
302 };
303 
304 #endif
Vector3DBase
Definition: Vector3DBase.h:8
CSCEfficiency::propagate
TrajectoryStateOnSurface propagate(FreeTrajectoryState &ftsStart, const BoundPlane &bp)
Definition: CSCEfficiency.cc:1533
CSCEfficiency::ChamberHistos::EfficientStrips
TH1F * EfficientStrips
Definition: CSCEfficiency.h:285
Propagator.h
CSCRecHit2DCollection.h
CSCEfficiency::theService
MuonServiceProxy * theService
Definition: CSCEfficiency.h:156
CSCEfficiency::cl_token
edm::EDGetTokenT< CSCCLCTDigiCollection > cl_token
Definition: CSCEfficiency.h:119
CSCEfficiency::StationHistos::AllSegments_eta
TH1F * AllSegments_eta
Definition: CSCEfficiency.h:264
TrajectoryStateOnSurface.h
CSCEfficiency::alongZ
bool alongZ
Definition: CSCEfficiency.h:166
CSCEfficiency::beginJob
void beginJob() override
Definition: CSCEfficiency.cc:2057
Handle.h
CSCEfficiency::ChamberHistos::SimRechits
TH1F * SimRechits
Definition: CSCEfficiency.h:295
CSCEfficiency::ChamberHistos::InefficientALCT_dydz
TH1F * InefficientALCT_dydz
Definition: CSCEfficiency.h:282
CSCCorrelatedLCTDigiCollection.h
NumCh
#define NumCh
Definition: CSCEfficiency.h:82
FreeTrajectoryState.h
CSCEfficiency::StationHistos::InefficientALCT_momTheta
TH1F * InefficientALCT_momTheta
Definition: CSCEfficiency.h:270
CSCEfficiency::StationHistos::InefficientCLCT_momPhi
TH1F * InefficientCLCT_momPhi
Definition: CSCEfficiency.h:272
CSCEfficiency::StationHistos::ResidualSegments
TH1F * ResidualSegments
Definition: CSCEfficiency.h:266
MuonPatternRecoDumper.h
CSCEfficiency::local_DX_DZ_Max
double local_DX_DZ_Max
Definition: CSCEfficiency.h:147
CSCEfficiency::recSimHitEfficiency
bool recSimHitEfficiency(CSCDetId &id, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1265
CSCEfficiency::theFile
TFile * theFile
Definition: CSCEfficiency.h:158
CSCEfficiency::sh_token
edm::EDGetTokenT< edm::PSimHitContainer > sh_token
Definition: CSCEfficiency.h:125
CSCEfficiency::inSensitiveLocalRegion
bool inSensitiveLocalRegion(double xLocal, double yLocal, int station, int ring)
Definition: CSCEfficiency.cc:546
TriggerResults.h
AlgebraicObjects.h
CSCEfficiency::chamberCandidates
void chamberCandidates(int station, int ring, float phi, std::vector< int > &coupleOfChambers)
Definition: CSCEfficiency.cc:1011
CSCEfficiency::magField
bool magField
Definition: CSCEfficiency.h:164
CSCEfficiency::rh_token
edm::EDGetTokenT< CSCRecHit2DCollection > rh_token
Definition: CSCEfficiency.h:121
edm::EDGetTokenT< CSCWireDigiCollection >
relativeConstraints.station
station
Definition: relativeConstraints.py:67
edm
HLT enums.
Definition: AlignableModifier.h:19
CSCEfficiency::allSimhits
std::vector< std::pair< LocalPoint, int > > allSimhits[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:184
DigiDM_cff.wires
wires
Definition: DigiDM_cff.py:33
PSimHitContainer.h
CSCEfficiency::isIPdata
bool isIPdata
Definition: CSCEfficiency.h:134
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition: FastTrackerRecHitCombiner_cfi.py:5
EDFilter.h
CSCEfficiency::tk_token
edm::EDGetTokenT< edm::View< reco::Track > > tk_token
Definition: CSCEfficiency.h:124
CSCEfficiency::stripWire_Efficiencies
bool stripWire_Efficiencies(CSCDetId &cscDetId, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1175
CSCLayer
Definition: CSCLayer.h:24
TrajectoryMeasurement.h
CSCEfficiency::StationHistos::hitsInSegment
TH1F * hitsInSegment
Definition: CSCEfficiency.h:263
CSCEfficiency::ChamberHistos::Y_EfficientRecHits_inSegment
std::vector< TH1F * > Y_EfficientRecHits_inSegment
Definition: CSCEfficiency.h:291
edm::Handle< CSCALCTDigiCollection >
CSCEfficiency::getAbsoluteEfficiency
bool getAbsoluteEfficiency
Definition: CSCEfficiency.h:136
CSCEfficiency::CSCEfficiency
CSCEfficiency(const edm::ParameterSet &pset)
Constructor.
Definition: CSCEfficiency.cc:1640
CSCEfficiency::maxNormChi2
double maxNormChi2
Definition: CSCEfficiency.h:141
CSCEfficiency
Definition: CSCEfficiency.h:95
CSCEfficiency::wd_token
edm::EDGetTokenT< CSCWireDigiCollection > wd_token
Definition: CSCEfficiency.h:116
CSCEfficiency::pointToTriggers
std::vector< int > pointToTriggers
Definition: CSCEfficiency.h:152
CSCEfficiency::ChamberHistos::NoWires_momTheta
TH1F * NoWires_momTheta
Definition: CSCEfficiency.h:287
Propagator
Definition: Propagator.h:44
CSCEfficiency::passTheEvent
bool passTheEvent
Definition: CSCEfficiency.h:168
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MakerMacros.h
CSCEfficiency::allCLCT
bool allCLCT[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:172
CSCEfficiency::local_DY_DZ_Max
double local_DY_DZ_Max
Definition: CSCEfficiency.h:145
CSCEfficiency::ChamberHistos::SimSimhits
TH1F * SimSimhits
Definition: CSCEfficiency.h:296
CSCEfficiency::returnTypes
void returnTypes(CSCDetId &id, int &ec, int &st, int &rg, int &ch, int &secondRing)
Definition: CSCEfficiency.cc:1443
CSCEfficiency::andOr
bool andOr
Definition: CSCEfficiency.h:153
CSCEfficiency::StHist
struct CSCEfficiency::StationHistos StHist[2][4]
Track.h
TrackFwd.h
CSCEfficiency::StationHistos::segmentChi2_ndf
TH1F * segmentChi2_ndf
Definition: CSCEfficiency.h:262
CSCEfficiency::ChamberHistos::StripWiresCorrelations
TH1F * StripWiresCorrelations
Definition: CSCEfficiency.h:286
CSCEfficiency::lineParameter
double lineParameter(double initZPosition, double destZPosition, double initZDirection)
Definition: CSCEfficiency.cc:1502
CSCEfficiency::linearExtrapolation
void linearExtrapolation(GlobalPoint initialPosition, GlobalVector initialDirection, float zSurface, std::vector< float > &posZY)
Definition: CSCEfficiency.cc:1485
L1TEGammaOffline_cfi.triggerNames
triggerNames
Definition: L1TEGammaOffline_cfi.py:40
CSCEfficiency::allRechits
std::vector< std::pair< LocalPoint, bool > > allRechits[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:188
AlgebraicSymMatrix66
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Definition: AlgebraicROOTObjects.h:24
edm::ESHandle< CSCGeometry >
CSCEfficiency::fillDigiInfo
void fillDigiInfo(edm::Handle< CSCALCTDigiCollection > &alcts, edm::Handle< CSCCLCTDigiCollection > &clcts, edm::Handle< CSCCorrelatedLCTDigiCollection > &correlatedlcts, edm::Handle< CSCWireDigiCollection > &wires, edm::Handle< CSCStripDigiCollection > &strips, edm::Handle< edm::PSimHitContainer > &simhits, edm::Handle< CSCRecHit2DCollection > &rechits, edm::Handle< CSCSegmentCollection > &segments, edm::ESHandle< CSCGeometry > &cscGeom)
Definition: CSCEfficiency.cc:683
CSCChamber
Definition: CSCChamber.h:22
Event
CSCEfficiency::StationHistos::EfficientCLCT_momPhi
TH1F * EfficientCLCT_momPhi
Definition: CSCEfficiency.h:271
CSCEfficiency::StationHistos
Definition: CSCEfficiency.h:261
HI_PhotonSkim_cff.rechits
rechits
Definition: HI_PhotonSkim_cff.py:76
CSCEfficiency::ChamberHistos::EfficientALCT_dydz
TH1F * EfficientALCT_dydz
Definition: CSCEfficiency.h:281
Point3DBase< float, GlobalTag >
CSCEfficiency::ChHist
struct CSCEfficiency::ChamberHistos ChHist[2][4][3][36 - 1+1]
CSCEfficiency::getFromCLHEP
FreeTrajectoryState getFromCLHEP(const CLHEP::Hep3Vector &p3, const CLHEP::Hep3Vector &r3, int charge, const AlgebraicSymMatrix66 &cov, const MagneticField *field)
Definition: CSCEfficiency.cc:1471
CSCEfficiency::fillLCT_info
void fillLCT_info(edm::Handle< CSCALCTDigiCollection > &alcts, edm::Handle< CSCCLCTDigiCollection > &clcts, edm::Handle< CSCCorrelatedLCTDigiCollection > &correlatedlcts)
Definition: CSCEfficiency.cc:720
CSCEfficiency::allSegments
std::vector< std::pair< LocalPoint, LocalVector > > allSegments[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:191
GlobalTrackingGeometryRecord.h
CSCEfficiency::ChamberHistos::InefficientCLCT_dxdz
TH1F * InefficientCLCT_dxdz
Definition: CSCEfficiency.h:284
CSCEfficiency::StationHistos::EfficientSegments_XY
TH2F * EfficientSegments_XY
Definition: CSCEfficiency.h:267
CSCEfficiency::ChamberHistos::EfficientRechits_good
TH1F * EfficientRechits_good
Definition: CSCEfficiency.h:280
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSCEfficiency::ChamberHistos::InefficientSingleHits
TH1F * InefficientSingleHits
Definition: CSCEfficiency.h:277
CSCEfficiency::allCorrLCT
bool allCorrLCT[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:174
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
HLT_FULL_cff.propagatorName
propagatorName
Definition: HLT_FULL_cff.py:9521
FirstCh
#define FirstCh
Definition: CSCEfficiency.h:81
CSCEfficiency::fillSimhit_info
void fillSimhit_info(edm::Handle< edm::PSimHitContainer > &simHits)
Definition: CSCEfficiency.cc:826
CSCEfficiency::maxP
double maxP
Definition: CSCEfficiency.h:140
HLTBitAnalyser_cfi.simhits
simhits
SIM objects.
Definition: HLTBitAnalyser_cfi.py:21
CSCEfficiency::propagator
const Propagator * propagator(std::string propagatorName) const
Definition: CSCEfficiency.cc:1528
CSCEfficiency::ChamberHistos::EfficientRechits_inSegment
TH1F * EfficientRechits_inSegment
Definition: CSCEfficiency.h:276
edm::ParameterSet
Definition: ParameterSet.h:47
CSCEfficiency::rootFileName
std::string rootFileName
Definition: CSCEfficiency.h:112
Event.h
ParameterSet
Definition: Functions.h:16
CSCEfficiency::emptyChambers
bool emptyChambers[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:194
CSCEfficiency::myTriggers
std::vector< std::string > myTriggers
Definition: CSCEfficiency.h:151
CSCEfficiency::nEventsAnalyzed
int nEventsAnalyzed
Definition: CSCEfficiency.h:162
CSCEfficiency::extrapolate1D
double extrapolate1D(double initPosition, double initDirection, double parameterOfTheLine)
Definition: CSCEfficiency.cc:1497
CSCEfficiency::useTrigger
bool useTrigger
Definition: CSCEfficiency.h:150
CSCEfficiency::ChamberHistos::EfficientWireGroups
TH1F * EfficientWireGroups
Definition: CSCEfficiency.h:289
CSCDetId
Definition: CSCDetId.h:26
CSCEfficiency::distanceFromDeadZone
double distanceFromDeadZone
Definition: CSCEfficiency.h:138
CSCEfficiency::printalot
bool printalot
Definition: CSCEfficiency.h:160
CSCEfficiency::ChamberHistos::Phi_InefficientRecHits_inSegment
std::vector< TH1F * > Phi_InefficientRecHits_inSegment
Definition: CSCEfficiency.h:292
CSCEfficiency::StationHistos::EfficientSegments_eta
TH1F * EfficientSegments_eta
Definition: CSCEfficiency.h:265
CSCEfficiency::TriggersFired
TH1F * TriggersFired
Definition: CSCEfficiency.h:254
CSCEfficiency::isBeamdata
bool isBeamdata
Definition: CSCEfficiency.h:135
CSCEfficiency::geomToken_
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > geomToken_
Definition: CSCEfficiency.h:129
CSCEfficiency::ChamberHistos::Phi_EfficientRecHits_inSegment
std::vector< TH1F * > Phi_EfficientRecHits_inSegment
Definition: CSCEfficiency.h:293
CSCEfficiency::fillWG_info
void fillWG_info(edm::Handle< CSCWireDigiCollection > &wires, edm::ESHandle< CSCGeometry > &cscGeom)
Definition: CSCEfficiency.cc:766
edm::EDFilter
Definition: EDFilter.h:38
CSCStripDigiCollection.h
CSCEfficiency::chooseDirection
void chooseDirection(CLHEP::Hep3Vector &innerPosition, CLHEP::Hep3Vector &outerPosition)
Definition: CSCEfficiency.cc:1507
CSCEfficiency::applyTrigger
bool applyTrigger(edm::Handle< edm::TriggerResults > &hltR, const edm::TriggerNames &triggerNames)
Definition: CSCEfficiency.cc:1561
edm::EventSetup
Definition: EventSetup.h:58
CSCEfficiency::ChamberHistos
Definition: CSCEfficiency.h:275
CSCEfficiency::CLCTPerEvent
TH1F * CLCTPerEvent
Definition: CSCEfficiency.h:257
CSCEfficiency::local_DY_DZ_Min
double local_DY_DZ_Min
Definition: CSCEfficiency.h:146
CSCEfficiency::printout_NEvents
unsigned int printout_NEvents
Definition: CSCEfficiency.h:132
edm::ESGetToken< CSCGeometry, MuonGeometryRecord >
InputTag.h
CSCEfficiency::getFromFTS
void getFromFTS(const FreeTrajectoryState &fts, CLHEP::Hep3Vector &p3, CLHEP::Hep3Vector &r3, int &charge, AlgebraicSymMatrix66 &cov)
Definition: CSCEfficiency.cc:1456
DDAxes::phi
CSCEfficiency::co_token
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co_token
Definition: CSCEfficiency.h:120
CSCEfficiency::ht_token
edm::EDGetTokenT< edm::TriggerResults > ht_token
Definition: CSCEfficiency.h:127
CSCEfficiency::DataFlow
TH1F * DataFlow
Definition: CSCEfficiency.h:253
CSCEfficiency::allStrips
std::vector< std::pair< int, float > > allStrips[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:177
CSCEfficiency::fillRechitsSegments_info
void fillRechitsSegments_info(edm::Handle< CSCRecHit2DCollection > &rechits, edm::Handle< CSCSegmentCollection > &segments, edm::ESHandle< CSCGeometry > &cscGeom)
Definition: CSCEfficiency.cc:838
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
CSCEfficiency::recHitSegment_Efficiencies
bool recHitSegment_Efficiencies(CSCDetId &cscDetId, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1309
Frameworkfwd.h
LocalPoint.h
CSCEfficiency::checkLocal
bool checkLocal(double yLocal, double yBoundary, int station, int ring)
Definition: CSCEfficiency.cc:605
MuonServiceProxy.h
BoundPlane
CSCEfficiency::ALCTPerEvent
TH1F * ALCTPerEvent
Definition: CSCEfficiency.h:256
edm::TriggerNames
Definition: TriggerNames.h:55
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
CSCEfficiency::ChamberHistos::AllSingleHits
TH1F * AllSingleHits
Definition: CSCEfficiency.h:279
DetLayer.h
GlobalVector.h
CSCEfficiency::endJob
void endJob() override
Definition: CSCEfficiency.cc:2060
EventSetup.h
p3
double p3[4]
Definition: TauolaWrapper.h:91
CSCComparatorDigiCollection.h
CSCEfficiency::ChamberHistos::digiAppearanceCount
TH1F * digiAppearanceCount
Definition: CSCEfficiency.h:278
CSCEfficiency::se_token
edm::EDGetTokenT< CSCSegmentCollection > se_token
Definition: CSCEfficiency.h:122
CSCEfficiency::ChamberHistos::Y_InefficientRecHits_inSegment
std::vector< TH1F * > Y_InefficientRecHits_inSegment
Definition: CSCEfficiency.h:290
CSCEfficiency::fillStrips_info
void fillStrips_info(edm::Handle< CSCStripDigiCollection > &strips)
Definition: CSCEfficiency.cc:792
CSCWireDigiCollection.h
CSCALCTDigiCollection.h
LastCh
#define LastCh
Definition: CSCEfficiency.h:80
ConsumesCollector.h
CSCEfficiency::minTrackHits
unsigned int minTrackHits
Definition: CSCEfficiency.h:142
CSCEfficiency::StationHistos::EfficientALCT_momTheta
TH1F * EfficientALCT_momTheta
Definition: CSCEfficiency.h:269
EventSetup
CSCEfficiency::ChamberHistos::EfficientCLCT_dxdz
TH1F * EfficientCLCT_dxdz
Definition: CSCEfficiency.h:283
ParameterSet.h
CSCCLCTDigiCollection.h
MuonServiceProxy
Definition: MuonServiceProxy.h:38
CSCEfficiency::ChamberHistos::NoStrips_momPhi
TH1F * NoStrips_momPhi
Definition: CSCEfficiency.h:288
CSCEfficiency::~CSCEfficiency
~CSCEfficiency() override
Destructor.
Definition: CSCEfficiency.cc:1956
NavigationDirection.h
MuonGeometryRecord.h
CSCEfficiency::minP
double minP
Definition: CSCEfficiency.h:139
CSCEfficiency::efficienciesPerChamber
bool efficienciesPerChamber(CSCDetId &id, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1052
event
Definition: event.py:1
GlobalTrackingGeometry.h
edm::Event
Definition: Event.h:73
LocalVector.h
CSCEfficiency::filter
bool filter(edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: CSCEfficiency.cc:22
MagneticField
Definition: MagneticField.h:19
CSCEfficiency::ringCandidates
void ringCandidates(int station, float absEta, std::map< std::string, bool > &chamberTypes)
Definition: CSCEfficiency.cc:971
CSCEfficiency::recHitsPerEvent
TH1F * recHitsPerEvent
Definition: CSCEfficiency.h:258
CSCEfficiency::isData
bool isData
Definition: CSCEfficiency.h:133
GlobalPoint.h
DigiDM_cff.strips
strips
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers....
Definition: DigiDM_cff.py:32
CSCEfficiency::useDigis
bool useDigis
Definition: CSCEfficiency.h:137
CSCEfficiency::allWG
std::vector< std::pair< std::pair< int, float >, int > > allWG[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:180
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
CSCEfficiency::applyIPangleCuts
bool applyIPangleCuts
Definition: CSCEfficiency.h:144
CSCEfficiency::al_token
edm::EDGetTokenT< CSCALCTDigiCollection > al_token
Definition: CSCEfficiency.h:118
CSCGeometry.h
CSCEfficiency::sd_token
edm::EDGetTokenT< CSCStripDigiCollection > sd_token
Definition: CSCEfficiency.h:117
CSCEfficiency::segmentsPerEvent
TH1F * segmentsPerEvent
Definition: CSCEfficiency.h:259
CSCEfficiency::allALCT
bool allALCT[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:173
CSCEfficiency::StationHistos::InefficientSegments_XY
TH2F * InefficientSegments_XY
Definition: CSCEfficiency.h:268
CSCSegmentCollection.h