CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
CSCSegmentValidation Class Reference

#include <CSCSegmentValidation.h>

Inheritance diagram for CSCSegmentValidation:
CSCBaseValidation

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &)
 
 CSCSegmentValidation (const edm::ParameterSet &, edm::ConsumesCollector &&iC)
 
 ~CSCSegmentValidation () override
 
- Public Member Functions inherited from CSCBaseValidation
 CSCBaseValidation (const edm::ParameterSet &ps)
 
void setGeometry (const CSCGeometry *geom)
 
void setSimHitMap (const PSimHitMap *simHitMap)
 
virtual ~CSCBaseValidation ()
 

Private Types

typedef std::map< int, std::vector< int > > ChamberHitMap
 
typedef std::map< int, std::vector< CSCSegment > > ChamberSegmentMap
 

Private Member Functions

void fillEfficiencyPlots ()
 
void fillLayerHitsPerChamber ()
 
bool hasSegment (int chamberId) const
 
const PSimHitkeyHit (int chamberId) const
 
void plotResolution (const PSimHit &simHit, const CSCSegment &recHit, const CSCLayer *layer, int chamberType)
 

Private Attributes

edm::InputTag inputTag_
 
edm::EDGetTokenT< CSCSegmentCollectionsegments_Token_
 
ChamberSegmentMap theChamberSegmentMap
 
MonitorElementthedXdZPullPlots [10]
 
MonitorElementthedXdZResolutionPlots [10]
 
MonitorElementthedYdZPullPlots [10]
 
MonitorElementthedYdZResolutionPlots [10]
 
ChamberHitMap theLayerHitsPerChamber
 
MonitorElementtheNPerChamberTypePlot
 
MonitorElementtheNPerEventPlot
 
MonitorElementtheNRecHitsPlot
 
MonitorElementtheRdPhiPullPlots [10]
 
MonitorElementtheRdPhiResolutionPlots [10]
 
int theShowerThreshold
 
MonitorElementtheThetaResolutionPlots [10]
 
MonitorElementtheTypePlot4HitsNoShower
 
MonitorElementtheTypePlot4HitsNoShowerSeg
 
MonitorElementtheTypePlot4HitsShower
 
MonitorElementtheTypePlot4HitsShowerSeg
 
MonitorElementtheTypePlot5HitsNoShower
 
MonitorElementtheTypePlot5HitsNoShowerSeg
 
MonitorElementtheTypePlot5HitsShower
 
MonitorElementtheTypePlot5HitsShowerSeg
 
MonitorElementtheTypePlot6HitsNoShower
 
MonitorElementtheTypePlot6HitsNoShowerSeg
 
MonitorElementtheTypePlot6HitsShower
 
MonitorElementtheTypePlot6HitsShowerSeg
 

Additional Inherited Members

- Public Types inherited from CSCBaseValidation
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Protected Member Functions inherited from CSCBaseValidation
const CSCLayerfindLayer (int detId) const
 
- Protected Attributes inherited from CSCBaseValidation
bool doSim_
 
const CSCGeometrytheCSCGeometry
 
const PSimHitMaptheSimHitMap
 

Detailed Description

Definition at line 8 of file CSCSegmentValidation.h.

Member Typedef Documentation

◆ ChamberHitMap

typedef std::map<int, std::vector<int> > CSCSegmentValidation::ChamberHitMap
private

Definition at line 26 of file CSCSegmentValidation.h.

◆ ChamberSegmentMap

typedef std::map<int, std::vector<CSCSegment> > CSCSegmentValidation::ChamberSegmentMap
private

Definition at line 33 of file CSCSegmentValidation.h.

Constructor & Destructor Documentation

◆ CSCSegmentValidation()

CSCSegmentValidation::CSCSegmentValidation ( const edm::ParameterSet ps,
edm::ConsumesCollector &&  iC 
)

◆ ~CSCSegmentValidation()

CSCSegmentValidation::~CSCSegmentValidation ( )
override

Definition at line 12 of file CSCSegmentValidation.cc.

12 {}

Member Function Documentation

◆ analyze()

void CSCSegmentValidation::analyze ( const edm::Event e,
const edm::EventSetup eventSetup 
)
overridevirtual

Implements CSCBaseValidation.

Definition at line 53 of file CSCSegmentValidation.cc.

53  {
54  // get the collection of CSCRecHsegmentItrD
56  e.getByToken(segments_Token_, hRecHits);
57  const CSCSegmentCollection *cscRecHits = hRecHits.product();
58 
59  theChamberSegmentMap.clear();
60  unsigned nPerEvent = 0;
61  for (auto segmentItr = cscRecHits->begin(); segmentItr != cscRecHits->end(); segmentItr++) {
62  ++nPerEvent;
63  int detId = segmentItr->geographicalId().rawId();
64  int chamberType = segmentItr->cscDetId().iChamberType();
65 
66  theNRecHitsPlot->Fill(segmentItr->nRecHits());
67  theNPerChamberTypePlot->Fill(chamberType);
68  theChamberSegmentMap[detId].push_back(*segmentItr);
69 
70  // do the resolution plots
71  const PSimHit *hit = keyHit(detId);
72  if (hit != nullptr) {
73  const CSCLayer *layer = findLayer(hit->detUnitId());
74  plotResolution(*hit, *segmentItr, layer, chamberType);
75  }
76  }
77 
78  theNPerEventPlot->Fill(nPerEvent);
79 
82 }

References MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), fillEfficiencyPlots(), fillLayerHitsPerChamber(), CSCBaseValidation::findLayer(), keyHit(), phase1PixelTopology::layer, plotResolution(), edm::Handle< T >::product(), segments_Token_, theChamberSegmentMap, theNPerChamberTypePlot, theNPerEventPlot, and theNRecHitsPlot.

◆ bookHistograms()

void CSCSegmentValidation::bookHistograms ( DQMStore::IBooker iBooker)

Definition at line 14 of file CSCSegmentValidation.cc.

14  {
15  theNPerEventPlot = iBooker.book1D("CSCSegmentsPerEvent", "Number of CSC segments per event", 100, 0, 50);
16  theNRecHitsPlot = iBooker.book1D("CSCRecHitsPerSegment", "Number of CSC rec hits per segment", 8, 0, 7);
18  iBooker.book1D("CSCSegmentsPerChamberType", "Number of CSC segments per chamber type", 11, 0, 10);
19  theTypePlot4HitsNoShower = iBooker.book1D("CSCSegments4HitsNoShower", "", 100, 0, 10);
20  theTypePlot4HitsNoShowerSeg = iBooker.book1D("CSCSegments4HitsNoShowerSeg", "", 100, 0, 10);
21  theTypePlot4HitsShower = iBooker.book1D("CSCSegments4HitsShower", "", 100, 0, 10);
22  theTypePlot4HitsShowerSeg = iBooker.book1D("CSCSegments4HitsShowerSeg", "", 100, 0, 10);
23  theTypePlot5HitsNoShower = iBooker.book1D("CSCSegments5HitsNoShower", "", 100, 0, 10);
24  theTypePlot5HitsNoShowerSeg = iBooker.book1D("CSCSegments5HitsNoShowerSeg", "", 100, 0, 10);
25  theTypePlot5HitsShower = iBooker.book1D("CSCSegments5HitsShower", "", 100, 0, 10);
26  theTypePlot5HitsShowerSeg = iBooker.book1D("CSCSegments5HitsShowerSeg", "", 100, 0, 10);
27  theTypePlot6HitsNoShower = iBooker.book1D("CSCSegments6HitsNoShower", "", 100, 0, 10);
28  theTypePlot6HitsNoShowerSeg = iBooker.book1D("CSCSegments6HitsNoShowerSeg", "", 100, 0, 10);
29  theTypePlot6HitsShower = iBooker.book1D("CSCSegments6HitsShower", "", 100, 0, 10);
30  theTypePlot6HitsShowerSeg = iBooker.book1D("CSCSegments6HitsShowerSeg", "", 100, 0, 10);
31 
32  for (int i = 1; i <= 10; ++i) {
34 
35  const std::string t1("CSCSegmentRdPhiResolution_" + cn);
36  const std::string t2("CSCSegmentRdPhiPull_" + cn);
37  const std::string t3("CSCSegmentThetaResolution_" + cn);
38  const std::string t5("CSCSegmentdXdZResolution_" + cn);
39  const std::string t6("CSCSegmentdXdZPull_" + cn);
40  const std::string t7("CSCSegmentdYdZResolution_" + cn);
41  const std::string t8("CSCSegmentdYdZPull_" + cn);
42 
43  theRdPhiResolutionPlots[i - 1] = iBooker.book1D(t1, t1, 100, -0.4, 0.4);
44  theRdPhiPullPlots[i - 1] = iBooker.book1D(t2, t2, 100, -5, 5);
45  theThetaResolutionPlots[i - 1] = iBooker.book1D(t3, t3, 100, -1, 1);
46  thedXdZResolutionPlots[i - 1] = iBooker.book1D(t5, t5, 100, -1, 1);
47  thedXdZPullPlots[i - 1] = iBooker.book1D(t6, t6, 100, -5, 5);
48  thedYdZResolutionPlots[i - 1] = iBooker.book1D(t7, t7, 100, -1, 1);
49  thedYdZPullPlots[i - 1] = iBooker.book1D(t8, t8, 100, -5, 5);
50  }
51 }

References dqm::implementation::IBooker::book1D(), CSCDetId::chamberName(), mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, RandomServiceHelper::t1, RandomServiceHelper::t2, RandomServiceHelper::t3, thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theNPerChamberTypePlot, theNPerEventPlot, theNRecHitsPlot, theRdPhiPullPlots, theRdPhiResolutionPlots, theThetaResolutionPlots, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, and theTypePlot6HitsShowerSeg.

◆ fillEfficiencyPlots()

void CSCSegmentValidation::fillEfficiencyPlots ( )
private

Definition at line 84 of file CSCSegmentValidation.cc.

84  {
85  // now plot efficiency by looping over all chambers with hits
86  for (auto mapItr = theLayerHitsPerChamber.begin(), mapEnd = theLayerHitsPerChamber.end(); mapItr != mapEnd;
87  ++mapItr) {
88  int chamberId = mapItr->first;
89  int nHitsInChamber = mapItr->second.size();
90  bool isShower = (nHitsInChamber > theShowerThreshold);
91  bool hasSeg = hasSegment(chamberId);
92  int chamberType = CSCDetId(chamberId).iChamberType();
93  // find how many layers were hit in this chamber
94  std::vector<int> v = mapItr->second;
95  std::sort(v.begin(), v.end());
96  // maybe can just count
97  v.erase(std::unique(v.begin(), v.end()), v.end());
98  int nLayersHit = v.size();
99 
100  if (nLayersHit == 4) {
101  if (isShower)
102  theTypePlot4HitsShower->Fill(chamberType);
103  else
104  theTypePlot4HitsNoShower->Fill(chamberType);
105 
106  if (hasSeg) {
107  if (isShower)
108  theTypePlot4HitsShowerSeg->Fill(chamberType);
109  else
110  theTypePlot4HitsNoShowerSeg->Fill(chamberType);
111  }
112  }
113 
114  if (nLayersHit == 5) {
115  if (isShower)
116  theTypePlot5HitsShower->Fill(chamberType);
117  else
118  theTypePlot5HitsNoShower->Fill(chamberType);
119 
120  if (hasSeg) {
121  if (isShower)
122  theTypePlot5HitsShowerSeg->Fill(chamberType);
123  else
124  theTypePlot5HitsNoShowerSeg->Fill(chamberType);
125  }
126  }
127 
128  if (nLayersHit == 6) {
129  if (isShower)
130  theTypePlot6HitsShower->Fill(chamberType);
131  else
132  theTypePlot6HitsNoShower->Fill(chamberType);
133 
134  if (hasSeg) {
135  if (isShower)
136  theTypePlot6HitsShowerSeg->Fill(chamberType);
137  else
138  theTypePlot6HitsNoShowerSeg->Fill(chamberType);
139  }
140  }
141  }
142 }

References dqm::impl::MonitorElement::Fill(), hasSegment(), CSCDetId::iChamberType(), jetUpdater_cfi::sort, theLayerHitsPerChamber, theShowerThreshold, theTypePlot4HitsNoShower, theTypePlot4HitsNoShowerSeg, theTypePlot4HitsShower, theTypePlot4HitsShowerSeg, theTypePlot5HitsNoShower, theTypePlot5HitsNoShowerSeg, theTypePlot5HitsShower, theTypePlot5HitsShowerSeg, theTypePlot6HitsNoShower, theTypePlot6HitsNoShowerSeg, theTypePlot6HitsShower, theTypePlot6HitsShowerSeg, tier0::unique(), and findQualityFiles::v.

Referenced by analyze().

◆ fillLayerHitsPerChamber()

void CSCSegmentValidation::fillLayerHitsPerChamber ( )
private

Definition at line 178 of file CSCSegmentValidation.cc.

178  {
179  theLayerHitsPerChamber.clear();
180  std::vector<int> layersHit = theSimHitMap->detsWithHits();
181  for (auto layerItr = layersHit.begin(), layersHitEnd = layersHit.end(); layerItr != layersHitEnd; ++layerItr) {
182  CSCDetId layerId(*layerItr);
183  CSCDetId chamberId = layerId.chamberId();
184  int nhits = theSimHitMap->hits(*layerItr).size();
185  // multiple entries, so we can see showers
186  for (int i = 0; i < nhits; ++i) {
187  theLayerHitsPerChamber[chamberId.rawId()].push_back(*layerItr);
188  }
189  }
190 }

References CSCDetId::chamberId(), PSimHitMap::detsWithHits(), PSimHitMap::hits(), mps_fire::i, nhits, DetId::rawId(), theLayerHitsPerChamber, and CSCBaseValidation::theSimHitMap.

Referenced by analyze().

◆ hasSegment()

bool CSCSegmentValidation::hasSegment ( int  chamberId) const
private

Definition at line 144 of file CSCSegmentValidation.cc.

144  {
145  return (theChamberSegmentMap.find(chamberId) != theChamberSegmentMap.end());
146 }

References theChamberSegmentMap.

Referenced by fillEfficiencyPlots().

◆ keyHit()

const PSimHit * CSCSegmentValidation::keyHit ( int  chamberId) const
private

Definition at line 192 of file CSCSegmentValidation.cc.

192  {
193  auto SimHitPabsLessThan = [](const PSimHit &p1, const PSimHit &p2) -> bool { return p1.pabs() < p2.pabs(); };
194 
195  const PSimHit *result = nullptr;
196  int layerId = chamberId + 3;
197  const auto &layerHits = theSimHitMap->hits(layerId);
198 
199  if (!layerHits.empty()) {
200  // pick the hit with maximum energy
201  auto hitItr = std::max_element(layerHits.begin(), layerHits.end(), SimHitPabsLessThan);
202  result = &(*hitItr);
203  }
204  return result;
205 }

References PSimHitMap::hits(), p1, p2, mps_fire::result, and CSCBaseValidation::theSimHitMap.

Referenced by analyze().

◆ plotResolution()

void CSCSegmentValidation::plotResolution ( const PSimHit simHit,
const CSCSegment recHit,
const CSCLayer layer,
int  chamberType 
)
private

Definition at line 148 of file CSCSegmentValidation.cc.

151  {
152  GlobalPoint simHitPos = layer->toGlobal(simHit.localPosition());
153  GlobalPoint segmentPos = layer->toGlobal(segment.localPosition());
154  LocalVector simHitDir = simHit.localDirection();
155  LocalVector segmentDir = segment.localDirection();
156 
157  double dphi = segmentPos.phi() - simHitPos.phi();
158  double rdphi = segmentPos.perp() * dphi;
159  double dtheta = segmentPos.theta() - simHitPos.theta();
160 
161  double sigmax = sqrt(segment.localPositionError().xx());
162 
163  double ddxdz = segmentDir.x() / segmentDir.z() - simHitDir.x() / simHitDir.z();
164  double ddydz = segmentDir.y() / segmentDir.z() - simHitDir.y() / simHitDir.z();
165  double sigmadxdz = sqrt(segment.localDirectionError().xx());
166  double sigmadydz = sqrt(segment.localDirectionError().yy());
167 
168  theRdPhiResolutionPlots[chamberType - 1]->Fill(rdphi);
169  theRdPhiPullPlots[chamberType - 1]->Fill(rdphi / sigmax);
170  theThetaResolutionPlots[chamberType - 1]->Fill(dtheta);
171 
172  thedXdZResolutionPlots[chamberType - 1]->Fill(ddxdz);
173  thedXdZPullPlots[chamberType - 1]->Fill(ddxdz / sigmadxdz);
174  thedYdZResolutionPlots[chamberType - 1]->Fill(ddydz);
175  thedYdZPullPlots[chamberType - 1]->Fill(ddydz / sigmadydz);
176 }

References dqm::impl::MonitorElement::Fill(), phase1PixelTopology::layer, CSCSegment::localDirection(), CSCSegment::localDirectionError(), CSCSegment::localPosition(), CSCSegment::localPositionError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), rpcPointValidation_cfi::simHit, mathSSE::sqrt(), thedXdZPullPlots, thedXdZResolutionPlots, thedYdZPullPlots, thedYdZResolutionPlots, theRdPhiPullPlots, theRdPhiResolutionPlots, PV3DBase< T, PVType, FrameType >::theta(), theThetaResolutionPlots, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by analyze().

Member Data Documentation

◆ inputTag_

edm::InputTag CSCSegmentValidation::inputTag_
private

Definition at line 21 of file CSCSegmentValidation.h.

Referenced by CSCSegmentValidation().

◆ segments_Token_

edm::EDGetTokenT<CSCSegmentCollection> CSCSegmentValidation::segments_Token_
private

Definition at line 20 of file CSCSegmentValidation.h.

Referenced by analyze(), and CSCSegmentValidation().

◆ theChamberSegmentMap

ChamberSegmentMap CSCSegmentValidation::theChamberSegmentMap
private

Definition at line 34 of file CSCSegmentValidation.h.

Referenced by analyze(), and hasSegment().

◆ thedXdZPullPlots

MonitorElement* CSCSegmentValidation::thedXdZPullPlots[10]
private

Definition at line 45 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ thedXdZResolutionPlots

MonitorElement* CSCSegmentValidation::thedXdZResolutionPlots[10]
private

Definition at line 44 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ thedYdZPullPlots

MonitorElement* CSCSegmentValidation::thedYdZPullPlots[10]
private

Definition at line 47 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ thedYdZResolutionPlots

MonitorElement* CSCSegmentValidation::thedYdZResolutionPlots[10]
private

Definition at line 46 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ theLayerHitsPerChamber

ChamberHitMap CSCSegmentValidation::theLayerHitsPerChamber
private

Definition at line 27 of file CSCSegmentValidation.h.

Referenced by fillEfficiencyPlots(), and fillLayerHitsPerChamber().

◆ theNPerChamberTypePlot

MonitorElement* CSCSegmentValidation::theNPerChamberTypePlot
private

Definition at line 40 of file CSCSegmentValidation.h.

Referenced by analyze(), and bookHistograms().

◆ theNPerEventPlot

MonitorElement* CSCSegmentValidation::theNPerEventPlot
private

Definition at line 38 of file CSCSegmentValidation.h.

Referenced by analyze(), and bookHistograms().

◆ theNRecHitsPlot

MonitorElement* CSCSegmentValidation::theNRecHitsPlot
private

Definition at line 39 of file CSCSegmentValidation.h.

Referenced by analyze(), and bookHistograms().

◆ theRdPhiPullPlots

MonitorElement* CSCSegmentValidation::theRdPhiPullPlots[10]
private

Definition at line 42 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ theRdPhiResolutionPlots

MonitorElement* CSCSegmentValidation::theRdPhiResolutionPlots[10]
private

Definition at line 41 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ theShowerThreshold

int CSCSegmentValidation::theShowerThreshold
private

Definition at line 36 of file CSCSegmentValidation.h.

Referenced by fillEfficiencyPlots().

◆ theThetaResolutionPlots

MonitorElement* CSCSegmentValidation::theThetaResolutionPlots[10]
private

Definition at line 43 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and plotResolution().

◆ theTypePlot4HitsNoShower

MonitorElement* CSCSegmentValidation::theTypePlot4HitsNoShower
private

Definition at line 49 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot4HitsNoShowerSeg

MonitorElement* CSCSegmentValidation::theTypePlot4HitsNoShowerSeg
private

Definition at line 50 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot4HitsShower

MonitorElement* CSCSegmentValidation::theTypePlot4HitsShower
private

Definition at line 51 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot4HitsShowerSeg

MonitorElement* CSCSegmentValidation::theTypePlot4HitsShowerSeg
private

Definition at line 52 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot5HitsNoShower

MonitorElement* CSCSegmentValidation::theTypePlot5HitsNoShower
private

Definition at line 53 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot5HitsNoShowerSeg

MonitorElement* CSCSegmentValidation::theTypePlot5HitsNoShowerSeg
private

Definition at line 54 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot5HitsShower

MonitorElement* CSCSegmentValidation::theTypePlot5HitsShower
private

Definition at line 55 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot5HitsShowerSeg

MonitorElement* CSCSegmentValidation::theTypePlot5HitsShowerSeg
private

Definition at line 56 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot6HitsNoShower

MonitorElement* CSCSegmentValidation::theTypePlot6HitsNoShower
private

Definition at line 57 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot6HitsNoShowerSeg

MonitorElement* CSCSegmentValidation::theTypePlot6HitsNoShowerSeg
private

Definition at line 58 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot6HitsShower

MonitorElement* CSCSegmentValidation::theTypePlot6HitsShower
private

Definition at line 59 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

◆ theTypePlot6HitsShowerSeg

MonitorElement* CSCSegmentValidation::theTypePlot6HitsShowerSeg
private

Definition at line 60 of file CSCSegmentValidation.h.

Referenced by bookHistograms(), and fillEfficiencyPlots().

Vector3DBase< float, LocalTag >
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
CSCSegmentValidation::theTypePlot5HitsNoShowerSeg
MonitorElement * theTypePlot5HitsNoShowerSeg
Definition: CSCSegmentValidation.h:54
CSCSegmentValidation::fillEfficiencyPlots
void fillEfficiencyPlots()
Definition: CSCSegmentValidation.cc:84
mps_fire.i
i
Definition: mps_fire.py:428
edm::Handle::product
T const * product() const
Definition: Handle.h:70
CSCSegmentValidation::plotResolution
void plotResolution(const PSimHit &simHit, const CSCSegment &recHit, const CSCLayer *layer, int chamberType)
Definition: CSCSegmentValidation.cc:148
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
CSCSegmentValidation::theTypePlot6HitsNoShowerSeg
MonitorElement * theTypePlot6HitsNoShowerSeg
Definition: CSCSegmentValidation.h:58
PV3DBase::theta
Geom::Theta< T > theta() const
Definition: PV3DBase.h:72
CSCSegmentValidation::keyHit
const PSimHit * keyHit(int chamberId) const
Definition: CSCSegmentValidation.cc:192
CSCSegmentValidation::theTypePlot5HitsShower
MonitorElement * theTypePlot5HitsShower
Definition: CSCSegmentValidation.h:55
CSCSegmentValidation::thedYdZResolutionPlots
MonitorElement * thedYdZResolutionPlots[10]
Definition: CSCSegmentValidation.h:46
CSCSegmentValidation::theRdPhiPullPlots
MonitorElement * theRdPhiPullPlots[10]
Definition: CSCSegmentValidation.h:42
CSCSegmentValidation::theNPerChamberTypePlot
MonitorElement * theNPerChamberTypePlot
Definition: CSCSegmentValidation.h:40
CSCSegmentValidation::segments_Token_
edm::EDGetTokenT< CSCSegmentCollection > segments_Token_
Definition: CSCSegmentValidation.h:20
CSCLayer
Definition: CSCLayer.h:24
CSCSegmentValidation::theRdPhiResolutionPlots
MonitorElement * theRdPhiResolutionPlots[10]
Definition: CSCSegmentValidation.h:41
CSCSegmentValidation::theLayerHitsPerChamber
ChamberHitMap theLayerHitsPerChamber
Definition: CSCSegmentValidation.h:27
CSCSegmentCollection
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::Handle< CSCSegmentCollection >
CSCDetId::iChamberType
unsigned short iChamberType() const
Definition: CSCDetId.h:96
CSCSegmentValidation::inputTag_
edm::InputTag inputTag_
Definition: CSCSegmentValidation.h:21
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
CSCSegmentValidation::theShowerThreshold
int theShowerThreshold
Definition: CSCSegmentValidation.h:36
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
CSCBaseValidation::CSCBaseValidation
CSCBaseValidation(const edm::ParameterSet &ps)
Definition: CSCBaseValidation.cc:4
rpcPointValidation_cfi.simHit
simHit
Definition: rpcPointValidation_cfi.py:24
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
p2
double p2[4]
Definition: TauolaWrapper.h:90
CSCSegmentValidation::theTypePlot5HitsNoShower
MonitorElement * theTypePlot5HitsNoShower
Definition: CSCSegmentValidation.h:53
CSCSegmentValidation::hasSegment
bool hasSegment(int chamberId) const
Definition: CSCSegmentValidation.cc:144
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
CSCSegmentValidation::theTypePlot4HitsShower
MonitorElement * theTypePlot4HitsShower
Definition: CSCSegmentValidation.h:51
CSCBaseValidation::findLayer
const CSCLayer * findLayer(int detId) const
Definition: CSCBaseValidation.cc:7
CSCSegmentValidation::theNPerEventPlot
MonitorElement * theNPerEventPlot
Definition: CSCSegmentValidation.h:38
Point3DBase< float, GlobalTag >
nhits
Definition: HIMultiTrackSelector.h:42
CSCSegmentValidation::theNRecHitsPlot
MonitorElement * theNRecHitsPlot
Definition: CSCSegmentValidation.h:39
RandomServiceHelper.t3
t3
Definition: RandomServiceHelper.py:258
CSCSegmentValidation::theTypePlot4HitsNoShower
MonitorElement * theTypePlot4HitsNoShower
Definition: CSCSegmentValidation.h:49
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSCBaseValidation::theSimHitMap
const PSimHitMap * theSimHitMap
Definition: CSCBaseValidation.h:28
CSCSegmentValidation::theTypePlot6HitsNoShower
MonitorElement * theTypePlot6HitsNoShower
Definition: CSCSegmentValidation.h:57
PSimHitMap::detsWithHits
std::vector< int > detsWithHits() const
Definition: PSimHitMap.cc:29
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
CSCDetId
Definition: CSCDetId.h:26
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
CSCSegmentValidation::theTypePlot6HitsShower
MonitorElement * theTypePlot6HitsShower
Definition: CSCSegmentValidation.h:59
CSCSegmentValidation::fillLayerHitsPerChamber
void fillLayerHitsPerChamber()
Definition: CSCSegmentValidation.cc:178
CSCSegmentValidation::thedXdZPullPlots
MonitorElement * thedXdZPullPlots[10]
Definition: CSCSegmentValidation.h:45
CSCDetId::chamberId
CSCDetId chamberId() const
Definition: CSCDetId.h:47
p1
double p1[4]
Definition: TauolaWrapper.h:89
CSCSegmentValidation::theTypePlot4HitsNoShowerSeg
MonitorElement * theTypePlot4HitsNoShowerSeg
Definition: CSCSegmentValidation.h:50
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
CSCSegmentValidation::theTypePlot5HitsShowerSeg
MonitorElement * theTypePlot5HitsShowerSeg
Definition: CSCSegmentValidation.h:56
tier0.unique
def unique(seq, keepstr=True)
Definition: tier0.py:24
CSCDetId::chamberName
std::string chamberName() const
Definition: CSCDetId.cc:74
CSCSegmentValidation::theChamberSegmentMap
ChamberSegmentMap theChamberSegmentMap
Definition: CSCSegmentValidation.h:34
PSimHitMap::hits
const edm::PSimHitContainer & hits(int detId) const
Definition: PSimHitMap.cc:20
mps_fire.result
result
Definition: mps_fire.py:311
PSimHit
Definition: PSimHit.h:15
CSCSegmentValidation::thedXdZResolutionPlots
MonitorElement * thedXdZResolutionPlots[10]
Definition: CSCSegmentValidation.h:44
CSCSegmentValidation::thedYdZPullPlots
MonitorElement * thedYdZPullPlots[10]
Definition: CSCSegmentValidation.h:47
CSCSegmentValidation::theTypePlot4HitsShowerSeg
MonitorElement * theTypePlot4HitsShowerSeg
Definition: CSCSegmentValidation.h:52
CSCSegmentValidation::theThetaResolutionPlots
MonitorElement * theThetaResolutionPlots[10]
Definition: CSCSegmentValidation.h:43
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
edm::InputTag
Definition: InputTag.h:15
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
edm::ParameterSet::getParameterSet
ParameterSet const & getParameterSet(std::string const &) const
Definition: ParameterSet.cc:2128
hit
Definition: SiStripHitEffFromCalibTree.cc:88
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
CSCSegmentValidation::theTypePlot6HitsShowerSeg
MonitorElement * theTypePlot6HitsShowerSeg
Definition: CSCSegmentValidation.h:60
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37