CMS 3D CMS Logo

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

#include <SiPixelRecHitsValid.h>

Inheritance diagram for SiPixelRecHitsValid:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 SiPixelRecHitsValid (const edm::ParameterSet &conf)
 
 ~SiPixelRecHitsValid ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void beginJob ()
 
void bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es)
 
void endJob ()
 
- Protected Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Member Functions

void fillBarrel (const SiPixelRecHit &, const PSimHit &, DetId, const PixelGeomDetUnit *, const TrackerTopology *tTopo)
 
void fillForward (const SiPixelRecHit &, const PSimHit &, DetId, const PixelGeomDetUnit *, const TrackerTopology *tTopo)
 

Private Attributes

MonitorElementclustChargeDisk1Plaquettes [7]
 
MonitorElementclustChargeDisk2Plaquettes [7]
 
MonitorElementclustChargeLayer1Modules [8]
 
MonitorElementclustChargeLayer2Modules [8]
 
MonitorElementclustChargeLayer3Modules [8]
 
MonitorElementclustXSizeDisk1Plaquettes [7]
 
MonitorElementclustXSizeDisk2Plaquettes [7]
 
MonitorElementclustXSizeLayer [3]
 
MonitorElementclustYSizeDisk1Plaquettes [7]
 
MonitorElementclustYSizeDisk2Plaquettes [7]
 
MonitorElementclustYSizeModule [8]
 
edm::ParameterSet conf_
 
DQMStoredbe_
 
std::string outputFile_
 
MonitorElementrecHitXFullModules
 
MonitorElementrecHitXHalfModules
 
MonitorElementrecHitXPlaquetteSize1
 
MonitorElementrecHitXPlaquetteSize2
 
MonitorElementrecHitXPullAllB
 
MonitorElementrecHitXPullAllF
 
MonitorElementrecHitXPullDisk1Plaquettes [7]
 
MonitorElementrecHitXPullDisk2Plaquettes [7]
 
MonitorElementrecHitXPullFlippedLadderLayers [3]
 
MonitorElementrecHitXPullNonFlippedLadderLayers [3]
 
MonitorElementrecHitXResAllB
 
MonitorElementrecHitXResAllF
 
MonitorElementrecHitXResDisk1Plaquettes [7]
 
MonitorElementrecHitXResDisk2Plaquettes [7]
 
MonitorElementrecHitXResFlippedLadderLayers [3]
 
MonitorElementrecHitXResNonFlippedLadderLayers [3]
 
MonitorElementrecHitYAllModules
 
MonitorElementrecHitYPlaquetteSize2
 
MonitorElementrecHitYPlaquetteSize3
 
MonitorElementrecHitYPlaquetteSize4
 
MonitorElementrecHitYPlaquetteSize5
 
MonitorElementrecHitYPullAllB
 
MonitorElementrecHitYPullAllF
 
MonitorElementrecHitYPullDisk1Plaquettes [7]
 
MonitorElementrecHitYPullDisk2Plaquettes [7]
 
MonitorElementrecHitYPullLayer1Modules [8]
 
MonitorElementrecHitYPullLayer2Modules [8]
 
MonitorElementrecHitYPullLayer3Modules [8]
 
MonitorElementrecHitYResAllB
 
MonitorElementrecHitYResAllF
 
MonitorElementrecHitYResDisk1Plaquettes [7]
 
MonitorElementrecHitYResDisk2Plaquettes [7]
 
MonitorElementrecHitYResLayer1Modules [8]
 
MonitorElementrecHitYResLayer2Modules [8]
 
MonitorElementrecHitYResLayer3Modules [8]
 
bool runStandalone
 
edm::EDGetTokenT
< SiPixelRecHitCollection
siPixelRecHitCollectionToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

File: SiPixelRecHitsValid.h

Author
Jason Shaev, JHU Created: 6/7/06

Definition at line 27 of file SiPixelRecHitsValid.h.

Constructor & Destructor Documentation

SiPixelRecHitsValid::SiPixelRecHitsValid ( const edm::ParameterSet conf)

Definition at line 51 of file SiPixelRecHitsValid.cc.

52  : outputFile_( ps.getUntrackedParameter<std::string>( "outputFile", "pixelrechitshisto.root" ) )
53  , runStandalone ( ps.getParameter<bool>("runStandalone") )
54  , dbe_(0)
55  , conf_(ps)
56  , siPixelRecHitCollectionToken_( consumes<SiPixelRecHitCollection>( ps.getParameter<edm::InputTag>( "src" ) ) ) {
57 
58 }
edm::ParameterSet conf_
edm::EDGetTokenT< SiPixelRecHitCollection > siPixelRecHitCollectionToken_
SiPixelRecHitsValid::~SiPixelRecHitsValid ( )

Definition at line 60 of file SiPixelRecHitsValid.cc.

60  {
61 }

Member Function Documentation

void SiPixelRecHitsValid::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 272 of file SiPixelRecHitsValid.cc.

References TrackerHitAssociator::associateHit(), edmNew::DetSet< T >::begin(), conf_, gather_cfg::cout, edmNew::DetSet< T >::end(), edm::EventID::event(), fillBarrel(), fillForward(), relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), TrackerGeometry::idToDet(), m, edm::ESHandle< class >::product(), edm::EventID::run(), siPixelRecHitCollectionToken_, mathSSE::sqrt(), DetId::subdetId(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().

273 {
274 
275  //Retrieve tracker topology from geometry
277  es.get<IdealGeometryRecord>().get(tTopoHand);
278  const TrackerTopology *tTopo=tTopoHand.product();
279 
280  edm::LogInfo("EventInfo") << " Run = " << e.id().run() << " Event = " << e.id().event();
281  if ( (int) e.id().event() % 1000 == 0 )
282  std::cout << " Run = " << e.id().run() << " Event = " << e.id().event() << std::endl;
283 
284  //Get RecHits
286  e.getByToken( siPixelRecHitCollectionToken_, recHitColl );
287 
288  //Get event setup
290  es.get<TrackerDigiGeometryRecord>().get(geom);
291  const TrackerGeometry& theTracker(*geom);
292 
293  TrackerHitAssociator associate( e, conf_ );
294 
295  //iterate over detunits
296  for (TrackerGeometry::DetContainer::const_iterator it = geom->dets().begin(); it != geom->dets().end(); it++)
297  {
298  DetId detId = ((*it)->geographicalId());
299  unsigned int subid=detId.subdetId();
300 
301  if (! ((subid==1) || (subid==2))) continue;
302 
303  const PixelGeomDetUnit * theGeomDet = dynamic_cast<const PixelGeomDetUnit*>(theTracker.idToDet(detId) );
304 
305  SiPixelRecHitCollection::const_iterator pixeldet = recHitColl->find(detId);
306  if (pixeldet == recHitColl->end()) continue;
307  SiPixelRecHitCollection::DetSet pixelrechitRange = *pixeldet;
308  SiPixelRecHitCollection::DetSet::const_iterator pixelrechitRangeIteratorBegin = pixelrechitRange.begin();
309  SiPixelRecHitCollection::DetSet::const_iterator pixelrechitRangeIteratorEnd = pixelrechitRange.end();
310  SiPixelRecHitCollection::DetSet::const_iterator pixeliter = pixelrechitRangeIteratorBegin;
311  std::vector<PSimHit> matched;
312 
313  //----Loop over rechits for this detId
314  for ( ; pixeliter != pixelrechitRangeIteratorEnd; pixeliter++)
315  {
316  matched.clear();
317  matched = associate.associateHit(*pixeliter);
318 
319  if ( !matched.empty() )
320  {
321  float closest = 9999.9;
322  std::vector<PSimHit>::const_iterator closestit = matched.begin();
323  LocalPoint lp = pixeliter->localPosition();
324  float rechit_x = lp.x();
325  float rechit_y = lp.y();
326 
327  //loop over sim hits and fill closet
328  for (std::vector<PSimHit>::const_iterator m = matched.begin(); m<matched.end(); m++)
329  {
330  float sim_x1 = (*m).entryPoint().x();
331  float sim_x2 = (*m).exitPoint().x();
332  float sim_xpos = 0.5*(sim_x1+sim_x2);
333 
334  float sim_y1 = (*m).entryPoint().y();
335  float sim_y2 = (*m).exitPoint().y();
336  float sim_ypos = 0.5*(sim_y1+sim_y2);
337 
338  float x_res = fabs(sim_xpos - rechit_x);
339  float y_res = fabs(sim_ypos - rechit_y);
340 
341  float dist = sqrt(x_res*x_res + y_res*y_res);
342 
343  if ( dist < closest )
344  {
345  closest = x_res;
346  closestit = m;
347  }
348  } // end sim hit loop
349 
350  if (subid==1)
351  { //<----------barrel
352  fillBarrel(*pixeliter, *closestit, detId, theGeomDet,tTopo);
353  } // end barrel
354  if (subid==2)
355  { // <-------forward
356  fillForward(*pixeliter, *closestit, detId, theGeomDet,tTopo);
357  }
358 
359  } // end matched emtpy
360  } // <-----end rechit loop
361  } // <------ end detunit loop
362 }
RunNumber_t run() const
Definition: EventID.h:42
EventNumber_t event() const
Definition: EventID.h:44
edm::ParameterSet conf_
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
T y() const
Definition: PV3DBase.h:63
T sqrt(T t)
Definition: SSEVec.h:48
edm::EDGetTokenT< SiPixelRecHitCollection > siPixelRecHitCollectionToken_
void fillForward(const SiPixelRecHit &, const PSimHit &, DetId, const PixelGeomDetUnit *, const TrackerTopology *tTopo)
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
Definition: DetId.h:18
T const * product() const
Definition: ESHandle.h:62
edm::EventID id() const
Definition: EventBase.h:56
iterator end()
Definition: DetSetNew.h:70
tuple cout
Definition: gather_cfg.py:121
T x() const
Definition: PV3DBase.h:62
void fillBarrel(const SiPixelRecHit &, const PSimHit &, DetId, const PixelGeomDetUnit *, const TrackerTopology *tTopo)
iterator begin()
Definition: DetSetNew.h:67
void SiPixelRecHitsValid::beginJob ( void  )
protected

Definition at line 63 of file SiPixelRecHitsValid.cc.

63  {
64 }
void SiPixelRecHitsValid::bookHistograms ( DQMStore::IBooker ibooker,
const edm::Run run,
const edm::EventSetup es 
)
protectedvirtual

Implements DQMEDAnalyzer.

Definition at line 66 of file SiPixelRecHitsValid.cc.

References DQMStore::IBooker::book1D(), clustChargeDisk1Plaquettes, clustChargeDisk2Plaquettes, clustChargeLayer1Modules, clustChargeLayer2Modules, clustChargeLayer3Modules, clustXSizeDisk1Plaquettes, clustXSizeDisk2Plaquettes, clustXSizeLayer, clustYSizeDisk1Plaquettes, clustYSizeDisk2Plaquettes, clustYSizeModule, dbe_, timingPdfMaker::histo, i, cppFunctionSkipper::operator, recHitXFullModules, recHitXHalfModules, recHitXPlaquetteSize1, recHitXPlaquetteSize2, recHitXPullAllB, recHitXPullAllF, recHitXPullDisk1Plaquettes, recHitXPullDisk2Plaquettes, recHitXPullFlippedLadderLayers, recHitXPullNonFlippedLadderLayers, recHitXResAllB, recHitXResAllF, recHitXResDisk1Plaquettes, recHitXResDisk2Plaquettes, recHitXResFlippedLadderLayers, recHitXResNonFlippedLadderLayers, recHitYAllModules, recHitYPlaquetteSize2, recHitYPlaquetteSize3, recHitYPlaquetteSize4, recHitYPlaquetteSize5, recHitYPullAllB, recHitYPullAllF, recHitYPullDisk1Plaquettes, recHitYPullDisk2Plaquettes, recHitYPullLayer1Modules, recHitYPullLayer2Modules, recHitYPullLayer3Modules, recHitYResAllB, recHitYResAllF, recHitYResDisk1Plaquettes, recHitYResDisk2Plaquettes, recHitYResLayer1Modules, recHitYResLayer2Modules, recHitYResLayer3Modules, and DQMStore::IBooker::setCurrentFolder().

66  {
68  //dbe_->showDirStructure();
69  ibooker.setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Pixel/clustBPIX");
70 
71  Char_t histo[200];
72 
73  // ---------------------------------------------------------------
74  // All histograms that depend on plaquette number have 7 indexes.
75  // The first 4 (0-3) correspond to Panel 1 plaquettes 1-4.
76  // The last 3 (4-6) correspond to Panel 2 plaquettes 1-3.
77  // ---------------------------------------------------------------
78 
79  //Cluster y-size by module number for barrel
80  for (int i=0; i<8; i++) {
81  sprintf(histo, "Clust_y_size_Module%d", i+1);
82  clustYSizeModule[i] = ibooker.book1D(histo,"Cluster y-size by Module", 20, 0.5, 20.5);
83  } // end for
84 
85  //Cluster x-size by layer for barrel
86  for (int i=0; i<3; i++) {
87  sprintf(histo, "Clust_x_size_Layer%d", i+1);
88  clustXSizeLayer[i] = ibooker.book1D(histo,"Cluster x-size by Layer", 20, 0.5, 20.5);
89  } // end for
90 
91  //Cluster charge by module for 3 layers of barrel
92  for (int i=0; i<8; i++) {
93  //Cluster charge by module for Layer1
94  sprintf(histo, "Clust_charge_Layer1_Module%d", i+1);
95  clustChargeLayer1Modules[i] = ibooker.book1D(histo, "Cluster charge Layer 1 by Module", 50, 0., 200000.);
96 
97  //Cluster charge by module for Layer2
98  sprintf(histo, "Clust_charge_Layer2_Module%d", i+1);
99  clustChargeLayer2Modules[i] = ibooker.book1D(histo, "Cluster charge Layer 2 by Module", 50, 0., 200000.);
100 
101  //Cluster charge by module for Layer3
102  sprintf(histo, "Clust_charge_Layer3_Module%d", i+1);
103  clustChargeLayer3Modules[i] = ibooker.book1D(histo, "Cluster charge Layer 3 by Module",50, 0., 200000.);
104  } // end for
105 
106  ibooker.setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Pixel/clustFPIX");
107  //Cluster x-size, y-size, and charge by plaquette for Disks in Forward
108  for (int i=0; i<7; i++) {
109  //Cluster x-size for Disk1 by Plaquette
110  sprintf(histo, "Clust_x_size_Disk1_Plaquette%d", i+1);
111  clustXSizeDisk1Plaquettes[i] = ibooker.book1D(histo, "Cluster X-size for Disk1 by Plaquette", 20, 0.5, 20.5);
112 
113  //Cluster x-size for Disk2 by Plaquette
114  sprintf(histo, "Clust_x_size_Disk2_Plaquette%d", i+1);
115  clustXSizeDisk2Plaquettes[i] = ibooker.book1D(histo, "Cluster X-size for Disk2 by Plaquette", 20, 0.5, 20.5);
116 
117  //Cluster y-size for Disk1 by Plaquette
118  sprintf(histo, "Clust_y_size_Disk1_Plaquette%d", i+1);
119  clustYSizeDisk1Plaquettes[i] = ibooker.book1D(histo, "Cluster Y-size for Disk1 by Plaquette", 20, 0.5, 20.5);
120 
121  //Cluster y-size for Disk2 by Plaquette
122  sprintf(histo, "Clust_y_size_Disk2_Plaquette%d", i+1);
123  clustYSizeDisk2Plaquettes[i] = ibooker.book1D(histo, "Cluster Y-size for Disk2 by Plaquette", 20, 0.5, 20.5);
124 
125  //Cluster charge for Disk1 by Plaquette
126  sprintf(histo, "Clust_charge_Disk1_Plaquette%d", i+1);
127  clustChargeDisk1Plaquettes[i] = ibooker.book1D(histo, "Cluster charge for Disk1 by Plaquette", 50, 0., 200000.);
128 
129  //Cluster charge for Disk2 by Plaquette
130  sprintf(histo, "Clust_charge_Disk2_Plaquette%d", i+1);
131  clustChargeDisk2Plaquettes[i] = ibooker.book1D(histo, "Cluster charge for Disk2 by Plaquette", 50, 0., 200000.);
132  } // end for
133 
134 
135 
136  ibooker.setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Pixel/recHitBPIX");
137  //RecHit X Resolution all barrel hits
138  recHitXResAllB = ibooker.book1D("RecHit_xres_b_All","RecHit X Res All Modules in Barrel", 100, -200., 200.);
139 
140  //RecHit Y Resolution all barrel hits
141  recHitYResAllB = ibooker.book1D("RecHit_yres_b_All","RecHit Y Res All Modules in Barrel", 100, -200., 200.);
142 
143  //RecHit X distribution for full modules for barrel
144  recHitXFullModules = ibooker.book1D("RecHit_x_FullModules", "RecHit X distribution for full modules", 100,-2., 2.);
145 
146  //RecHit X distribution for half modules for barrel
147  recHitXHalfModules = ibooker.book1D("RecHit_x_HalfModules", "RecHit X distribution for half modules", 100, -1., 1.);
148 
149  //RecHit Y distribution all modules for barrel
150  recHitYAllModules = ibooker.book1D("RecHit_y_AllModules", "RecHit Y distribution for all modules", 100, -4., 4.);
151 
152  //RecHit X resolution for flipped and unflipped ladders by layer for barrel
153  for (int i=0; i<3; i++) {
154  //RecHit X resolution for flipped ladders by layer
155  sprintf(histo, "RecHit_XRes_FlippedLadder_Layer%d", i+1);
156  recHitXResFlippedLadderLayers[i] = ibooker.book1D(histo, "RecHit XRes Flipped Ladders by Layer", 100, -200., 200.);
157 
158  //RecHit X resolution for unflipped ladders by layer
159  sprintf(histo, "RecHit_XRes_UnFlippedLadder_Layer%d", i+1);
160  recHitXResNonFlippedLadderLayers[i] = ibooker.book1D(histo, "RecHit XRes NonFlipped Ladders by Layer", 100, -200., 200.);
161  } // end for
162 
163  //RecHit Y resolutions for layers by module for barrel
164  for (int i=0; i<8; i++) {
165  //Rec Hit Y resolution by module for Layer1
166  sprintf(histo, "RecHit_YRes_Layer1_Module%d", i+1);
167  recHitYResLayer1Modules[i] = ibooker.book1D(histo, "RecHit YRes Layer1 by module", 100, -200., 200.);
168 
169  //RecHit Y resolution by module for Layer2
170  sprintf(histo, "RecHit_YRes_Layer2_Module%d", i+1);
171  recHitYResLayer2Modules[i] = ibooker.book1D(histo, "RecHit YRes Layer2 by module", 100, -200., 200.);
172 
173  //RecHit Y resolution by module for Layer3
174  sprintf(histo, "RecHit_YRes_Layer3_Module%d", i+1);
175  recHitYResLayer3Modules[i] = ibooker.book1D(histo, "RecHit YRes Layer3 by module", 100, -200., 200.);
176  } // end for
177 
178  ibooker.setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Pixel/recHitFPIX");
179  //RecHit X resolution all plaquettes
180  recHitXResAllF = ibooker.book1D("RecHit_xres_f_All", "RecHit X Res All in Forward", 100, -200., 200.);
181 
182  //RecHit Y resolution all plaquettes
183  recHitYResAllF = ibooker.book1D("RecHit_yres_f_All", "RecHit Y Res All in Forward", 100, -200., 200.);
184 
185  //RecHit X distribution for plaquette with x-size 1 in forward
186  recHitXPlaquetteSize1 = ibooker.book1D("RecHit_x_Plaquette_xsize1", "RecHit X Distribution for plaquette x-size1", 100, -2., 2.);
187 
188  //RecHit X distribution for plaquette with x-size 2 in forward
189  recHitXPlaquetteSize2 = ibooker.book1D("RecHit_x_Plaquette_xsize2", "RecHit X Distribution for plaquette x-size2", 100, -2., 2.);
190 
191  //RecHit Y distribution for plaquette with y-size 2 in forward
192  recHitYPlaquetteSize2 = ibooker.book1D("RecHit_y_Plaquette_ysize2", "RecHit Y Distribution for plaquette y-size2", 100, -4., 4.);
193 
194  //RecHit Y distribution for plaquette with y-size 3 in forward
195  recHitYPlaquetteSize3 = ibooker.book1D("RecHit_y_Plaquette_ysize3", "RecHit Y Distribution for plaquette y-size3", 100, -4., 4.);
196 
197  //RecHit Y distribution for plaquette with y-size 4 in forward
198  recHitYPlaquetteSize4 = ibooker.book1D("RecHit_y_Plaquette_ysize4", "RecHit Y Distribution for plaquette y-size4", 100, -4., 4.);
199 
200  //RecHit Y distribution for plaquette with y-size 5 in forward
201  recHitYPlaquetteSize5 = ibooker.book1D("RecHit_y_Plaquette_ysize5", "RecHit Y Distribution for plaquette y-size5", 100, -4., 4.);
202 
203  //X and Y resolutions for both disks by plaquette in forward
204  for (int i=0; i<7; i++) {
205  //X resolution for Disk1 by plaquette
206  sprintf(histo, "RecHit_XRes_Disk1_Plaquette%d", i+1);
207  recHitXResDisk1Plaquettes[i] = ibooker.book1D(histo, "RecHit XRes Disk1 by plaquette", 100, -200., 200.);
208  //X resolution for Disk2 by plaquette
209  sprintf(histo, "RecHit_XRes_Disk2_Plaquette%d", i+1);
210  recHitXResDisk2Plaquettes[i] = ibooker.book1D(histo, "RecHit XRes Disk2 by plaquette", 100, -200., 200.);
211 
212  //Y resolution for Disk1 by plaquette
213  sprintf(histo, "RecHit_YRes_Disk1_Plaquette%d", i+1);
214  recHitYResDisk1Plaquettes[i] = ibooker.book1D(histo, "RecHit YRes Disk1 by plaquette", 100, -200., 200.);
215  //Y resolution for Disk2 by plaquette
216  sprintf(histo, "RecHit_YRes_Disk2_Plaquette%d", i+1);
217  recHitYResDisk2Plaquettes[i] = ibooker.book1D(histo, "RecHit YRes Disk2 by plaquette", 100, -200., 200.);
218 
219  }
220 
221 
222  ibooker.setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Pixel/recHitPullsBPIX");
223  recHitXPullAllB = ibooker.book1D("RecHit_xres_b_All" , "RecHit X Pull All Modules in Barrel" , 100, -10.0, 10.0);
224  recHitYPullAllB = ibooker.book1D("RecHit_yres_b_All" , "RecHit Y Pull All Modules in Barrel" , 100, -10.0, 10.0);
225 
226  for (int i=0; i<3; i++)
227  {
228  sprintf(histo, "RecHit_XPull_FlippedLadder_Layer%d", i+1);
229  recHitXPullFlippedLadderLayers[i] = ibooker.book1D(histo, "RecHit XPull Flipped Ladders by Layer", 100, -10.0, 10.0);
230 
231  sprintf(histo, "RecHit_XPull_UnFlippedLadder_Layer%d", i+1);
232  recHitXPullNonFlippedLadderLayers[i] = ibooker.book1D(histo, "RecHit XPull NonFlipped Ladders by Layer", 100, -10.0, 10.0);
233  }
234 
235  for (int i=0; i<8; i++)
236  {
237  sprintf(histo, "RecHit_YPull_Layer1_Module%d", i+1);
238  recHitYPullLayer1Modules[i] = ibooker.book1D(histo, "RecHit YPull Layer1 by module", 100, -10.0, 10.0);
239 
240  sprintf(histo, "RecHit_YPull_Layer2_Module%d", i+1);
241  recHitYPullLayer2Modules[i] = ibooker.book1D(histo, "RecHit YPull Layer2 by module", 100, -10.0, 10.0);
242 
243  sprintf(histo, "RecHit_YPull_Layer3_Module%d", i+1);
244  recHitYPullLayer3Modules[i] = ibooker.book1D(histo, "RecHit YPull Layer3 by module", 100, -10.0, 10.0);
245  }
246 
247  ibooker.setCurrentFolder("TrackerRecHitsV/TrackerRecHits/Pixel/recHitPullsFPIX");
248  recHitXPullAllF = ibooker.book1D("RecHit_XPull_f_All", "RecHit X Pull All in Forward", 100, -10.0, 10.0);
249 
250  recHitYPullAllF = ibooker.book1D("RecHit_YPull_f_All", "RecHit Y Pull All in Forward", 100, -10.0, 10.0);
251 
252  for (int i=0; i<7; i++)
253  {
254  sprintf(histo, "RecHit_XPull_Disk1_Plaquette%d", i+1);
255  recHitXPullDisk1Plaquettes[i] = ibooker.book1D(histo, "RecHit XPull Disk1 by plaquette", 100, -10.0, 10.0);
256  sprintf(histo, "RecHit_XPull_Disk2_Plaquette%d", i+1);
257  recHitXPullDisk2Plaquettes[i] = ibooker.book1D(histo, "RecHit XPull Disk2 by plaquette", 100, -10.0, 10.0);
258 
259  sprintf(histo, "RecHit_YPull_Disk1_Plaquette%d", i+1);
260  recHitYPullDisk1Plaquettes[i] = ibooker.book1D(histo, "RecHit YPull Disk1 by plaquette", 100, -10.0, 10.0);
261 
262  sprintf(histo, "RecHit_YPull_Disk2_Plaquette%d", i+1);
263  recHitYPullDisk2Plaquettes[i] = ibooker.book1D(histo, "RecHit YPull Disk2 by plaquette", 100, -10.0, 10.0);
264  }
265 }
int i
Definition: DBlmapReader.cc:9
MonitorElement * clustYSizeModule[8]
MonitorElement * clustXSizeDisk1Plaquettes[7]
MonitorElement * recHitXPullDisk2Plaquettes[7]
MonitorElement * recHitXResFlippedLadderLayers[3]
MonitorElement * recHitXFullModules
MonitorElement * recHitXResAllF
MonitorElement * recHitXHalfModules
MonitorElement * recHitYPullAllF
MonitorElement * recHitXResDisk1Plaquettes[7]
MonitorElement * clustXSizeDisk2Plaquettes[7]
MonitorElement * recHitYResAllB
MonitorElement * recHitYPullDisk2Plaquettes[7]
MonitorElement * clustXSizeLayer[3]
MonitorElement * clustChargeLayer1Modules[8]
MonitorElement * recHitYPlaquetteSize5
MonitorElement * recHitXPlaquetteSize1
MonitorElement * recHitXResDisk2Plaquettes[7]
MonitorElement * recHitXPullNonFlippedLadderLayers[3]
MonitorElement * recHitYPullDisk1Plaquettes[7]
MonitorElement * recHitXPullAllB
MonitorElement * recHitXResAllB
MonitorElement * clustChargeLayer2Modules[8]
MonitorElement * recHitYResDisk2Plaquettes[7]
MonitorElement * recHitXResNonFlippedLadderLayers[3]
MonitorElement * recHitYResDisk1Plaquettes[7]
MonitorElement * recHitYResLayer2Modules[8]
MonitorElement * recHitYPlaquetteSize2
MonitorElement * recHitYPullLayer3Modules[8]
MonitorElement * clustYSizeDisk1Plaquettes[7]
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:113
MonitorElement * recHitXPlaquetteSize2
MonitorElement * clustChargeLayer3Modules[8]
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * recHitYResAllF
MonitorElement * recHitYResLayer3Modules[8]
MonitorElement * recHitYPullLayer2Modules[8]
MonitorElement * clustYSizeDisk2Plaquettes[7]
MonitorElement * recHitYPlaquetteSize4
MonitorElement * recHitXPullFlippedLadderLayers[3]
MonitorElement * recHitYResLayer1Modules[8]
MonitorElement * recHitYPullLayer1Modules[8]
MonitorElement * recHitXPullDisk1Plaquettes[7]
MonitorElement * recHitYPullAllB
MonitorElement * recHitXPullAllF
MonitorElement * recHitYPlaquetteSize3
MonitorElement * clustChargeDisk1Plaquettes[7]
MonitorElement * clustChargeDisk2Plaquettes[7]
MonitorElement * recHitYAllModules
void SiPixelRecHitsValid::endJob ( void  )
protected

Definition at line 267 of file SiPixelRecHitsValid.cc.

References dbe_, outputFile_, runStandalone, and DQMStore::save().

267  {
268  //Save histos in local root file only in standalone mode
269  if ( runStandalone && outputFile_.size() != 0 && dbe_ ){ dbe_->save(outputFile_);}
270 }
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
Definition: DQMStore.cc:2540
void SiPixelRecHitsValid::fillBarrel ( const SiPixelRecHit recHit,
const PSimHit simHit,
DetId  detId,
const PixelGeomDetUnit theGeomDet,
const TrackerTopology tTopo 
)
private

Definition at line 364 of file SiPixelRecHitsValid.cc.

References DeDxDiscriminatorTools::charge(), clustChargeLayer1Modules, clustChargeLayer2Modules, clustChargeLayer3Modules, SiPixelRecHit::cluster(), clustXSizeLayer, clustYSizeModule, PSimHit::entryPoint(), PSimHit::exitPoint(), MonitorElement::Fill(), HcalObjRepresent::Fill(), i, BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), PixelTopology::nrows(), PV3DBase< T, PVType, FrameType >::perp(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), recHitXFullModules, recHitXHalfModules, recHitXPullAllB, recHitXPullFlippedLadderLayers, recHitXPullNonFlippedLadderLayers, recHitXResAllB, recHitXResFlippedLadderLayers, recHitXResNonFlippedLadderLayers, recHitYAllModules, recHitYPullAllB, recHitYPullLayer1Modules, recHitYPullLayer2Modules, recHitYPullLayer3Modules, recHitYResAllB, recHitYResLayer1Modules, recHitYResLayer2Modules, recHitYResLayer3Modules, tablePrinter::rows, PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), GeomDet::surface(), Surface::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().

Referenced by analyze().

367 {
368  const float cmtomicron = 10000.0;
369 
370  LocalPoint lp = recHit.localPosition();
371  float lp_y = lp.y();
372  float lp_x = lp.x();
373 
374  LocalError lerr = recHit.localPositionError();
375  float lerr_x = sqrt(lerr.xx());
376  float lerr_y = sqrt(lerr.yy());
377 
378  recHitYAllModules->Fill(lp_y);
379 
380  float sim_x1 = simHit.entryPoint().x();
381  float sim_x2 = simHit.exitPoint().x();
382  float sim_xpos = 0.5*(sim_x1 + sim_x2);
383  float res_x = (lp.x() - sim_xpos)*cmtomicron;
384 
385  recHitXResAllB->Fill(res_x);
386 
387  float sim_y1 = simHit.entryPoint().y();
388  float sim_y2 = simHit.exitPoint().y();
389  float sim_ypos = 0.5*(sim_y1 + sim_y2);
390  float res_y = (lp.y() - sim_ypos)*cmtomicron;
391 
392  recHitYResAllB->Fill(res_y);
393 
394  float pull_x = ( lp_x - sim_xpos ) / lerr_x;
395  float pull_y = ( lp_y - sim_ypos ) / lerr_y;
396 
397  recHitXPullAllB->Fill(pull_x);
398  recHitYPullAllB->Fill(pull_y);
399 
400  int rows = theGeomDet->specificTopology().nrows();
401 
402  if (rows == 160)
403  {
404  recHitXFullModules->Fill(lp_x);
405  }
406  else if (rows == 80)
407  {
408  recHitXHalfModules->Fill(lp_x);
409  }
410 
411  float tmp1 = theGeomDet->surface().toGlobal(Local3DPoint(0.,0.,0.)).perp();
412  float tmp2 = theGeomDet->surface().toGlobal(Local3DPoint(0.,0.,1.)).perp();
413 
414  if (tmp2<tmp1)
415  { // flipped
416  for (unsigned int i=0; i<3; i++)
417  {
418  if (tTopo->pxbLayer(detId) == i+1)
419  {
422  }
423  }
424  }
425  else
426  {
427  for (unsigned int i=0; i<3; i++)
428  {
429  if (tTopo->pxbLayer(detId) == i+1)
430  {
433  }
434  }
435  }
436 
437  //get cluster
438  SiPixelRecHit::ClusterRef const& clust = recHit.cluster();
439 
440  // fill module dependent info
441  for (unsigned int i=0; i<8; i++)
442  {
443  if (tTopo->pxbModule(detId) == i+1)
444  {
445  int sizeY = (*clust).sizeY();
446  clustYSizeModule[i]->Fill(sizeY);
447 
448  if (tTopo->pxbLayer(detId) == 1)
449  {
450  float charge = (*clust).charge();
451  clustChargeLayer1Modules[i]->Fill(charge);
452  recHitYResLayer1Modules[i]->Fill(res_y);
453  recHitYPullLayer1Modules[i]->Fill(pull_y);
454  }
455  else if (tTopo->pxbLayer(detId) == 2)
456  {
457  float charge = (*clust).charge();
458  clustChargeLayer2Modules[i]->Fill(charge);
459  recHitYResLayer2Modules[i]->Fill(res_y);
460  recHitYPullLayer2Modules[i]->Fill(pull_y);
461  }
462  else if (tTopo->pxbLayer(detId) == 3)
463  {
464  float charge = (*clust).charge();
465  clustChargeLayer3Modules[i]->Fill(charge);
466  recHitYResLayer3Modules[i]->Fill(res_y);
467  recHitYPullLayer3Modules[i]->Fill(pull_y);
468  }
469  }
470  }
471  int sizeX = (*clust).sizeX();
472  if (tTopo->pxbLayer(detId) == 1) clustXSizeLayer[0]->Fill(sizeX);
473  if (tTopo->pxbLayer(detId) == 2) clustXSizeLayer[1]->Fill(sizeX);
474  if (tTopo->pxbLayer(detId) == 3) clustXSizeLayer[2]->Fill(sizeX);
475 }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
int i
Definition: DBlmapReader.cc:9
MonitorElement * clustYSizeModule[8]
float xx() const
Definition: LocalError.h:24
MonitorElement * recHitXResFlippedLadderLayers[3]
MonitorElement * recHitXFullModules
T perp() const
Definition: PV3DBase.h:72
MonitorElement * recHitXHalfModules
MonitorElement * recHitYResAllB
MonitorElement * clustXSizeLayer[3]
T y() const
Definition: PV3DBase.h:63
MonitorElement * clustChargeLayer1Modules[8]
virtual int nrows() const =0
unsigned int pxbModule(const DetId &id) const
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
double charge(const std::vector< uint8_t > &Ampls)
MonitorElement * recHitXPullNonFlippedLadderLayers[3]
void Fill(long long x)
MonitorElement * recHitXPullAllB
MonitorElement * recHitXResAllB
MonitorElement * clustChargeLayer2Modules[8]
virtual LocalError localPositionError() const
Local3DPoint exitPoint() const
Exit point in the local Det frame.
Definition: PSimHit.h:38
MonitorElement * recHitXResNonFlippedLadderLayers[3]
MonitorElement * recHitYResLayer2Modules[8]
float yy() const
Definition: LocalError.h:26
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
T sqrt(T t)
Definition: SSEVec.h:48
MonitorElement * recHitYPullLayer3Modules[8]
unsigned int pxbLayer(const DetId &id) const
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
MonitorElement * clustChargeLayer3Modules[8]
MonitorElement * recHitYResLayer3Modules[8]
ClusterRef cluster() const
Definition: SiPixelRecHit.h:49
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
MonitorElement * recHitYPullLayer2Modules[8]
MonitorElement * recHitXPullFlippedLadderLayers[3]
MonitorElement * recHitYResLayer1Modules[8]
MonitorElement * recHitYPullLayer1Modules[8]
MonitorElement * recHitYPullAllB
T x() const
Definition: PV3DBase.h:62
virtual LocalPoint localPosition() const
Local3DPoint entryPoint() const
Entry point in the local Det frame.
Definition: PSimHit.h:35
MonitorElement * recHitYAllModules
void SiPixelRecHitsValid::fillForward ( const SiPixelRecHit recHit,
const PSimHit simHit,
DetId  detId,
const PixelGeomDetUnit theGeomDet,
const TrackerTopology tTopo 
)
private

Definition at line 477 of file SiPixelRecHitsValid.cc.

References DeDxDiscriminatorTools::charge(), clustChargeDisk1Plaquettes, clustChargeDisk2Plaquettes, SiPixelRecHit::cluster(), clustXSizeDisk1Plaquettes, clustXSizeDisk2Plaquettes, clustYSizeDisk1Plaquettes, clustYSizeDisk2Plaquettes, PSimHit::entryPoint(), PSimHit::exitPoint(), MonitorElement::Fill(), i, BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), PixelTopology::ncolumns(), PixelTopology::nrows(), TrackerTopology::pxfDisk(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), recHitXPlaquetteSize1, recHitXPlaquetteSize2, recHitXPullAllF, recHitXPullDisk1Plaquettes, recHitXPullDisk2Plaquettes, recHitXResAllF, recHitXResDisk1Plaquettes, recHitXResDisk2Plaquettes, recHitYPlaquetteSize2, recHitYPlaquetteSize3, recHitYPlaquetteSize4, recHitYPlaquetteSize5, recHitYPullAllF, recHitYPullDisk1Plaquettes, recHitYPullDisk2Plaquettes, recHitYResDisk1Plaquettes, recHitYResDisk2Plaquettes, tablePrinter::rows, PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().

Referenced by analyze().

480 {
481  int rows = theGeomDet->specificTopology().nrows();
482  int cols = theGeomDet->specificTopology().ncolumns();
483 
484  const float cmtomicron = 10000.0;
485 
486  LocalPoint lp = recHit.localPosition();
487  float lp_x = lp.x();
488  float lp_y = lp.y();
489 
490  LocalError lerr = recHit.localPositionError();
491  float lerr_x = sqrt(lerr.xx());
492  float lerr_y = sqrt(lerr.yy());
493 
494  float sim_x1 = simHit.entryPoint().x();
495  float sim_x2 = simHit.exitPoint().x();
496  float sim_xpos = 0.5*(sim_x1 + sim_x2);
497 
498  float sim_y1 = simHit.entryPoint().y();
499  float sim_y2 = simHit.exitPoint().y();
500  float sim_ypos = 0.5*(sim_y1 + sim_y2);
501 
502  float pull_x = ( lp_x - sim_xpos ) / lerr_x;
503  float pull_y = ( lp_y - sim_ypos ) / lerr_y;
504 
505 
506  if (rows == 80)
507  {
509  }
510  else if (rows == 160)
511  {
513  }
514 
515  if (cols == 104)
516  {
518  }
519  else if (cols == 156)
520  {
522  }
523  else if (cols == 208)
524  {
526  }
527  else if (cols == 260)
528  {
530  }
531 
532  float res_x = (lp.x() - sim_xpos)*cmtomicron;
533 
534  recHitXResAllF->Fill(res_x);
535  recHitXPullAllF->Fill(pull_x);
536 
537  float res_y = (lp.y() - sim_ypos)*cmtomicron;
538 
539  recHitYPullAllF->Fill(pull_y);
540 
541  // get cluster
542  SiPixelRecHit::ClusterRef const& clust = recHit.cluster();
543 
544  // fill plaquette dependent info
545  for (unsigned int i=0; i<7; i++)
546  {
547  if (tTopo->pxfModule(detId) == i+1)
548  {
549  if (tTopo->pxfDisk(detId) == 1)
550  {
551  int sizeX = (*clust).sizeX();
553 
554  int sizeY = (*clust).sizeY();
556 
557  float charge = (*clust).charge();
559 
562 
565  }
566  else
567  {
568  int sizeX = (*clust).sizeX();
570 
571  int sizeY = (*clust).sizeY();
573 
574  float charge = (*clust).charge();
576 
579 
582 
583  } // end else
584  } // end if module
585  else if (tTopo->pxfPanel(detId) == 2 && (tTopo->pxfModule(detId)+4) == i+1)
586  {
587  if (tTopo->pxfDisk(detId) == 1)
588  {
589  int sizeX = (*clust).sizeX();
591 
592  int sizeY = (*clust).sizeY();
594 
595  float charge = (*clust).charge();
597 
600 
603  }
604  else
605  {
606  int sizeX = (*clust).sizeX();
608 
609  int sizeY = (*clust).sizeY();
611 
612  float charge = (*clust).charge();
614 
617 
620 
621  } // end else
622  } // end else
623  } // end for
624 }
int i
Definition: DBlmapReader.cc:9
MonitorElement * clustXSizeDisk1Plaquettes[7]
float xx() const
Definition: LocalError.h:24
MonitorElement * recHitXPullDisk2Plaquettes[7]
MonitorElement * recHitXResAllF
virtual int ncolumns() const =0
MonitorElement * recHitYPullAllF
MonitorElement * recHitXResDisk1Plaquettes[7]
MonitorElement * clustXSizeDisk2Plaquettes[7]
unsigned int pxfDisk(const DetId &id) const
MonitorElement * recHitYPullDisk2Plaquettes[7]
T y() const
Definition: PV3DBase.h:63
virtual int nrows() const =0
MonitorElement * recHitYPlaquetteSize5
MonitorElement * recHitXPlaquetteSize1
MonitorElement * recHitXResDisk2Plaquettes[7]
double charge(const std::vector< uint8_t > &Ampls)
void Fill(long long x)
MonitorElement * recHitYPullDisk1Plaquettes[7]
virtual LocalError localPositionError() const
MonitorElement * recHitYResDisk2Plaquettes[7]
Local3DPoint exitPoint() const
Exit point in the local Det frame.
Definition: PSimHit.h:38
MonitorElement * recHitYResDisk1Plaquettes[7]
MonitorElement * recHitYPlaquetteSize2
float yy() const
Definition: LocalError.h:26
T sqrt(T t)
Definition: SSEVec.h:48
MonitorElement * clustYSizeDisk1Plaquettes[7]
unsigned int pxfModule(const DetId &id) const
MonitorElement * recHitXPlaquetteSize2
ClusterRef cluster() const
Definition: SiPixelRecHit.h:49
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
MonitorElement * clustYSizeDisk2Plaquettes[7]
MonitorElement * recHitYPlaquetteSize4
MonitorElement * recHitXPullDisk1Plaquettes[7]
T x() const
Definition: PV3DBase.h:62
virtual LocalPoint localPosition() const
MonitorElement * recHitXPullAllF
Local3DPoint entryPoint() const
Entry point in the local Det frame.
Definition: PSimHit.h:35
MonitorElement * recHitYPlaquetteSize3
MonitorElement * clustChargeDisk1Plaquettes[7]
unsigned int pxfPanel(const DetId &id) const
MonitorElement * clustChargeDisk2Plaquettes[7]

Member Data Documentation

MonitorElement* SiPixelRecHitsValid::clustChargeDisk1Plaquettes[7]
private

Definition at line 64 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::clustChargeDisk2Plaquettes[7]
private

Definition at line 65 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::clustChargeLayer1Modules[8]
private

Definition at line 55 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::clustChargeLayer2Modules[8]
private

Definition at line 56 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::clustChargeLayer3Modules[8]
private

Definition at line 57 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::clustXSizeDisk1Plaquettes[7]
private

Definition at line 60 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::clustXSizeDisk2Plaquettes[7]
private

Definition at line 61 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::clustXSizeLayer[3]
private

Definition at line 54 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::clustYSizeDisk1Plaquettes[7]
private

Definition at line 62 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::clustYSizeDisk2Plaquettes[7]
private

Definition at line 63 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::clustYSizeModule[8]
private

Definition at line 53 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

edm::ParameterSet SiPixelRecHitsValid::conf_
private

Definition at line 115 of file SiPixelRecHitsValid.h.

Referenced by analyze().

DQMStore* SiPixelRecHitsValid::dbe_
private

Definition at line 113 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and endJob().

std::string SiPixelRecHitsValid::outputFile_
private

Definition at line 49 of file SiPixelRecHitsValid.h.

Referenced by endJob().

MonitorElement* SiPixelRecHitsValid::recHitXFullModules
private

Definition at line 70 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXHalfModules
private

Definition at line 71 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXPlaquetteSize1
private

Definition at line 82 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXPlaquetteSize2
private

Definition at line 83 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXPullAllB
private

Definition at line 95 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXPullAllF
private

Definition at line 105 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXPullDisk1Plaquettes[7]
private

Definition at line 108 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXPullDisk2Plaquettes[7]
private

Definition at line 109 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXPullFlippedLadderLayers[3]
private

Definition at line 98 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXPullNonFlippedLadderLayers[3]
private

Definition at line 99 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXResAllB
private

Definition at line 68 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXResAllF
private

Definition at line 80 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXResDisk1Plaquettes[7]
private

Definition at line 88 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXResDisk2Plaquettes[7]
private

Definition at line 89 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitXResFlippedLadderLayers[3]
private

Definition at line 73 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitXResNonFlippedLadderLayers[3]
private

Definition at line 74 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYAllModules
private

Definition at line 72 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYPlaquetteSize2
private

Definition at line 84 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPlaquetteSize3
private

Definition at line 85 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPlaquetteSize4
private

Definition at line 86 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPlaquetteSize5
private

Definition at line 87 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPullAllB
private

Definition at line 96 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYPullAllF
private

Definition at line 106 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPullDisk1Plaquettes[7]
private

Definition at line 110 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPullDisk2Plaquettes[7]
private

Definition at line 111 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYPullLayer1Modules[8]
private

Definition at line 100 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYPullLayer2Modules[8]
private

Definition at line 101 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYPullLayer3Modules[8]
private

Definition at line 102 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYResAllB
private

Definition at line 69 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYResAllF
private

Definition at line 81 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms().

MonitorElement* SiPixelRecHitsValid::recHitYResDisk1Plaquettes[7]
private

Definition at line 90 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYResDisk2Plaquettes[7]
private

Definition at line 91 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillForward().

MonitorElement* SiPixelRecHitsValid::recHitYResLayer1Modules[8]
private

Definition at line 75 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYResLayer2Modules[8]
private

Definition at line 76 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

MonitorElement* SiPixelRecHitsValid::recHitYResLayer3Modules[8]
private

Definition at line 77 of file SiPixelRecHitsValid.h.

Referenced by bookHistograms(), and fillBarrel().

bool SiPixelRecHitsValid::runStandalone
private

Definition at line 50 of file SiPixelRecHitsValid.h.

Referenced by endJob().

edm::EDGetTokenT<SiPixelRecHitCollection> SiPixelRecHitsValid::siPixelRecHitCollectionToken_
private

Definition at line 116 of file SiPixelRecHitsValid.h.

Referenced by analyze().