CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes
SiPixelHitEfficiencyModule Class Reference

#include <SiPixelHitEfficiencyModule.h>

Public Types

typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 

Public Member Functions

void book (const edm::ParameterSet &, const TrackerTopology *, DQMStore::IBooker &, int type=0, bool isUpgrade=false)
 
void computeEfficiencies (bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
 
std::pair< double, double > eff (double nValid, double nMissing)
 
void fill (const TrackerTopology *pTT, const LocalTrajectoryParameters &ltp, bool isHitValid, bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
 
 SiPixelHitEfficiencyModule ()
 
 SiPixelHitEfficiencyModule (const uint32_t)
 
 ~SiPixelHitEfficiencyModule ()
 

Private Attributes

bool bBookTracks
 
bool debug_
 
uint32_t id_
 
MonitorElementmeEfficiency_
 
MonitorElementmeEfficiencyAlpha_
 
MonitorElementmeEfficiencyAlphaBlade_
 
MonitorElementmeEfficiencyAlphaDisk_
 
MonitorElementmeEfficiencyAlphaLad_
 
MonitorElementmeEfficiencyAlphaLay_
 
MonitorElementmeEfficiencyAlphaPhi_
 
MonitorElementmeEfficiencyAlphaRing_
 
MonitorElementmeEfficiencyBeta_
 
MonitorElementmeEfficiencyBetaBlade_
 
MonitorElementmeEfficiencyBetaDisk_
 
MonitorElementmeEfficiencyBetaLad_
 
MonitorElementmeEfficiencyBetaLay_
 
MonitorElementmeEfficiencyBetaPhi_
 
MonitorElementmeEfficiencyBetaRing_
 
MonitorElementmeEfficiencyBlade_
 
MonitorElementmeEfficiencyDisk_
 
MonitorElementmeEfficiencyLad_
 
MonitorElementmeEfficiencyLay_
 
MonitorElementmeEfficiencyPhi_
 
MonitorElementmeEfficiencyRing_
 
MonitorElementmeEfficiencyX_
 
MonitorElementmeEfficiencyXBlade_
 
MonitorElementmeEfficiencyXDisk_
 
MonitorElementmeEfficiencyXLad_
 
MonitorElementmeEfficiencyXLay_
 
MonitorElementmeEfficiencyXPhi_
 
MonitorElementmeEfficiencyXRing_
 
MonitorElementmeEfficiencyY_
 
MonitorElementmeEfficiencyYBlade_
 
MonitorElementmeEfficiencyYDisk_
 
MonitorElementmeEfficiencyYLad_
 
MonitorElementmeEfficiencyYLay_
 
MonitorElementmeEfficiencyYPhi_
 
MonitorElementmeEfficiencyYRing_
 
MonitorElementmeMissing_
 
MonitorElementmeMissingAlpha_
 
MonitorElementmeMissingAlphaBlade_
 
MonitorElementmeMissingAlphaDisk_
 
MonitorElementmeMissingAlphaLad_
 
MonitorElementmeMissingAlphaLay_
 
MonitorElementmeMissingAlphaPhi_
 
MonitorElementmeMissingAlphaRing_
 
MonitorElementmeMissingBeta_
 
MonitorElementmeMissingBetaBlade_
 
MonitorElementmeMissingBetaDisk_
 
MonitorElementmeMissingBetaLad_
 
MonitorElementmeMissingBetaLay_
 
MonitorElementmeMissingBetaPhi_
 
MonitorElementmeMissingBetaRing_
 
MonitorElementmeMissingBlade_
 
MonitorElementmeMissingDisk_
 
MonitorElementmeMissingLad_
 
MonitorElementmeMissingLay_
 
MonitorElementmeMissingModLad_
 
MonitorElementmeMissingPhi_
 
MonitorElementmeMissingRing_
 
MonitorElementmeMissingX_
 
MonitorElementmeMissingXBlade_
 
MonitorElementmeMissingXDisk_
 
MonitorElementmeMissingXLad_
 
MonitorElementmeMissingXLay_
 
MonitorElementmeMissingXPhi_
 
MonitorElementmeMissingXRing_
 
MonitorElementmeMissingY_
 
MonitorElementmeMissingYBlade_
 
MonitorElementmeMissingYDisk_
 
MonitorElementmeMissingYLad_
 
MonitorElementmeMissingYLay_
 
MonitorElementmeMissingYPhi_
 
MonitorElementmeMissingYRing_
 
MonitorElementmeValid_
 
MonitorElementmeValidAlpha_
 
MonitorElementmeValidAlphaBlade_
 
MonitorElementmeValidAlphaDisk_
 
MonitorElementmeValidAlphaLad_
 
MonitorElementmeValidAlphaLay_
 
MonitorElementmeValidAlphaPhi_
 
MonitorElementmeValidAlphaRing_
 
MonitorElementmeValidBeta_
 
MonitorElementmeValidBetaBlade_
 
MonitorElementmeValidBetaDisk_
 
MonitorElementmeValidBetaLad_
 
MonitorElementmeValidBetaLay_
 
MonitorElementmeValidBetaPhi_
 
MonitorElementmeValidBetaRing_
 
MonitorElementmeValidBlade_
 
MonitorElementmeValidDisk_
 
MonitorElementmeValidLad_
 
MonitorElementmeValidLay_
 
MonitorElementmeValidModLad_
 
MonitorElementmeValidPhi_
 
MonitorElementmeValidRing_
 
MonitorElementmeValidX_
 
MonitorElementmeValidXBlade_
 
MonitorElementmeValidXDisk_
 
MonitorElementmeValidXLad_
 
MonitorElementmeValidXLay_
 
MonitorElementmeValidXPhi_
 
MonitorElementmeValidXRing_
 
MonitorElementmeValidY_
 
MonitorElementmeValidYBlade_
 
MonitorElementmeValidYDisk_
 
MonitorElementmeValidYLad_
 
MonitorElementmeValidYLay_
 
MonitorElementmeValidYPhi_
 
MonitorElementmeValidYRing_
 
bool updateEfficiencies
 

Detailed Description

Definition at line 29 of file SiPixelHitEfficiencyModule.h.

Member Typedef Documentation

Definition at line 31 of file SiPixelHitEfficiencyModule.h.

Definition at line 32 of file SiPixelHitEfficiencyModule.h.

Constructor & Destructor Documentation

SiPixelHitEfficiencyModule::SiPixelHitEfficiencyModule ( )
SiPixelHitEfficiencyModule::SiPixelHitEfficiencyModule ( const uint32_t  id)
SiPixelHitEfficiencyModule::~SiPixelHitEfficiencyModule ( )

Definition at line 35 of file SiPixelHitEfficiencyModule.cc.

35 {}

Member Function Documentation

void SiPixelHitEfficiencyModule::book ( const edm::ParameterSet iConfig,
const TrackerTopology pTT,
DQMStore::IBooker iBooker,
int  type = 0,
bool  isUpgrade = false 
)

Definition at line 37 of file SiPixelHitEfficiencyModule.cc.

References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), dqm::implementation::IBooker::book1D(), debug_, PixelEndcapName::diskName(), Reference_intrackfit_cff::endcap, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), id_, PixelBarrelName::isHalfModule(), edm::InputTag::label(), PixelBarrelName::ladderName(), PixelBarrelName::layerName(), meEfficiency_, meEfficiencyAlpha_, meEfficiencyAlphaBlade_, meEfficiencyAlphaDisk_, meEfficiencyAlphaLad_, meEfficiencyAlphaLay_, meEfficiencyAlphaPhi_, meEfficiencyAlphaRing_, meEfficiencyBeta_, meEfficiencyBetaBlade_, meEfficiencyBetaDisk_, meEfficiencyBetaLad_, meEfficiencyBetaLay_, meEfficiencyBetaPhi_, meEfficiencyBetaRing_, meEfficiencyBlade_, meEfficiencyDisk_, meEfficiencyLad_, meEfficiencyLay_, meEfficiencyPhi_, meEfficiencyRing_, meEfficiencyX_, meEfficiencyXBlade_, meEfficiencyXDisk_, meEfficiencyXLad_, meEfficiencyXLay_, meEfficiencyXPhi_, meEfficiencyXRing_, meEfficiencyY_, meEfficiencyYBlade_, meEfficiencyYDisk_, meEfficiencyYLad_, meEfficiencyYLay_, meEfficiencyYPhi_, meEfficiencyYRing_, meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingModLad_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidModLad_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, callgraph::module, PixelBarrelName::moduleName(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), dqm::impl::MonitorElement::setAxisTitle(), SiPixelHistogramId::setHistoId(), alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and updateEfficiencies.

41  {
42  bool barrel = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
43  bool endcap = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
44  bool isHalfModule = false;
45  if (barrel) {
46  isHalfModule = PixelBarrelName(DetId(id_), pTT, isUpgrade).isHalfModule();
47  }
48 
49  edm::InputTag src = iConfig.getParameter<edm::InputTag>("src");
50  debug_ = iConfig.getUntrackedParameter<bool>("debug", false);
51  updateEfficiencies = iConfig.getUntrackedParameter<bool>("updateEfficiencies", false);
52  std::string hisID;
53 
54  int nbinangle = 28;
55  int nbinX = 45;
56  int nbinY = 40;
57 
58  if (type == 0) {
59  SiPixelHistogramId *theHistogramId = new SiPixelHistogramId(src.label());
60 
61  if (updateEfficiencies) {
62  // EFFICIENCY
63  hisID = theHistogramId->setHistoId("efficiency", id_);
64  meEfficiency_ = iBooker.book1D(hisID, "Hit efficiency", 1, 0, 1.);
65  meEfficiency_->setAxisTitle("Hit efficiency", 1);
66 
67  hisID = theHistogramId->setHistoId("efficiencyX", id_);
68  meEfficiencyX_ = iBooker.book1D(hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
69  meEfficiencyX_->setAxisTitle("Hit efficiency in X", 1);
70 
71  hisID = theHistogramId->setHistoId("efficiencyY", id_);
72  meEfficiencyY_ = iBooker.book1D(hisID, "Hit efficiency in Y", nbinY, -4., 4.);
73  meEfficiencyY_->setAxisTitle("Hit efficiency in Y", 1);
74 
75  hisID = theHistogramId->setHistoId("efficiencyAlpha", id_);
76  meEfficiencyAlpha_ = iBooker.book1D(hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
77  meEfficiencyAlpha_->setAxisTitle("Hit efficiency in Alpha", 1);
78 
79  hisID = theHistogramId->setHistoId("efficiencyBeta", id_);
80  meEfficiencyBeta_ = iBooker.book1D(hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
81  meEfficiencyBeta_->setAxisTitle("Hit efficiency in Beta", 1);
82  }
83 
84  // VALID
85  hisID = theHistogramId->setHistoId("valid", id_);
86  meValid_ = iBooker.book1D(hisID, "# Valid hits", 1, 0, 1.);
87  meValid_->setAxisTitle("# Valid hits", 1);
88 
89  // MISSING
90  hisID = theHistogramId->setHistoId("missing", id_);
91  meMissing_ = iBooker.book1D(hisID, "# Missing hits", 1, 0, 1.);
92  meMissing_->setAxisTitle("# Missing hits", 1);
93 
94  delete theHistogramId;
95  }
96 
97  if (type == 1 && barrel) {
98  uint32_t DBladder;
99  DBladder = PixelBarrelName(DetId(id_), pTT, isUpgrade).ladderName();
100  char sladder[80];
101  sprintf(sladder, "Ladder_%02i", DBladder);
102  hisID = src.label() + "_" + sladder;
103  if (isHalfModule)
104  hisID += "H";
105  else
106  hisID += "F";
107 
108  if (updateEfficiencies) {
109  // EFFICIENCY
110  meEfficiencyLad_ = iBooker.book1D("efficiency_" + hisID, "Hit efficiency", 1, 0, 1.);
111  meEfficiencyLad_->setAxisTitle("Hit efficiency", 1);
112 
113  meEfficiencyXLad_ = iBooker.book1D("efficiencyX_" + hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
114  meEfficiencyXLad_->setAxisTitle("Hit efficiency in X", 1);
115 
116  meEfficiencyYLad_ = iBooker.book1D("efficiencyY_" + hisID, "Hit efficiency in Y", nbinY, -4., 4.);
117  meEfficiencyYLad_->setAxisTitle("Hit efficiency in Y", 1);
118 
120  iBooker.book1D("efficiencyAlpha_" + hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
121  meEfficiencyAlphaLad_->setAxisTitle("Hit efficiency in Alpha", 1);
122 
123  meEfficiencyBetaLad_ = iBooker.book1D("efficiencyBeta_" + hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
124  meEfficiencyBetaLad_->setAxisTitle("Hit efficiency in Beta", 1);
125  }
126 
127  // VALID
128  meValidLad_ = iBooker.book1D("valid_" + hisID, "# Valid hits", 1, 0, 1.);
129  meValidLad_->setAxisTitle("# Valid hits", 1);
130 
131  meValidXLad_ = iBooker.book1D("validX_" + hisID, "# Valid hits in X", nbinX, -1.5, 1.5);
132  meValidXLad_->setAxisTitle("# Valid hits in X", 1);
133 
134  meValidYLad_ = iBooker.book1D("validY_" + hisID, "# Valid hits in Y", nbinY, -4., 4.);
135  meValidYLad_->setAxisTitle("# Valid hits in Y", 1);
136 
137  meValidModLad_ = iBooker.book1D("validMod_" + hisID, "# Valid hits on Module", 4, 0.5, 4.5);
138  meValidModLad_->setAxisTitle("# Valid hits on Module", 1);
139 
140  meValidAlphaLad_ = iBooker.book1D("validAlpha_" + hisID, "# Valid hits in Alpha", nbinangle, -3.5, 3.5);
141  meValidAlphaLad_->setAxisTitle("# Valid hits in Alpha", 1);
142 
143  meValidBetaLad_ = iBooker.book1D("validBeta_" + hisID, "# Valid hits in Beta", nbinangle, -3.5, 3.5);
144  meValidBetaLad_->setAxisTitle("# Valid hits in Beta", 1);
145 
146  // MISSING
147  meMissingLad_ = iBooker.book1D("missing_" + hisID, "# Missing hits", 1, 0, 1.);
148  meMissingLad_->setAxisTitle("# Missing hits", 1);
149 
150  meMissingXLad_ = iBooker.book1D("missingX_" + hisID, "# Missing hits in X", nbinX, -1.5, 1.5);
151  meMissingXLad_->setAxisTitle("# Missing hits in X", 1);
152 
153  meMissingYLad_ = iBooker.book1D("missingY_" + hisID, "# Missing hits in Y", nbinY, -4., 4.);
154  meMissingYLad_->setAxisTitle("# Missing hits in Y", 1);
155 
156  meMissingModLad_ = iBooker.book1D("missingMod_" + hisID, "# Missing hits on Module", 4, 0.5, 4.5);
157  meMissingModLad_->setAxisTitle("# Missing hits on Module", 1);
158 
159  meMissingAlphaLad_ = iBooker.book1D("missingAlpha_" + hisID, "# Missing hits in Alpha", nbinangle, -3.5, 3.5);
160  meMissingAlphaLad_->setAxisTitle("# Missing hits in Alpha", 1);
161 
162  meMissingBetaLad_ = iBooker.book1D("missingBeta_" + hisID, "# Missing hits in Beta", nbinangle, -3.5, 3.5);
163  meMissingBetaLad_->setAxisTitle("# Missing hits in Beta", 1);
164  }
165 
166  if (type == 2 && barrel) {
167  uint32_t DBlayer;
168  DBlayer = PixelBarrelName(DetId(id_), pTT, isUpgrade).layerName();
169  char slayer[80];
170  sprintf(slayer, "Layer_%i", DBlayer);
171  hisID = src.label() + "_" + slayer;
172 
173  if (updateEfficiencies) {
174  // EFFICIENCY
175  meEfficiencyLay_ = iBooker.book1D("efficiency_" + hisID, "Hit efficiency", 1, 0, 1.);
176  meEfficiencyLay_->setAxisTitle("Hit efficiency", 1);
177 
178  meEfficiencyXLay_ = iBooker.book1D("efficiencyX_" + hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
179  meEfficiencyXLay_->setAxisTitle("Hit efficiency in X", 1);
180 
181  meEfficiencyYLay_ = iBooker.book1D("efficiencyY_" + hisID, "Hit efficiency in Y", nbinY, -4., 4.);
182  meEfficiencyYLay_->setAxisTitle("Hit efficiency in Y", 1);
183 
185  iBooker.book1D("efficiencyAlpha_" + hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
186  meEfficiencyAlphaLay_->setAxisTitle("Hit efficiency in Alpha", 1);
187 
188  meEfficiencyBetaLay_ = iBooker.book1D("efficiencyBeta_" + hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
189  meEfficiencyBetaLay_->setAxisTitle("Hit efficiency in Beta", 1);
190  }
191 
192  // VALID
193  meValidLay_ = iBooker.book1D("valid_" + hisID, "# Valid hits", 1, 0, 1.);
194  meValidLay_->setAxisTitle("# Valid hits", 1);
195 
196  meValidXLay_ = iBooker.book1D("validX_" + hisID, "# Valid hits in X", nbinX, -1.5, 1.5);
197  meValidXLay_->setAxisTitle("# Valid hits in X", 1);
198 
199  meValidYLay_ = iBooker.book1D("validY_" + hisID, "# Valid hits in Y", nbinY, -4., 4.);
200  meValidYLay_->setAxisTitle("# Valid hits in Y", 1);
201 
202  meValidAlphaLay_ = iBooker.book1D("validAlpha_" + hisID, "# Valid hits in Alpha", nbinangle, -3.5, 3.5);
203  meValidAlphaLay_->setAxisTitle("# Valid hits in Alpha", 1);
204 
205  meValidBetaLay_ = iBooker.book1D("validBeta_" + hisID, "# Valid hits in Beta", nbinangle, -3.5, 3.5);
206  meValidBetaLay_->setAxisTitle("# Valid hits in Beta", 1);
207 
208  // MISSING
209  meMissingLay_ = iBooker.book1D("missing_" + hisID, "# Missing hits", 1, 0, 1.);
210  meMissingLay_->setAxisTitle("# Missing hits", 1);
211 
212  meMissingXLay_ = iBooker.book1D("missingX_" + hisID, "# Missing hits in X", nbinX, -1.5, 1.5);
213  meMissingXLay_->setAxisTitle("# Missing hits in X", 1);
214 
215  meMissingYLay_ = iBooker.book1D("missingY_" + hisID, "# Missing hits in Y", nbinY, -4., 4.);
216  meMissingYLay_->setAxisTitle("# Missing hits in Y", 1);
217 
218  meMissingAlphaLay_ = iBooker.book1D("missingAlpha_" + hisID, "# Missing hits in Alpha", nbinangle, -3.5, 3.5);
219  meMissingAlphaLay_->setAxisTitle("# Missing hits in Alpha", 1);
220 
221  meMissingBetaLay_ = iBooker.book1D("missingBeta_" + hisID, "# Missing hits in Beta", nbinangle, -3.5, 3.5);
222  meMissingBetaLay_->setAxisTitle("# Missing hits in Beta", 1);
223  }
224 
225  if (type == 3 && barrel) {
226  uint32_t DBmodule;
227  DBmodule = PixelBarrelName(DetId(id_), pTT, isUpgrade).moduleName();
228  char smodule[80];
229  sprintf(smodule, "Ring_%i", DBmodule);
230  hisID = src.label() + "_" + smodule;
231 
232  if (updateEfficiencies) {
233  // EFFICIENCY
234  meEfficiencyPhi_ = iBooker.book1D("efficiency_" + hisID, "Hit efficiency", 1, 0, 1.);
235  meEfficiencyPhi_->setAxisTitle("Hit efficiency", 1);
236 
237  meEfficiencyXPhi_ = iBooker.book1D("efficiencyX_" + hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
238  meEfficiencyXPhi_->setAxisTitle("Hit efficiency in X", 1);
239 
240  meEfficiencyYPhi_ = iBooker.book1D("efficiencyY_" + hisID, "Hit efficiency in Y", nbinY, -4., 4.);
241  meEfficiencyYPhi_->setAxisTitle("Hit efficiency in Y", 1);
242 
244  iBooker.book1D("efficiencyAlpha_" + hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
245  meEfficiencyAlphaPhi_->setAxisTitle("Hit efficiency in Alpha", 1);
246 
247  meEfficiencyBetaPhi_ = iBooker.book1D("efficiencyBeta_" + hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
248  meEfficiencyBetaPhi_->setAxisTitle("Hit efficiency in Beta", 1);
249  }
250 
251  // VALID
252  meValidPhi_ = iBooker.book1D("valid_" + hisID, "# Valid hits", 1, 0, 1.);
253  meValidPhi_->setAxisTitle("# Valid hits", 1);
254 
255  meValidXPhi_ = iBooker.book1D("validX_" + hisID, "# Valid hits in X", nbinX, -1.5, 1.5);
256  meValidXPhi_->setAxisTitle("# Valid hits in X", 1);
257 
258  meValidYPhi_ = iBooker.book1D("validY_" + hisID, "# Valid hits in Y", nbinY, -4., 4.);
259  meValidYPhi_->setAxisTitle("# Valid hits in Y", 1);
260 
261  meValidAlphaPhi_ = iBooker.book1D("validAlpha_" + hisID, "# Valid hits in Alpha", nbinangle, -3.5, 3.5);
262  meValidAlphaPhi_->setAxisTitle("# Valid hits in Alpha", 1);
263 
264  meValidBetaPhi_ = iBooker.book1D("validBeta_" + hisID, "# Valid hits in Beta", nbinangle, -3.5, 3.5);
265  meValidBetaPhi_->setAxisTitle("# Valid hits in Beta", 1);
266 
267  // MISSING
268  meMissingPhi_ = iBooker.book1D("missing_" + hisID, "# Missing hits", 1, 0, 1.);
269  meMissingPhi_->setAxisTitle("# Missing hits", 1);
270 
271  meMissingXPhi_ = iBooker.book1D("missingX_" + hisID, "# Missing hits in X", nbinX, -1.5, 1.5);
272  meMissingXPhi_->setAxisTitle("# Missing hits in X", 1);
273 
274  meMissingYPhi_ = iBooker.book1D("missingY_" + hisID, "# Missing hits in Y", nbinY, -4., 4.);
275  meMissingYPhi_->setAxisTitle("# Missing hits in Y", 1);
276 
277  meMissingAlphaPhi_ = iBooker.book1D("missingAlpha_" + hisID, "# Missing hits in Alpha", nbinangle, -3.5, 3.5);
278  meMissingAlphaPhi_->setAxisTitle("# Missing hits in Alpha", 1);
279 
280  meMissingBetaPhi_ = iBooker.book1D("missingBeta_" + hisID, "# Missing hits in Beta", nbinangle, -3.5, 3.5);
281  meMissingBetaPhi_->setAxisTitle("# Missing hits in Beta", 1);
282  }
283 
284  if (type == 4 && endcap) {
285  uint32_t blade;
286  blade = PixelEndcapName(DetId(id_), pTT, isUpgrade).bladeName();
287 
288  char sblade[80];
289  sprintf(sblade, "Blade_%02i", blade);
290  hisID = src.label() + "_" + sblade;
291 
292  if (updateEfficiencies) {
293  // EFFICIENCY
294  meEfficiencyBlade_ = iBooker.book1D("efficiency_" + hisID, "Hit efficiency", 1, 0, 1.);
295  meEfficiencyBlade_->setAxisTitle("Hit efficiency", 1);
296 
297  meEfficiencyXBlade_ = iBooker.book1D("efficiencyX_" + hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
298  meEfficiencyXBlade_->setAxisTitle("Hit efficiency in X", 1);
299 
300  meEfficiencyYBlade_ = iBooker.book1D("efficiencyY_" + hisID, "Hit efficiency in Y", nbinY, -4., 4.);
301  meEfficiencyYBlade_->setAxisTitle("Hit efficiency in Y", 1);
302 
304  iBooker.book1D("efficiencyAlpha_" + hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
305  meEfficiencyAlphaBlade_->setAxisTitle("Hit efficiency in Alpha", 1);
306 
308  iBooker.book1D("efficiencyBeta_" + hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
309  meEfficiencyBetaBlade_->setAxisTitle("Hit efficiency in Beta", 1);
310  }
311 
312  // VALID
313  meValidBlade_ = iBooker.book1D("valid_" + hisID, "# Valid hits", 2, 0.5, 2.5);
314  meValidBlade_->setAxisTitle("# Valid hits", 1);
315 
316  meValidXBlade_ = iBooker.book1D("validX_" + hisID, "# Valid hits in X", nbinX, -1.5, 1.5);
317  meValidXBlade_->setAxisTitle("# Valid hits in X", 1);
318 
319  meValidYBlade_ = iBooker.book1D("validY_" + hisID, "# Valid hits in Y", nbinY, -4., 4.);
320  meValidYBlade_->setAxisTitle("# Valid hits in Y", 1);
321 
322  meValidAlphaBlade_ = iBooker.book1D("validAlpha_" + hisID, "# Valid hits in Alpha", nbinangle, -3.5, 3.5);
323  meValidAlphaBlade_->setAxisTitle("# Valid hits in Alpha", 1);
324 
325  meValidBetaBlade_ = iBooker.book1D("validBeta_" + hisID, "# Valid hits in Beta", nbinangle, -3.5, 3.5);
326  meValidBetaBlade_->setAxisTitle("# Valid hits in Beta", 1);
327 
328  // MISSING
329  meMissingBlade_ = iBooker.book1D("missing_" + hisID, "# Missing hits", 2, 0.5, 2.5);
330  meMissingBlade_->setAxisTitle("# Missing hits", 1);
331 
332  meMissingXBlade_ = iBooker.book1D("missingX_" + hisID, "# Missing hits in X", nbinX, -1.5, 1.5);
333  meMissingXBlade_->setAxisTitle("# Missing hits in X", 1);
334 
335  meMissingYBlade_ = iBooker.book1D("missingY_" + hisID, "# Missing hits in Y", nbinY, -4., 4.);
336  meMissingYBlade_->setAxisTitle("# Missing hits in Y", 1);
337 
338  meMissingAlphaBlade_ = iBooker.book1D("missingAlpha_" + hisID, "# Missing hits in Alpha", nbinangle, -3.5, 3.5);
339  meMissingAlphaBlade_->setAxisTitle("# Missing hits in Alpha", 1);
340 
341  meMissingBetaBlade_ = iBooker.book1D("missingBeta_" + hisID, "# Missing hits in Beta", nbinangle, -3.5, 3.5);
342  meMissingBetaBlade_->setAxisTitle("# Missing hits in Beta", 1);
343  }
344 
345  if (type == 5 && endcap) {
346  uint32_t disk;
347  disk = PixelEndcapName(DetId(id_), pTT, isUpgrade).diskName();
348 
349  char sdisk[80];
350  sprintf(sdisk, "Disk_%i", disk);
351  hisID = src.label() + "_" + sdisk;
352 
353  if (updateEfficiencies) {
354  // EFFICIENCY
355  meEfficiencyDisk_ = iBooker.book1D("efficiency_" + hisID, "Hit efficiency", 1, 0, 1.);
356  meEfficiencyDisk_->setAxisTitle("Hit efficiency", 1);
357 
358  meEfficiencyXDisk_ = iBooker.book1D("efficiencyX_" + hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
359  meEfficiencyXDisk_->setAxisTitle("Hit efficiency in X", 1);
360 
361  meEfficiencyYDisk_ = iBooker.book1D("efficiencyY_" + hisID, "Hit efficiency in Y", nbinY, -4., 4.);
362  meEfficiencyYDisk_->setAxisTitle("Hit efficiency in Y", 1);
363 
365  iBooker.book1D("efficiencyAlpha_" + hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
366  meEfficiencyAlphaDisk_->setAxisTitle("Hit efficiency in Alpha", 1);
367 
368  meEfficiencyBetaDisk_ = iBooker.book1D("efficiencyBeta_" + hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
369  meEfficiencyBetaDisk_->setAxisTitle("Hit efficiency in Beta", 1);
370  }
371 
372  // VALID
373  meValidDisk_ = iBooker.book1D("valid_" + hisID, "# Valid hits", 1, 0, 1.);
374  meValidDisk_->setAxisTitle("# Valid hits", 1);
375 
376  meValidXDisk_ = iBooker.book1D("validX_" + hisID, "# Valid hits in X", nbinX, -1.5, 1.5);
377  meValidXDisk_->setAxisTitle("# Valid hits in X", 1);
378 
379  meValidYDisk_ = iBooker.book1D("validY_" + hisID, "# Valid hits in Y", nbinY, -4., 4.);
380  meValidYDisk_->setAxisTitle("# Valid hits in Y", 1);
381 
382  meValidAlphaDisk_ = iBooker.book1D("validAlpha_" + hisID, "# Valid hits in Alpha", nbinangle, -3.5, 3.5);
383  meValidAlphaDisk_->setAxisTitle("# Valid hits in Alpha", 1);
384 
385  meValidBetaDisk_ = iBooker.book1D("validBeta_" + hisID, "# Valid hits in Beta", nbinangle, -3.5, 3.5);
386  meValidBetaDisk_->setAxisTitle("# Valid hits in Beta", 1);
387 
388  // MISSING
389  meMissingDisk_ = iBooker.book1D("missing_" + hisID, "# Missing hits", 1, 0, 1.);
390  meMissingDisk_->setAxisTitle("# Missing hits", 1);
391 
392  meMissingXDisk_ = iBooker.book1D("missingX_" + hisID, "# Missing hits in X", nbinX, -1.5, 1.5);
393  meMissingXDisk_->setAxisTitle("# Missing hits in X", 1);
394 
395  meMissingYDisk_ = iBooker.book1D("missingY_" + hisID, "# Missing hits in Y", nbinY, -4., 4.);
396  meMissingYDisk_->setAxisTitle("# Missing hits in Y", 1);
397 
398  meMissingAlphaDisk_ = iBooker.book1D("missingAlpha_" + hisID, "# Missing hits in Alpha", nbinangle, -3.5, 3.5);
399  meMissingAlphaDisk_->setAxisTitle("# Missing hits in Alpha", 1);
400 
401  meMissingBetaDisk_ = iBooker.book1D("missingBeta_" + hisID, "# Missing hits in Beta", nbinangle, -3.5, 3.5);
402  meMissingBetaDisk_->setAxisTitle("# Missing hits in Beta", 1);
403  }
404 
405  if (type == 6 && endcap) {
406  uint32_t panel;
407  uint32_t module;
408  panel = PixelEndcapName(DetId(id_), pTT, isUpgrade).pannelName();
409  module = PixelEndcapName(DetId(id_), pTT, isUpgrade).plaquetteName();
410 
411  char slab[80];
412  sprintf(slab, "Panel_%i_Ring_%i", panel, module);
413  hisID = src.label() + "_" + slab;
414 
415  if (updateEfficiencies) {
416  // EFFICIENCY
417  meEfficiencyRing_ = iBooker.book1D("efficiency_" + hisID, "Hit efficiency", 1, 0, 1.);
418  meEfficiencyRing_->setAxisTitle("Hit efficiency", 1);
419 
420  meEfficiencyXRing_ = iBooker.book1D("efficiencyX_" + hisID, "Hit efficiency in X", nbinX, -1.5, 1.5);
421  meEfficiencyXRing_->setAxisTitle("Hit efficiency in X", 1);
422 
423  meEfficiencyYRing_ = iBooker.book1D("efficiencyY_" + hisID, "Hit efficiency in Y", nbinY, -4., 4.);
424  meEfficiencyYRing_->setAxisTitle("Hit efficiency in Y", 1);
425 
427  iBooker.book1D("efficiencyAlpha_" + hisID, "Hit efficiency in Alpha", nbinangle, -3.5, 3.5);
428  meEfficiencyAlphaRing_->setAxisTitle("Hit efficiency in Alpha", 1);
429 
430  meEfficiencyBetaRing_ = iBooker.book1D("efficiencyBeta_" + hisID, "Hit efficiency in Beta", nbinangle, -3.5, 3.5);
431  meEfficiencyBetaRing_->setAxisTitle("Hit efficiency in Beta", 1);
432  }
433 
434  // VALID
435  meValidRing_ = iBooker.book1D("valid_" + hisID, "# Valid hits", 1, 0, 1.);
436  meValidRing_->setAxisTitle("# Valid hits", 1);
437 
438  meValidXRing_ = iBooker.book1D("validX_" + hisID, "# Valid hits in X", nbinX, -1.5, 1.5);
439  meValidXRing_->setAxisTitle("# Valid hits in X", 1);
440 
441  meValidYRing_ = iBooker.book1D("validY_" + hisID, "# Valid hits in Y", nbinY, -4., 4.);
442  meValidYRing_->setAxisTitle("# Valid hits in Y", 1);
443 
444  meValidAlphaRing_ = iBooker.book1D("validAlpha_" + hisID, "# Valid hits in Alpha", nbinangle, -3.5, 3.5);
445  meValidAlphaRing_->setAxisTitle("# Valid hits in Alpha", 1);
446 
447  meValidBetaRing_ = iBooker.book1D("validBeta_" + hisID, "# Valid hits in Beta", nbinangle, -3.5, 3.5);
448  meValidBetaRing_->setAxisTitle("# Valid hits in Beta", 1);
449 
450  // MISSING
451  meMissingRing_ = iBooker.book1D("missing_" + hisID, "# Missing hits", 1, 0, 1.);
452  meMissingRing_->setAxisTitle("# Missing hits", 1);
453 
454  meMissingXRing_ = iBooker.book1D("missingX_" + hisID, "# Missing hits in X", nbinX, -1.5, 1.5);
455  meMissingXRing_->setAxisTitle("# Missing hits in X", 1);
456 
457  meMissingYRing_ = iBooker.book1D("missingY_" + hisID, "# Missing hits in Y", nbinY, -4., 4.);
458  meMissingYRing_->setAxisTitle("# Missing hits in Y", 1);
459 
460  meMissingAlphaRing_ = iBooker.book1D("missingAlpha_" + hisID, "# Missing hits in Alpha", nbinangle, -3.5, 3.5);
461  meMissingAlphaRing_->setAxisTitle("# Missing hits in Alpha", 1);
462 
463  meMissingBetaRing_ = iBooker.book1D("missingBeta_" + hisID, "# Missing hits in Beta", nbinangle, -3.5, 3.5);
464  meMissingBetaRing_->setAxisTitle("# Missing hits in Beta", 1);
465  }
466 }
int plaquetteName() const
plaquetteId (in pannel)
T getUntrackedParameter(std::string const &, T const &) const
int moduleName() const
module id (index in z)
int bladeName() const
blade id
bool isHalfModule() const
full or half module
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:48
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
Definition: DetId.h:17
int ladderName() const
ladder id (index in phi)
int layerName() const
layer id
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string const & label() const
Definition: InputTag.h:36
int pannelName() const
pannel id
int diskName() const
disk id
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
tuple module
Definition: callgraph.py:69
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void SiPixelHitEfficiencyModule::computeEfficiencies ( bool  modon = true,
bool  ladon = true,
bool  layon = true,
bool  phion = true,
bool  bladeon = true,
bool  diskon = true,
bool  ringon = true 
)

Definition at line 592 of file SiPixelHitEfficiencyModule.cc.

References Reference_intrackfit_cff::barrel, gather_cfg::cout, debug_, eff(), Reference_intrackfit_cff::endcap, dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getNbinsX(), mps_fire::i, id_, meEfficiency_, meEfficiencyAlphaBlade_, meEfficiencyAlphaDisk_, meEfficiencyAlphaLad_, meEfficiencyAlphaLay_, meEfficiencyAlphaPhi_, meEfficiencyAlphaRing_, meEfficiencyBetaBlade_, meEfficiencyBetaDisk_, meEfficiencyBetaLad_, meEfficiencyBetaLay_, meEfficiencyBetaPhi_, meEfficiencyBetaRing_, meEfficiencyBlade_, meEfficiencyDisk_, meEfficiencyLad_, meEfficiencyLay_, meEfficiencyPhi_, meEfficiencyRing_, meEfficiencyXBlade_, meEfficiencyXDisk_, meEfficiencyXLad_, meEfficiencyXLay_, meEfficiencyXPhi_, meEfficiencyXRing_, meEfficiencyYBlade_, meEfficiencyYDisk_, meEfficiencyYLad_, meEfficiencyYLay_, meEfficiencyYPhi_, meEfficiencyYRing_, meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), and DetId::subdetId().

Referenced by fill().

593  {
594  if (debug_)
595  std::cout << "Now Filling histos for detid " << id_ << std::endl;
596 
597  bool barrel = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
598  bool endcap = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
599 
600  if (modon) {
603  }
604  if (ladon && barrel) {
607  for (int i = 1; i <= meValidXLad_->getNbinsX(); ++i) {
611  }
612  for (int i = 1; i <= meValidYLad_->getNbinsX(); ++i) {
616  }
617  for (int i = 1; i <= meValidAlphaLad_->getNbinsX(); ++i) {
622  }
623  for (int i = 1; i <= meValidBetaLad_->getNbinsX(); ++i) {
628  }
629  }
630 
631  if (layon && barrel) {
634  for (int i = 1; i <= meValidXLay_->getNbinsX(); ++i) {
638  }
639  for (int i = 1; i <= meValidYLay_->getNbinsX(); ++i) {
643  }
644  for (int i = 1; i <= meValidAlphaLay_->getNbinsX(); ++i) {
649  }
650  for (int i = 1; i <= meValidBetaLay_->getNbinsX(); ++i) {
655  }
656  }
657 
658  if (phion && barrel) {
661  for (int i = 1; i <= meValidXPhi_->getNbinsX(); ++i) {
665  }
666  for (int i = 1; i <= meValidYPhi_->getNbinsX(); ++i) {
670  }
671  for (int i = 1; i <= meValidAlphaPhi_->getNbinsX(); ++i) {
676  }
677  for (int i = 1; i <= meValidBetaPhi_->getNbinsX(); ++i) {
682  }
683  }
684  if (bladeon && endcap) {
689  for (int i = 1; i <= meValidXBlade_->getNbinsX(); ++i) {
694  }
695  for (int i = 1; i <= meValidYBlade_->getNbinsX(); ++i) {
700  }
701  for (int i = 1; i <= meValidAlphaBlade_->getNbinsX(); ++i) {
706  }
707  for (int i = 1; i <= meValidBetaBlade_->getNbinsX(); ++i) {
712  }
713  }
714  if (diskon && endcap) {
717  for (int i = 1; i <= meValidXDisk_->getNbinsX(); ++i) {
722  }
723  for (int i = 1; i <= meValidYDisk_->getNbinsX(); ++i) {
728  }
729  for (int i = 1; i <= meValidAlphaDisk_->getNbinsX(); ++i) {
734  }
735  for (int i = 1; i <= meValidBetaDisk_->getNbinsX(); ++i) {
740  }
741  }
742  if (ringon && endcap) {
745  for (int i = 1; i <= meValidXRing_->getNbinsX(); ++i) {
750  }
751  for (int i = 1; i <= meValidYRing_->getNbinsX(); ++i) {
756  }
757  for (int i = 1; i <= meValidAlphaRing_->getNbinsX(); ++i) {
762  }
763  for (int i = 1; i <= meValidBetaRing_->getNbinsX(); ++i) {
768  }
769  }
770 }
std::pair< double, double > eff(double nValid, double nMissing)
virtual int getNbinsX() const
get # of bins in X-axis
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:48
virtual double getBinContent(int binx) const
get content of bin (1-D)
Definition: DetId.h:17
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
tuple cout
Definition: gather_cfg.py:144
virtual void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
std::pair< double, double > SiPixelHitEfficiencyModule::eff ( double  nValid,
double  nMissing 
)

Definition at line 772 of file SiPixelHitEfficiencyModule.cc.

References postValidation_cfi::efficiency, relativeConstraints::error, and mathSSE::sqrt().

Referenced by computeEfficiencies().

772  {
773  double efficiency = 0, error = 0;
774  if (nValid + nMissing != 0) {
775  efficiency = nValid / (nValid + nMissing);
776  error = sqrt(efficiency * (1. - efficiency) / (nValid + nMissing));
777  }
778  return make_pair(efficiency, error);
779 }
T sqrt(T t)
Definition: SSEVec.h:19
void SiPixelHitEfficiencyModule::fill ( const TrackerTopology pTT,
const LocalTrajectoryParameters ltp,
bool  isHitValid,
bool  modon = true,
bool  ladon = true,
bool  layon = true,
bool  phion = true,
bool  bladeon = true,
bool  diskon = true,
bool  ringon = true 
)

Definition at line 468 of file SiPixelHitEfficiencyModule.cc.

References Reference_intrackfit_cff::barrel, computeEfficiencies(), Reference_intrackfit_cff::endcap, dqm::impl::MonitorElement::Fill(), id_, PV3DBase< T, PVType, FrameType >::mag(), meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingModLad_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidModLad_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, PixelBarrelName::moduleName(), LocalTrajectoryParameters::momentum(), PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, LocalTrajectoryParameters::position(), DetId::subdetId(), updateEfficiencies, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

477  {
478  bool barrel = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
479  bool endcap = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
480 
481  LocalVector localDir = ltp.momentum() / ltp.momentum().mag();
482  float prediction_alpha = atan2(localDir.z(), localDir.x());
483  float prediction_beta = atan2(localDir.z(), localDir.y());
484  float prediction_x = ltp.position().x();
485  float prediction_y = ltp.position().y();
486 
488  int imod = PBN.moduleName();
490  int ipan = PEN.pannelName();
491 
492  if (isHitValid) {
493  if (modon) {
494  meValid_->Fill(0.5);
495  }
496  if (barrel && ladon) {
497  meValidLad_->Fill(0.5);
498  meValidXLad_->Fill(prediction_x);
499  meValidYLad_->Fill(prediction_y);
500  meValidModLad_->Fill(imod);
501  meValidAlphaLad_->Fill(prediction_alpha);
502  meValidBetaLad_->Fill(prediction_beta);
503  }
504  if (barrel && layon) {
505  meValidLay_->Fill(0.5);
506  meValidXLay_->Fill(prediction_x);
507  meValidYLay_->Fill(prediction_y);
508  meValidAlphaLay_->Fill(prediction_alpha);
509  meValidBetaLay_->Fill(prediction_beta);
510  }
511  if (barrel && phion) {
512  meValidPhi_->Fill(0.5);
513  meValidXPhi_->Fill(prediction_x);
514  meValidYPhi_->Fill(prediction_y);
515  meValidAlphaPhi_->Fill(prediction_alpha);
516  meValidBetaPhi_->Fill(prediction_beta);
517  }
518  if (endcap && bladeon) {
519  meValidBlade_->Fill(ipan);
520  meValidXBlade_->Fill(prediction_x);
521  meValidYBlade_->Fill(prediction_y);
522  meValidAlphaBlade_->Fill(prediction_alpha);
523  meValidBetaBlade_->Fill(prediction_beta);
524  }
525  if (endcap && diskon) {
526  meValidDisk_->Fill(0.5);
527  meValidXDisk_->Fill(prediction_x);
528  meValidYDisk_->Fill(prediction_y);
529  meValidAlphaDisk_->Fill(prediction_alpha);
530  meValidBetaDisk_->Fill(prediction_beta);
531  }
532  if (endcap && ringon) {
533  meValidRing_->Fill(0.5);
534  meValidXRing_->Fill(prediction_x);
535  meValidYRing_->Fill(prediction_y);
536  meValidAlphaRing_->Fill(prediction_alpha);
537  meValidBetaRing_->Fill(prediction_beta);
538  }
539  } else {
540  if (modon) {
541  meMissing_->Fill(0.5);
542  }
543  if (barrel && ladon) {
544  meMissingLad_->Fill(0.5);
545  meMissingXLad_->Fill(prediction_x);
546  meMissingYLad_->Fill(prediction_y);
547  meMissingModLad_->Fill(imod);
548  meMissingAlphaLad_->Fill(prediction_alpha);
549  meMissingBetaLad_->Fill(prediction_beta);
550  }
551  if (barrel && layon) {
552  meMissingLay_->Fill(0.5);
553  meMissingXLay_->Fill(prediction_x);
554  meMissingYLay_->Fill(prediction_y);
555  meMissingAlphaLay_->Fill(prediction_alpha);
556  meMissingBetaLay_->Fill(prediction_beta);
557  }
558  if (barrel && phion) {
559  meMissingPhi_->Fill(0.5);
560  meMissingXPhi_->Fill(prediction_x);
561  meMissingYPhi_->Fill(prediction_y);
562  meMissingAlphaPhi_->Fill(prediction_alpha);
563  meMissingBetaPhi_->Fill(prediction_beta);
564  }
565  if (endcap && bladeon) {
566  meMissingBlade_->Fill(ipan);
567  meMissingXBlade_->Fill(prediction_x);
568  meMissingYBlade_->Fill(prediction_y);
569  meMissingAlphaBlade_->Fill(prediction_alpha);
570  meMissingBetaBlade_->Fill(prediction_beta);
571  }
572  if (endcap && diskon) {
573  meMissingDisk_->Fill(0.5);
574  meMissingXDisk_->Fill(prediction_x);
575  meMissingYDisk_->Fill(prediction_y);
576  meMissingAlphaDisk_->Fill(prediction_alpha);
577  meMissingBetaDisk_->Fill(prediction_beta);
578  }
579  if (endcap && ringon) {
580  meMissingRing_->Fill(0.5);
581  meMissingXRing_->Fill(prediction_x);
582  meMissingYRing_->Fill(prediction_y);
583  meMissingAlphaRing_->Fill(prediction_alpha);
584  meMissingBetaRing_->Fill(prediction_beta);
585  }
586  }
587 
588  if (updateEfficiencies)
589  computeEfficiencies(modon, ladon, layon, phion, bladeon, diskon, ringon);
590 }
int moduleName() const
module id (index in z)
LocalPoint position() const
Local x and y position coordinates.
T y() const
Definition: PV3DBase.h:60
void Fill(long long x)
T mag() const
Definition: PV3DBase.h:64
T z() const
Definition: PV3DBase.h:61
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:48
LocalVector momentum() const
Momentum vector in the local frame.
Definition: DetId.h:17
void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
int pannelName() const
pannel id
T x() const
Definition: PV3DBase.h:59

Member Data Documentation

bool SiPixelHitEfficiencyModule::bBookTracks
private

Definition at line 61 of file SiPixelHitEfficiencyModule.h.

Referenced by SiPixelHitEfficiencyModule().

bool SiPixelHitEfficiencyModule::debug_
private

Definition at line 62 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

uint32_t SiPixelHitEfficiencyModule::id_
private

Definition at line 60 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiency_
private

Definition at line 66 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlpha_
private

Definition at line 69 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaBlade_
private

Definition at line 93 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaDisk_
private

Definition at line 99 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaLad_
private

Definition at line 75 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaLay_
private

Definition at line 81 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaPhi_
private

Definition at line 87 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaRing_
private

Definition at line 105 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBeta_
private

Definition at line 70 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaBlade_
private

Definition at line 94 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaDisk_
private

Definition at line 100 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaLad_
private

Definition at line 76 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaLay_
private

Definition at line 82 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaPhi_
private

Definition at line 88 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaRing_
private

Definition at line 106 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBlade_
private

Definition at line 90 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyDisk_
private

Definition at line 96 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyLad_
private

Definition at line 72 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyLay_
private

Definition at line 78 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyPhi_
private

Definition at line 84 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyRing_
private

Definition at line 102 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyX_
private

Definition at line 67 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXBlade_
private

Definition at line 91 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXDisk_
private

Definition at line 97 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXLad_
private

Definition at line 73 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXLay_
private

Definition at line 79 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXPhi_
private

Definition at line 85 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXRing_
private

Definition at line 103 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyY_
private

Definition at line 68 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYBlade_
private

Definition at line 92 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYDisk_
private

Definition at line 98 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYLad_
private

Definition at line 74 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYLay_
private

Definition at line 80 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYPhi_
private

Definition at line 86 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYRing_
private

Definition at line 104 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meMissing_
private

Definition at line 153 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlpha_
private

Definition at line 156 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaBlade_
private

Definition at line 181 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaDisk_
private

Definition at line 187 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaLad_
private

Definition at line 163 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaLay_
private

Definition at line 169 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaPhi_
private

Definition at line 175 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaRing_
private

Definition at line 193 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBeta_
private

Definition at line 157 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaBlade_
private

Definition at line 182 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaDisk_
private

Definition at line 188 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaLad_
private

Definition at line 164 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaLay_
private

Definition at line 170 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaPhi_
private

Definition at line 176 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaRing_
private

Definition at line 194 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBlade_
private

Definition at line 178 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingDisk_
private

Definition at line 184 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingLad_
private

Definition at line 159 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingLay_
private

Definition at line 166 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingModLad_
private

Definition at line 162 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingPhi_
private

Definition at line 172 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingRing_
private

Definition at line 190 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingX_
private

Definition at line 154 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingXBlade_
private

Definition at line 179 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXDisk_
private

Definition at line 185 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXLad_
private

Definition at line 160 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXLay_
private

Definition at line 167 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXPhi_
private

Definition at line 173 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXRing_
private

Definition at line 191 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingY_
private

Definition at line 155 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingYBlade_
private

Definition at line 180 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYDisk_
private

Definition at line 186 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYLad_
private

Definition at line 161 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYLay_
private

Definition at line 168 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYPhi_
private

Definition at line 174 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYRing_
private

Definition at line 192 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValid_
private

Definition at line 109 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlpha_
private

Definition at line 112 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaBlade_
private

Definition at line 137 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaDisk_
private

Definition at line 143 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaLad_
private

Definition at line 119 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaLay_
private

Definition at line 125 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaPhi_
private

Definition at line 131 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaRing_
private

Definition at line 149 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBeta_
private

Definition at line 113 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaBlade_
private

Definition at line 138 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaDisk_
private

Definition at line 144 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaLad_
private

Definition at line 120 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaLay_
private

Definition at line 126 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaPhi_
private

Definition at line 132 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaRing_
private

Definition at line 150 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBlade_
private

Definition at line 134 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidDisk_
private

Definition at line 140 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidLad_
private

Definition at line 115 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidLay_
private

Definition at line 122 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidModLad_
private

Definition at line 118 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidPhi_
private

Definition at line 128 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidRing_
private

Definition at line 146 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidX_
private

Definition at line 110 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidXBlade_
private

Definition at line 135 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXDisk_
private

Definition at line 141 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXLad_
private

Definition at line 116 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXLay_
private

Definition at line 123 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXPhi_
private

Definition at line 129 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXRing_
private

Definition at line 147 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidY_
private

Definition at line 111 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidYBlade_
private

Definition at line 136 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYDisk_
private

Definition at line 142 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYLad_
private

Definition at line 117 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYLay_
private

Definition at line 124 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYPhi_
private

Definition at line 130 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYRing_
private

Definition at line 148 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

bool SiPixelHitEfficiencyModule::updateEfficiencies
private

Definition at line 63 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and fill().