CMS 3D CMS Logo

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

#include <SiPixelRecHitSource.h>

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

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, const edm::EventSetup &) override
 
virtual void bookMEs (DQMStore::IBooker &, const edm::EventSetup &iSetup)
 
virtual void buildStructure (edm::EventSetup const &)
 
virtual void dqmBeginRun (const edm::Run &, edm::EventSetup const &) override
 
 SiPixelRecHitSource (const edm::ParameterSet &conf)
 
 ~SiPixelRecHitSource ()
 
- 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 bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
 
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
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Public Attributes

std::string topFolderName_
 

Private Attributes

bool bladeOn
 
edm::ParameterSet conf_
 
bool diskOn
 
int eventNo
 
bool firstRun
 
bool isPIB
 
bool isUpgrade
 
bool ladOn
 
bool layOn
 
bool modOn
 
bool phiOn
 
std::map< uint32_t, int > rechit_count
 
bool reducedSet
 
bool ringOn
 
bool saveFile
 
bool slowDown
 
edm::EDGetTokenT< SiPixelRecHitCollectionsrc_
 
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
 
bool twoDimOn
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (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)
 
- 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)
 

Detailed Description

Description: header file for Pixel Monitor Rec Hits

Usage: see description

Definition at line 54 of file SiPixelRecHitSource.h.

Constructor & Destructor Documentation

SiPixelRecHitSource::SiPixelRecHitSource ( const edm::ParameterSet conf)
explicit

Definition at line 51 of file SiPixelRecHitSource.cc.

References conf_, firstRun, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.

51  :
52  conf_(iConfig),
53  src_( consumes<SiPixelRecHitCollection>( conf_.getParameter<edm::InputTag>( "src" ))),
54  saveFile( conf_.getUntrackedParameter<bool>("saveFile",false) ),
55  isPIB( conf_.getUntrackedParameter<bool>("isPIB",false) ),
56  slowDown( conf_.getUntrackedParameter<bool>("slowDown",false) ),
57  modOn( conf_.getUntrackedParameter<bool>("modOn",true) ),
58  twoDimOn( conf_.getUntrackedParameter<bool>("twoDimOn",true) ),
59  reducedSet( conf_.getUntrackedParameter<bool>("reducedSet",false) ),
60  ladOn( conf_.getUntrackedParameter<bool>("ladOn",false) ),
61  layOn( conf_.getUntrackedParameter<bool>("layOn",false) ),
62  phiOn( conf_.getUntrackedParameter<bool>("phiOn",false) ),
63  ringOn( conf_.getUntrackedParameter<bool>("ringOn",false) ),
64  bladeOn( conf_.getUntrackedParameter<bool>("bladeOn",false) ),
65  diskOn( conf_.getUntrackedParameter<bool>("diskOn",false) ),
66  isUpgrade( conf_.getUntrackedParameter<bool>("isUpgrade",false) )
67 {
68  firstRun = true;
69  LogInfo ("PixelDQM") << "SiPixelRecHitSource::SiPixelRecHitSource: Got DQM BackEnd interface"<<endl;
70  topFolderName_ = conf_.getParameter<std::string>("TopFolderName");
71 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::ParameterSet conf_
edm::EDGetTokenT< SiPixelRecHitCollection > src_
SiPixelRecHitSource::~SiPixelRecHitSource ( )

Definition at line 74 of file SiPixelRecHitSource.cc.

References thePixelStructure.

75 {
76  // do anything here that needs to be done at desctruction time
77  // (e.g. close files, deallocate resources etc.)
78  LogInfo ("PixelDQM") << "SiPixelRecHitSource::~SiPixelRecHitSource: Destructor"<<endl;
79  std::map<uint32_t,SiPixelRecHitModule*>::iterator struct_iter;
80  for (struct_iter = thePixelStructure.begin() ; struct_iter != thePixelStructure.end() ; struct_iter++){
81  delete struct_iter->second;
82  struct_iter->second = 0;
83  }
84 }
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure

Member Function Documentation

void SiPixelRecHitSource::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Definition at line 112 of file SiPixelRecHitSource.cc.

References edmNew::DetSet< T >::begin(), bladeOn, diskOn, edmNew::DetSet< T >::end(), edmNew::DetSetVector< T >::end(), eventNo, edmNew::DetSetVector< T >::find(), edm::Event::getByToken(), ladOn, layOn, match(), modOn, phiOn, rechit_count, reducedSet, ringOn, RecoTauValidation_cfi::sizeX, RecoTauValidation_cfi::sizeY, slowDown, mathSSE::sqrt(), src_, thePixelStructure, twoDimOn, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().

113 {
114  eventNo++;
115  //cout << eventNo << endl;
116  // get input data
118  iEvent.getByToken( src_, recHitColl );
119 
120  std::map<uint32_t,SiPixelRecHitModule*>::iterator struct_iter;
121  for (struct_iter = thePixelStructure.begin() ; struct_iter != thePixelStructure.end() ; struct_iter++) {
122  uint32_t TheID = (*struct_iter).first;
123 
125 
126  // if( pixelrechitRangeIteratorBegin == pixelrechitRangeIteratorEnd) {cout << "oops" << endl;}
127  float rechit_x = 0;
128  float rechit_y = 0;
129  int rechit_count = 0;
130 
131  if (match != recHitColl->end()) {
132  SiPixelRecHitCollection::DetSet pixelrechitRange = *match;
133  SiPixelRecHitCollection::DetSet::const_iterator pixelrechitRangeIteratorBegin = pixelrechitRange.begin();
134  SiPixelRecHitCollection::DetSet::const_iterator pixelrechitRangeIteratorEnd = pixelrechitRange.end();
135  SiPixelRecHitCollection::DetSet::const_iterator pixeliter = pixelrechitRangeIteratorBegin;
136 
137  for ( ; pixeliter != pixelrechitRangeIteratorEnd; pixeliter++)
138  {
139 
140 
141  rechit_count++;
142  //cout << TheID << endl;
143  SiPixelRecHit::ClusterRef const& clust = pixeliter->cluster();
144  int sizeX = (*clust).sizeX();
145  //cout << sizeX << endl;
146  int sizeY = (*clust).sizeY();
147  //cout << sizeY << endl;
148  LocalPoint lp = pixeliter->localPosition();
149  rechit_x = lp.x();
150  rechit_y = lp.y();
151 
152  LocalError lerr = pixeliter->localPositionError();
153  float lerr_x = sqrt(lerr.xx());
154  float lerr_y = sqrt(lerr.yy());
155  //std::cout << "errors " << lerr_x << " " << lerr_y << std::endl;
156  (*struct_iter).second->fill(rechit_x, rechit_y, sizeX, sizeY, lerr_x, lerr_y,
159 
160  }
161  }
162  if(rechit_count > 0) (*struct_iter).second->nfill(rechit_count, modOn, ladOn, layOn, phiOn, bladeOn, diskOn, ringOn);
163 
164  }
165 
166  // slow down...
167  if(slowDown) usleep(10000);
168 
169 }
float xx() const
Definition: LocalError.h:24
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator end(bool update=false) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:460
T y() const
Definition: PV3DBase.h:63
std::map< uint32_t, int > rechit_count
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
float yy() const
Definition: LocalError.h:26
T sqrt(T t)
Definition: SSEVec.h:18
edm::EDGetTokenT< SiPixelRecHitCollection > src_
const_iterator find(id_type i, bool update=false) const
iterator end()
Definition: DetSetNew.h:70
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
T x() const
Definition: PV3DBase.h:62
iterator begin()
Definition: DetSetNew.h:67
void SiPixelRecHitSource::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
const edm::EventSetup iSetup 
)
overridevirtual

Definition at line 105 of file SiPixelRecHitSource.cc.

References bookMEs().

105  {
106  bookMEs(iBooker, iSetup);
107 }
virtual void bookMEs(DQMStore::IBooker &, const edm::EventSetup &iSetup)
void SiPixelRecHitSource::bookMEs ( DQMStore::IBooker iBooker,
const edm::EventSetup iSetup 
)
virtual

Create folder tree and book histograms

Definition at line 243 of file SiPixelRecHitSource.cc.

References bladeOn, conf_, DEFINE_FWK_MODULE, diskOn, Exception, isPIB, isUpgrade, ladOn, layOn, LogDebug, modOn, phiOn, reducedSet, ringOn, SiPixelFolderOrganizer::setModuleFolder(), thePixelStructure, and twoDimOn.

Referenced by bookHistograms().

243  {
244 
245  std::map<uint32_t,SiPixelRecHitModule*>::iterator struct_iter;
246 
247  SiPixelFolderOrganizer theSiPixelFolder(false);
248 
249  for(struct_iter = thePixelStructure.begin(); struct_iter != thePixelStructure.end(); struct_iter++){
250 
252  if(modOn){
253  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,0,isUpgrade)){
254  (*struct_iter).second->book( conf_,iBooker, iSetup, 0, twoDimOn, reducedSet, isUpgrade);
255  } else {
256  if(!isPIB) throw cms::Exception("LogicError")
257  << "[SiPixelDigiSource::bookMEs] Creation of DQM folder failed";
258  }
259  }
260  if(ladOn){
261  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,1,isUpgrade)){
262  (*struct_iter).second->book( conf_,iBooker, iSetup, 1, twoDimOn, reducedSet, isUpgrade);
263  } else {
264  LogDebug ("PixelDQM") << "PROBLEM WITH LADDER-FOLDER\n";
265  }
266  }
267  if(layOn){
268  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,2,isUpgrade)){
269  (*struct_iter).second->book( conf_,iBooker, iSetup, 2, twoDimOn, reducedSet, isUpgrade);
270  } else {
271  LogDebug ("PixelDQM") << "PROBLEM WITH LAYER-FOLDER\n";
272  }
273  }
274  if(phiOn){
275  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,3,isUpgrade)){
276  (*struct_iter).second->book( conf_,iBooker, iSetup, 3, twoDimOn, reducedSet, isUpgrade);
277  } else {
278  LogDebug ("PixelDQM") << "PROBLEM WITH PHI-FOLDER\n";
279  }
280  }
281  if(bladeOn){
282  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,4,isUpgrade)){
283  (*struct_iter).second->book( conf_,iBooker, iSetup, 4, twoDimOn, reducedSet, isUpgrade);
284  } else {
285  LogDebug ("PixelDQM") << "PROBLEM WITH BLADE-FOLDER\n";
286  }
287  }
288  if(diskOn){
289  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,5,isUpgrade)){
290  (*struct_iter).second->book( conf_,iBooker, iSetup, 5, twoDimOn, reducedSet, isUpgrade);
291  } else {
292  LogDebug ("PixelDQM") << "PROBLEM WITH DISK-FOLDER\n";
293  }
294  }
295  if(ringOn){
296  if(theSiPixelFolder.setModuleFolder(iBooker,(*struct_iter).first,6,isUpgrade)){
297  (*struct_iter).second->book( conf_,iBooker, iSetup, 6, twoDimOn, reducedSet, isUpgrade);
298  } else {
299  LogDebug ("PixelDQM") << "PROBLEM WITH RING-FOLDER\n";
300  }
301  }
302 
303  }
304 
305 }
#define LogDebug(id)
edm::ParameterSet conf_
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
void SiPixelRecHitSource::buildStructure ( edm::EventSetup const &  )
virtual

Definition at line 174 of file SiPixelRecHitSource.cc.

References PixelEndcapName::bladeName(), TrackerGeometry::dets(), TrackerGeometry::detTypes(), PixelEndcapName::diskName(), edm::EventSetup::get(), PixelEndcapName::halfCylinder(), isPIB, isUpgrade, LogDebug, RecoTauDiscriminantConfiguration::mask, PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), edm::ESHandle< T >::product(), DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and thePixelStructure.

Referenced by dqmBeginRun().

174  {
175 
176  LogInfo ("PixelDQM") <<" SiPixelRecHitSource::buildStructure" ;
177 
178 
180  edm::ESHandle<TrackerTopology> tTopoHandle;
181 
182  iSetup.get<TrackerDigiGeometryRecord>().get( pDD );
183  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
184 
185  const TrackerTopology *pTT = tTopoHandle.product();
186 
187  LogVerbatim ("PixelDQM") << " *** Geometry node for TrackerGeom is "<<&(*pDD)<<std::endl;
188  LogVerbatim ("PixelDQM") << " *** I have " << pDD->dets().size() <<" detectors"<<std::endl;
189  LogVerbatim ("PixelDQM") << " *** I have " << pDD->detTypes().size() <<" types"<<std::endl;
190 
191  for(TrackerGeometry::DetContainer::const_iterator it = pDD->dets().begin(); it != pDD->dets().end(); it++){
192 
193  if(dynamic_cast<PixelGeomDetUnit const *>((*it))!=0){
194 
195  DetId detId = (*it)->geographicalId();
196 
197  if((detId.subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel)) ||
198  (detId.subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap))){
199 
200  uint32_t id = detId();
201  SiPixelRecHitModule* theModule = new SiPixelRecHitModule(id);
202 
203  if(detId.subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel)) {
204  if(isPIB) continue;
205  LogDebug ("PixelDQM") << " ---> Adding Barrel Module " << detId.rawId() << endl;
206  thePixelStructure.insert(pair<uint32_t,SiPixelRecHitModule*> (id,theModule));
207 
208  } else if( (detId.subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap)) ) {
209 
210  LogDebug ("PixelDQM") << " ---> Adding Endcap Module " << detId.rawId() << endl;
211 
213  int disk = PixelEndcapName(DetId(id), pTT, isUpgrade).diskName();
214  int blade = PixelEndcapName(DetId(id), pTT, isUpgrade).bladeName();
215  int panel = PixelEndcapName(DetId(id), pTT, isUpgrade).pannelName();
217 
218  char sside[80]; sprintf(sside, "HalfCylinder_%i",side);
219  char sdisk[80]; sprintf(sdisk, "Disk_%i",disk);
220  char sblade[80]; sprintf(sblade, "Blade_%02i",blade);
221  char spanel[80]; sprintf(spanel, "Panel_%i",panel);
222  char smodule[80];sprintf(smodule,"Module_%i",module);
223  std::string side_str = sside;
224  std::string disk_str = sdisk;
225  bool mask = side_str.find("HalfCylinder_1")!=string::npos||
226  side_str.find("HalfCylinder_2")!=string::npos||
227  side_str.find("HalfCylinder_4")!=string::npos||
228  disk_str.find("Disk_2")!=string::npos;
229  if(isPIB && mask) continue;
230 
231  thePixelStructure.insert(pair<uint32_t,SiPixelRecHitModule*> (id,theModule));
232  }
233 
234  }
235  }
236  }//FOR_LOOP
237 
238  LogInfo ("PixelDQM") << " *** Pixel Structure Size " << thePixelStructure.size() << endl;
239 }
#define LogDebug(id)
int plaquetteName() const
plaquetteId (in pannel)
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
std::map< uint32_t, SiPixelRecHitModule * > thePixelStructure
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
int bladeName() const
blade id
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
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
int pannelName() const
pannel id
int diskName() const
disk id
HalfCylinder halfCylinder() const
T const * product() const
Definition: ESHandle.h:86
Definition: vlib.h:208
void SiPixelRecHitSource::dqmBeginRun ( const edm::Run ,
edm::EventSetup const &   
)
overridevirtual

Definition at line 87 of file SiPixelRecHitSource.cc.

References bladeOn, buildStructure(), diskOn, eventNo, firstRun, ladOn, layOn, modOn, phiOn, ringOn, and twoDimOn.

87  {
88 
89  LogInfo ("PixelDQM") << " SiPixelRecHitSource::beginJob - Initialisation ... " << std::endl;
90  LogInfo ("PixelDQM") << "Mod/Lad/Lay/Phi " << modOn << "/" << ladOn << "/"
91  << layOn << "/" << phiOn << std::endl;
92  LogInfo ("PixelDQM") << "Blade/Disk/Ring" << bladeOn << "/" << diskOn << "/"
93  << ringOn << std::endl;
94  LogInfo ("PixelDQM") << "2DIM IS " << twoDimOn << "\n";
95 
96  if(firstRun){
97  eventNo = 0;
98  // Build map
99  buildStructure(iSetup);
100  // Book Monitoring Elements
101  firstRun = false;
102  }
103 }
virtual void buildStructure(edm::EventSetup const &)

Member Data Documentation

bool SiPixelRecHitSource::bladeOn
private

Definition at line 86 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

edm::ParameterSet SiPixelRecHitSource::conf_
private

Definition at line 71 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and SiPixelRecHitSource().

bool SiPixelRecHitSource::diskOn
private

Definition at line 86 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

int SiPixelRecHitSource::eventNo
private

Definition at line 77 of file SiPixelRecHitSource.h.

Referenced by analyze(), and dqmBeginRun().

bool SiPixelRecHitSource::firstRun
private

Definition at line 88 of file SiPixelRecHitSource.h.

Referenced by dqmBeginRun(), and SiPixelRecHitSource().

bool SiPixelRecHitSource::isPIB
private

Definition at line 75 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and buildStructure().

bool SiPixelRecHitSource::isUpgrade
private

Definition at line 89 of file SiPixelRecHitSource.h.

Referenced by bookMEs(), and buildStructure().

bool SiPixelRecHitSource::ladOn
private

Definition at line 84 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

bool SiPixelRecHitSource::layOn
private

Definition at line 84 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

bool SiPixelRecHitSource::modOn
private

Definition at line 80 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

bool SiPixelRecHitSource::phiOn
private

Definition at line 84 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

std::map<uint32_t,int> SiPixelRecHitSource::rechit_count
private

Definition at line 79 of file SiPixelRecHitSource.h.

Referenced by analyze().

bool SiPixelRecHitSource::reducedSet
private

Definition at line 82 of file SiPixelRecHitSource.h.

Referenced by analyze(), and bookMEs().

bool SiPixelRecHitSource::ringOn
private

Definition at line 86 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().

bool SiPixelRecHitSource::saveFile
private

Definition at line 74 of file SiPixelRecHitSource.h.

bool SiPixelRecHitSource::slowDown
private

Definition at line 76 of file SiPixelRecHitSource.h.

Referenced by analyze().

edm::EDGetTokenT<SiPixelRecHitCollection> SiPixelRecHitSource::src_
private

Definition at line 72 of file SiPixelRecHitSource.h.

Referenced by analyze().

std::map<uint32_t,SiPixelRecHitModule*> SiPixelRecHitSource::thePixelStructure
private

Definition at line 78 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), buildStructure(), and ~SiPixelRecHitSource().

std::string SiPixelRecHitSource::topFolderName_

Definition at line 68 of file SiPixelRecHitSource.h.

Referenced by SiPixelRecHitSource().

bool SiPixelRecHitSource::twoDimOn
private

Definition at line 81 of file SiPixelRecHitSource.h.

Referenced by analyze(), bookMEs(), and dqmBeginRun().