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?...
19 
26 
29 
32 
38 
43 
48 
51 
58 
63 
70 
73 
75 
77 #include "CLHEP/Matrix/Vector.h"
78 #include "CLHEP/Vector/ThreeVector.h"
79 
80 #include "TFile.h"
81 #include "TVector3.h"
82 #include "TProfile.h"
83 #include "TMath.h"
84 #include "TH1F.h"
85 #include "TH2F.h"
86 #include "TString.h"
87 
88 #include <iostream>
89 #include <iomanip>
90 #include <fstream>
91 //#include "Math/Interpolator.h"
92 
93 #include <vector>
94 #include <map>
95 #include <string>
96 
97 #define SQR(x) ((x) * (x))
98 
99 #define LastCh 36
100 #define FirstCh 1
101 #define NumCh (LastCh - FirstCh + 1)
102 
103 namespace edm {
104  class ParameterSet;
105  class Event;
106  class EventSetup;
107  class TriggerNames;
108 } // namespace edm
109 
110 class TFile;
111 class CSCLayer;
112 class CSCDetId;
113 
114 class CSCEfficiency : public edm::EDFilter {
115 public:
118 
120  ~CSCEfficiency() override;
121 
122 private:
123  void beginJob() override;
124  //---- analysis + filter
125  bool filter(edm::Event &event, const edm::EventSetup &eventSetup) override;
126 
127  void endJob() override;
128 
129  //---- (input) parameters
130  //---- Root file name
132 
133  //---- digi/object tokens
134 
142 
145 
147 
148  //
149  unsigned int printout_NEvents;
150  bool isData;
151  bool isIPdata;
154  bool useDigis;
156  double minP;
157  double maxP;
158  double maxNormChi2;
159  unsigned int minTrackHits;
160 
165 
166  // trigger
168  std::vector<std::string> myTriggers;
169  std::vector<int> pointToTriggers;
170  bool andOr;
171 
172  //---- The muon service
174  //---- The root file for the histograms
175  TFile *theFile;
176  //---- printalot debug output
177  bool printalot;
178  //---- counter
180  //---- magnetic field
181  bool magField;
182  //---- track direction
183  bool alongZ;
184  //---- filter variable
186 
187  //---- Variables
188  //---- LCTs
189  bool allCLCT[2][4][4][NumCh]; //endcap/station/ring/chamber
190  bool allALCT[2][4][4][NumCh]; //endcap/station/ring/chamber
191  bool allCorrLCT[2][4][4][NumCh]; //endcap/station/ring/chamber
192 
193  //---- Strips: strip number and ADCPeak
194  std::vector<std::pair<int, float> > allStrips[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
195 
196  //----Wires: WG number and Y-position, time bin
197  std::vector<std::pair<std::pair<int, float>, int> > allWG[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
198 
199  //SetOfSimHits (*all_SimHits)[2][4][4][ NumCh];
200  //---- Simhits
201  std::vector<std::pair<LocalPoint, int> > allSimhits[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
202 
203  //rechits
204  //SetOfRecHits (*all_RecHits)[2][4][4][ NumCh];
205  std::vector<std::pair<LocalPoint, bool> > allRechits[2][4][4][NumCh][6]; //endcap/station/ring/chamber/layer
206 
207  // segments
208  std::vector<std::pair<LocalPoint, LocalVector> > allSegments[2][4][4][NumCh]; //endcap/station/ring/chamber
209 
210  // empty chambers
211  bool emptyChambers[2][4][4][NumCh]; //endcap/station/ring/chamber
212 
213  //---- Functions
222  edm::ESHandle<CSCGeometry> &cscGeom);
230  edm::ESHandle<CSCGeometry> &cscGeom);
232 
233  void ringCandidates(int station, float absEta, std::map<std::string, bool> &chamberTypes);
234  void chamberCandidates(int station, int ring, float phi, std::vector<int> &coupleOfChambers);
235 
236  bool efficienciesPerChamber(CSCDetId &id, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber);
237  bool stripWire_Efficiencies(CSCDetId &cscDetId, FreeTrajectoryState &ftsChamber);
238  bool recHitSegment_Efficiencies(CSCDetId &cscDetId, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber);
239  bool recSimHitEfficiency(CSCDetId &id, FreeTrajectoryState &ftsChamber);
240  //
241  void returnTypes(CSCDetId &id, int &ec, int &st, int &rg, int &ch, int &secondRing);
242  //
243  void getFromFTS(const FreeTrajectoryState &fts,
244  CLHEP::Hep3Vector &p3,
245  CLHEP::Hep3Vector &r3,
246  int &charge,
247  AlgebraicSymMatrix66 &cov);
248 
249  FreeTrajectoryState getFromCLHEP(const CLHEP::Hep3Vector &p3,
250  const CLHEP::Hep3Vector &r3,
251  int charge,
252  const AlgebraicSymMatrix66 &cov,
253  const MagneticField *field);
254 
255  void linearExtrapolation(GlobalPoint initialPosition,
256  GlobalVector initialDirection,
257  float zSurface,
258  std::vector<float> &posZY);
259  double extrapolate1D(double initPosition, double initDirection, double parameterOfTheLine);
260  double lineParameter(double initZPosition, double destZPosition, double initZDirection);
261  bool inSensitiveLocalRegion(double xLocal, double yLocal, int station, int ring);
262  bool checkLocal(double yLocal, double yBoundary, int station, int ring);
263  void chooseDirection(CLHEP::Hep3Vector &innerPosition, CLHEP::Hep3Vector &outerPosition);
267  //bool applyTrigger(void);
268 
269  //---- Histograms
270  TH1F *DataFlow;
272  //
277  //---- Histogram set (stations)...
278  struct StationHistos {
290  } StHist[2][4];
291  //---- Histogram set (chambers)...
292  struct ChamberHistos {
307  std::vector<TH1F *> Y_InefficientRecHits_inSegment;
308  std::vector<TH1F *> Y_EfficientRecHits_inSegment;
309  std::vector<TH1F *> Phi_InefficientRecHits_inSegment;
310  std::vector<TH1F *> Phi_EfficientRecHits_inSegment;
311  //
312  TH1F *SimRechits;
313  TH1F *SimSimhits;
314  /*
315  TH1F * SimRechits_each;
316  TH1F * SimSimhits_each;
317  */
318  } ChHist[2][4][3][LastCh - FirstCh + 1];
319 };
320 
321 #endif
Vector3DBase
Definition: Vector3DBase.h:8
CSCEfficiency::propagate
TrajectoryStateOnSurface propagate(FreeTrajectoryState &ftsStart, const BoundPlane &bp)
Definition: CSCEfficiency.cc:1539
CSCEfficiency::ChamberHistos::EfficientStrips
TH1F * EfficientStrips
Definition: CSCEfficiency.h:302
Propagator.h
CSCRecHit2DCollection.h
CSCEfficiency::theService
MuonServiceProxy * theService
Definition: CSCEfficiency.h:173
CSCEfficiency::cl_token
edm::EDGetTokenT< CSCCLCTDigiCollection > cl_token
Definition: CSCEfficiency.h:138
CSCEfficiency::StationHistos::AllSegments_eta
TH1F * AllSegments_eta
Definition: CSCEfficiency.h:281
TrajectoryStateOnSurface.h
CSCEfficiency::alongZ
bool alongZ
Definition: CSCEfficiency.h:183
CSCEfficiency::beginJob
void beginJob() override
Definition: CSCEfficiency.cc:2061
Handle.h
CSCEfficiency::ChamberHistos::SimRechits
TH1F * SimRechits
Definition: CSCEfficiency.h:312
CSCEfficiency::ChamberHistos::InefficientALCT_dydz
TH1F * InefficientALCT_dydz
Definition: CSCEfficiency.h:299
CSCCorrelatedLCTDigiCollection.h
NumCh
#define NumCh
Definition: CSCEfficiency.h:101
FreeTrajectoryState.h
CSCEfficiency::StationHistos::InefficientALCT_momTheta
TH1F * InefficientALCT_momTheta
Definition: CSCEfficiency.h:287
CSCEfficiency::StationHistos::InefficientCLCT_momPhi
TH1F * InefficientCLCT_momPhi
Definition: CSCEfficiency.h:289
CSCEfficiency::StationHistos::ResidualSegments
TH1F * ResidualSegments
Definition: CSCEfficiency.h:283
MuonPatternRecoDumper.h
CSCEfficiency::local_DX_DZ_Max
double local_DX_DZ_Max
Definition: CSCEfficiency.h:164
CSCEfficiency::recSimHitEfficiency
bool recSimHitEfficiency(CSCDetId &id, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1271
CSCEfficiency::theFile
TFile * theFile
Definition: CSCEfficiency.h:175
CSCEfficiency::sh_token
edm::EDGetTokenT< edm::PSimHitContainer > sh_token
Definition: CSCEfficiency.h:144
CSCEfficiency::inSensitiveLocalRegion
bool inSensitiveLocalRegion(double xLocal, double yLocal, int station, int ring)
Definition: CSCEfficiency.cc:547
ESHandle.h
TriggerResults.h
AlgebraicObjects.h
CSCEfficiency::chamberCandidates
void chamberCandidates(int station, int ring, float phi, std::vector< int > &coupleOfChambers)
Definition: CSCEfficiency.cc:1017
CSCEfficiency::magField
bool magField
Definition: CSCEfficiency.h:181
CSCEfficiency::rh_token
edm::EDGetTokenT< CSCRecHit2DCollection > rh_token
Definition: CSCEfficiency.h:140
edm::EDGetTokenT< CSCWireDigiCollection >
CSCStripDigi.h
relativeConstraints.station
station
Definition: relativeConstraints.py:67
CSCWireDigi.h
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:201
DigiDM_cff.wires
wires
Definition: DigiDM_cff.py:33
PSimHitContainer.h
CSCEfficiency::isIPdata
bool isIPdata
Definition: CSCEfficiency.h:151
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:143
CSCEfficiency::stripWire_Efficiencies
bool stripWire_Efficiencies(CSCDetId &cscDetId, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1181
CSCCorrelatedLCTDigi.h
CSCLayer
Definition: CSCLayer.h:24
TrajectoryMeasurement.h
CSCEfficiency::StationHistos::hitsInSegment
TH1F * hitsInSegment
Definition: CSCEfficiency.h:280
CSCEfficiency::ChamberHistos::Y_EfficientRecHits_inSegment
std::vector< TH1F * > Y_EfficientRecHits_inSegment
Definition: CSCEfficiency.h:308
edm::Handle< CSCALCTDigiCollection >
CSCEfficiency::getAbsoluteEfficiency
bool getAbsoluteEfficiency
Definition: CSCEfficiency.h:153
CSCEfficiency::CSCEfficiency
CSCEfficiency(const edm::ParameterSet &pset)
Constructor.
Definition: CSCEfficiency.cc:1646
CSCEfficiency::maxNormChi2
double maxNormChi2
Definition: CSCEfficiency.h:158
CSCDetId.h
CSCEfficiency
Definition: CSCEfficiency.h:114
CSCEfficiency::wd_token
edm::EDGetTokenT< CSCWireDigiCollection > wd_token
Definition: CSCEfficiency.h:135
CSCEfficiency::pointToTriggers
std::vector< int > pointToTriggers
Definition: CSCEfficiency.h:169
CSCEfficiency::ChamberHistos::NoWires_momTheta
TH1F * NoWires_momTheta
Definition: CSCEfficiency.h:304
CSCComparatorDigi.h
Propagator
Definition: Propagator.h:44
CSCEfficiency::passTheEvent
bool passTheEvent
Definition: CSCEfficiency.h:185
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MakerMacros.h
CSCEfficiency::allCLCT
bool allCLCT[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:189
CSCALCTDigi.h
CSCEfficiency::local_DY_DZ_Max
double local_DY_DZ_Max
Definition: CSCEfficiency.h:162
CSCEfficiency::ChamberHistos::SimSimhits
TH1F * SimSimhits
Definition: CSCEfficiency.h:313
CSCEfficiency::returnTypes
void returnTypes(CSCDetId &id, int &ec, int &st, int &rg, int &ch, int &secondRing)
Definition: CSCEfficiency.cc:1449
CSCEfficiency::andOr
bool andOr
Definition: CSCEfficiency.h:170
CSCEfficiency::StHist
struct CSCEfficiency::StationHistos StHist[2][4]
Track.h
TrackFwd.h
CSCEfficiency::StationHistos::segmentChi2_ndf
TH1F * segmentChi2_ndf
Definition: CSCEfficiency.h:279
CSCEfficiency::ChamberHistos::StripWiresCorrelations
TH1F * StripWiresCorrelations
Definition: CSCEfficiency.h:303
CSCEfficiency::lineParameter
double lineParameter(double initZPosition, double destZPosition, double initZDirection)
Definition: CSCEfficiency.cc:1508
CSCEfficiency::linearExtrapolation
void linearExtrapolation(GlobalPoint initialPosition, GlobalVector initialDirection, float zSurface, std::vector< float > &posZY)
Definition: CSCEfficiency.cc:1491
L1TEGammaOffline_cfi.triggerNames
triggerNames
Definition: L1TEGammaOffline_cfi.py:40
HLT_2018_cff.propagatorName
propagatorName
Definition: HLT_2018_cff.py:8200
CSCEfficiency::allRechits
std::vector< std::pair< LocalPoint, bool > > allRechits[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:205
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:684
CSCChamber
Definition: CSCChamber.h:22
CSCLayerGeometry.h
Event
CSCEfficiency::StationHistos::EfficientCLCT_momPhi
TH1F * EfficientCLCT_momPhi
Definition: CSCEfficiency.h:288
CSCEfficiency::StationHistos
Definition: CSCEfficiency.h:278
CSCEfficiency::ChamberHistos::EfficientALCT_dydz
TH1F * EfficientALCT_dydz
Definition: CSCEfficiency.h:298
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:1477
CSCEfficiency::fillLCT_info
void fillLCT_info(edm::Handle< CSCALCTDigiCollection > &alcts, edm::Handle< CSCCLCTDigiCollection > &clcts, edm::Handle< CSCCorrelatedLCTDigiCollection > &correlatedlcts)
Definition: CSCEfficiency.cc:721
CSCEfficiency::allSegments
std::vector< std::pair< LocalPoint, LocalVector > > allSegments[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:208
GlobalTrackingGeometryRecord.h
CSCEfficiency::ChamberHistos::InefficientCLCT_dxdz
TH1F * InefficientCLCT_dxdz
Definition: CSCEfficiency.h:301
CSCEfficiency::StationHistos::EfficientSegments_XY
TH2F * EfficientSegments_XY
Definition: CSCEfficiency.h:284
CSCEfficiency::ChamberHistos::EfficientRechits_good
TH1F * EfficientRechits_good
Definition: CSCEfficiency.h:297
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSCEfficiency::ChamberHistos::InefficientSingleHits
TH1F * InefficientSingleHits
Definition: CSCEfficiency.h:294
CSCEfficiency::allCorrLCT
bool allCorrLCT[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:191
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
FirstCh
#define FirstCh
Definition: CSCEfficiency.h:100
CSCEfficiency::fillSimhit_info
void fillSimhit_info(edm::Handle< edm::PSimHitContainer > &simHits)
Definition: CSCEfficiency.cc:832
CSCEfficiency::maxP
double maxP
Definition: CSCEfficiency.h:157
HLTBitAnalyser_cfi.simhits
simhits
SIM objects.
Definition: HLTBitAnalyser_cfi.py:21
CSCEfficiency::propagator
const Propagator * propagator(std::string propagatorName) const
Definition: CSCEfficiency.cc:1534
CSCEfficiency::ChamberHistos::EfficientRechits_inSegment
TH1F * EfficientRechits_inSegment
Definition: CSCEfficiency.h:293
edm::ParameterSet
Definition: ParameterSet.h:36
CSCEfficiency::rootFileName
std::string rootFileName
Definition: CSCEfficiency.h:131
Event.h
ParameterSet
Definition: Functions.h:16
CSCEfficiency::emptyChambers
bool emptyChambers[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:211
CSCEfficiency::myTriggers
std::vector< std::string > myTriggers
Definition: CSCEfficiency.h:168
CSCEfficiency::nEventsAnalyzed
int nEventsAnalyzed
Definition: CSCEfficiency.h:179
CSCEfficiency::extrapolate1D
double extrapolate1D(double initPosition, double initDirection, double parameterOfTheLine)
Definition: CSCEfficiency.cc:1503
CSCEfficiency::useTrigger
bool useTrigger
Definition: CSCEfficiency.h:167
CSCEfficiency::ChamberHistos::EfficientWireGroups
TH1F * EfficientWireGroups
Definition: CSCEfficiency.h:306
CSCDetId
Definition: CSCDetId.h:26
TrackInfoProducer_cfi.rechits
rechits
Definition: TrackInfoProducer_cfi.py:9
CSCEfficiency::distanceFromDeadZone
double distanceFromDeadZone
Definition: CSCEfficiency.h:155
CSCEfficiency::printalot
bool printalot
Definition: CSCEfficiency.h:177
CSCEfficiency::ChamberHistos::Phi_InefficientRecHits_inSegment
std::vector< TH1F * > Phi_InefficientRecHits_inSegment
Definition: CSCEfficiency.h:309
CSCEfficiency::StationHistos::EfficientSegments_eta
TH1F * EfficientSegments_eta
Definition: CSCEfficiency.h:282
CSCEfficiency::TriggersFired
TH1F * TriggersFired
Definition: CSCEfficiency.h:271
CSCEfficiency::isBeamdata
bool isBeamdata
Definition: CSCEfficiency.h:152
CSCEfficiency::ChamberHistos::Phi_EfficientRecHits_inSegment
std::vector< TH1F * > Phi_EfficientRecHits_inSegment
Definition: CSCEfficiency.h:310
CSCEfficiency::fillWG_info
void fillWG_info(edm::Handle< CSCWireDigiCollection > &wires, edm::ESHandle< CSCGeometry > &cscGeom)
Definition: CSCEfficiency.cc:767
edm::EDFilter
Definition: EDFilter.h:39
CSCStripDigiCollection.h
CSCEfficiency::chooseDirection
void chooseDirection(CLHEP::Hep3Vector &innerPosition, CLHEP::Hep3Vector &outerPosition)
Definition: CSCEfficiency.cc:1513
CSCEfficiency::applyTrigger
bool applyTrigger(edm::Handle< edm::TriggerResults > &hltR, const edm::TriggerNames &triggerNames)
Definition: CSCEfficiency.cc:1567
edm::EventSetup
Definition: EventSetup.h:57
CSCEfficiency::ChamberHistos
Definition: CSCEfficiency.h:292
CSCEfficiency::CLCTPerEvent
TH1F * CLCTPerEvent
Definition: CSCEfficiency.h:274
CSCEfficiency::local_DY_DZ_Min
double local_DY_DZ_Min
Definition: CSCEfficiency.h:163
CSCEfficiency::printout_NEvents
unsigned int printout_NEvents
Definition: CSCEfficiency.h:149
InputTag.h
CSCEfficiency::getFromFTS
void getFromFTS(const FreeTrajectoryState &fts, CLHEP::Hep3Vector &p3, CLHEP::Hep3Vector &r3, int &charge, AlgebraicSymMatrix66 &cov)
Definition: CSCEfficiency.cc:1462
DDAxes::phi
CSCEfficiency::co_token
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > co_token
Definition: CSCEfficiency.h:139
CSCEfficiency::ht_token
edm::EDGetTokenT< edm::TriggerResults > ht_token
Definition: CSCEfficiency.h:146
CSCEfficiency::DataFlow
TH1F * DataFlow
Definition: CSCEfficiency.h:270
CSCEfficiency::allStrips
std::vector< std::pair< int, float > > allStrips[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:194
CSCEfficiency::fillRechitsSegments_info
void fillRechitsSegments_info(edm::Handle< CSCRecHit2DCollection > &rechits, edm::Handle< CSCSegmentCollection > &segments, edm::ESHandle< CSCGeometry > &cscGeom)
Definition: CSCEfficiency.cc:844
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
CSCLayer.h
CSCEfficiency::recHitSegment_Efficiencies
bool recHitSegment_Efficiencies(CSCDetId &cscDetId, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1315
Frameworkfwd.h
LocalPoint.h
CSCEfficiency::checkLocal
bool checkLocal(double yLocal, double yBoundary, int station, int ring)
Definition: CSCEfficiency.cc:606
MuonServiceProxy.h
BoundPlane
CSCEfficiency::ALCTPerEvent
TH1F * ALCTPerEvent
Definition: CSCEfficiency.h:273
edm::TriggerNames
Definition: TriggerNames.h:55
CSCCLCTDigi.h
options_cfi.eventSetup
eventSetup
Definition: options_cfi.py:12
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
CSCEfficiency::ChamberHistos::AllSingleHits
TH1F * AllSingleHits
Definition: CSCEfficiency.h:296
DetLayer.h
GlobalVector.h
CSCEfficiency::endJob
void endJob() override
Definition: CSCEfficiency.cc:2064
EventSetup.h
p3
double p3[4]
Definition: TauolaWrapper.h:91
CSCComparatorDigiCollection.h
CSCEfficiency::ChamberHistos::digiAppearanceCount
TH1F * digiAppearanceCount
Definition: CSCEfficiency.h:295
CSCEfficiency::se_token
edm::EDGetTokenT< CSCSegmentCollection > se_token
Definition: CSCEfficiency.h:141
CSCEfficiency::ChamberHistos::Y_InefficientRecHits_inSegment
std::vector< TH1F * > Y_InefficientRecHits_inSegment
Definition: CSCEfficiency.h:307
CSCEfficiency::fillStrips_info
void fillStrips_info(edm::Handle< CSCStripDigiCollection > &strips)
Definition: CSCEfficiency.cc:793
CSCWireDigiCollection.h
CSCALCTDigiCollection.h
LastCh
#define LastCh
Definition: CSCEfficiency.h:99
ConsumesCollector.h
CSCEfficiency::minTrackHits
unsigned int minTrackHits
Definition: CSCEfficiency.h:159
CSCEfficiency::StationHistos::EfficientALCT_momTheta
TH1F * EfficientALCT_momTheta
Definition: CSCEfficiency.h:286
EventSetup
CSCEfficiency::ChamberHistos::EfficientCLCT_dxdz
TH1F * EfficientCLCT_dxdz
Definition: CSCEfficiency.h:300
ParameterSet.h
CSCCLCTDigiCollection.h
MuonServiceProxy
Definition: MuonServiceProxy.h:38
CSCEfficiency::ChamberHistos::NoStrips_momPhi
TH1F * NoStrips_momPhi
Definition: CSCEfficiency.h:305
CSCEfficiency::~CSCEfficiency
~CSCEfficiency() override
Destructor.
Definition: CSCEfficiency.cc:1960
NavigationDirection.h
MuonGeometryRecord.h
CSCEfficiency::minP
double minP
Definition: CSCEfficiency.h:156
CSCEfficiency::efficienciesPerChamber
bool efficienciesPerChamber(CSCDetId &id, const CSCChamber *cscChamber, FreeTrajectoryState &ftsChamber)
Definition: CSCEfficiency.cc:1058
CSCChamber.h
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:977
CSCEfficiency::recHitsPerEvent
TH1F * recHitsPerEvent
Definition: CSCEfficiency.h:275
CSCEfficiency::isData
bool isData
Definition: CSCEfficiency.h:150
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:154
CSCEfficiency::allWG
std::vector< std::pair< std::pair< int, float >, int > > allWG[2][4][4][(36 - 1+1)][6]
Definition: CSCEfficiency.h:197
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
CSCEfficiency::applyIPangleCuts
bool applyIPangleCuts
Definition: CSCEfficiency.h:161
CSCEfficiency::al_token
edm::EDGetTokenT< CSCALCTDigiCollection > al_token
Definition: CSCEfficiency.h:137
CSCGeometry.h
CSCEfficiency::sd_token
edm::EDGetTokenT< CSCStripDigiCollection > sd_token
Definition: CSCEfficiency.h:136
CSCEfficiency::segmentsPerEvent
TH1F * segmentsPerEvent
Definition: CSCEfficiency.h:276
CSCEfficiency::allALCT
bool allALCT[2][4][4][(36 - 1+1)]
Definition: CSCEfficiency.h:190
CSCEfficiency::StationHistos::InefficientSegments_XY
TH2F * InefficientSegments_XY
Definition: CSCEfficiency.h:285
CSCSegmentCollection.h