CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelDigiModule.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorDigi_SiPixelDigiModule_h
2 #define SiPixelMonitorDigi_SiPixelDigiModule_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorDigi
6 // Class: SiPixelDigiModule
7 //
15 //
16 // Original Author: Vincenzo Chiochia
17 // Created:
18 //
19 //
20 // Updated by: Lukas Wehrli
21 // for pixel offline DQM
22 
32 #include <boost/cstdint.hpp>
33 
35 
36  public:
37 
41  SiPixelDigiModule(const uint32_t& id);
43  SiPixelDigiModule(const uint32_t& id, const int& ncols, const int& nrows);
46 
48 
50  void book(const edm::ParameterSet& iConfig, DQMStore::IBooker & iBooker, int type=0, bool twoD=true, bool hiRes=false, bool reducedSet=false, bool additInfo=false, bool isUpgrade=false);
52 // int fill(const edm::DetSetVector<PixelDigi> & input, bool modon=true,
53 // bool ladon=false, bool layon=false, bool phion=false,
54 // bool bladeon=false, bool diskon=false, bool ringon=false,
55 // bool twoD=true, bool reducedSet=false, bool twoDimModOn = true, bool twoDimOnlyLayDisk = false,
56 // int &nDigisA, int &nDigisB);
58  MonitorElement* combBarrel, MonitorElement* chanBarrel, MonitorElement* chanBarrelL1,MonitorElement* chanBarrelL2, MonitorElement* chanBarrelL3, MonitorElement* chanBarrelL4, MonitorElement* combEndcap,
59  const bool modon, const bool ladon, const bool layon, const bool phion,
60  const bool bladeon, const bool diskon, const bool ringon,
61  const bool twoD, const bool reducedSet, const bool twoDimModOn, const bool twoDimOnlyLayDisk,
62  int &nDigisA, int &nDigisB, bool isUpgrade);
63  void resetRocMap(); // This is to move the rocmap reset from the Source to the Module where the map is booked. Necessary for multithread safety.
64  std::pair<int,int> getZeroLoEffROCs(); // Moved from Souce.cc. Gets number of zero and low eff ROCs from each module.
65  private:
66 
67  uint32_t id_;
68  int ncols_;
69  int nrows_;
75 
76  //barrel:
82 
90 
96 
97  //forward:
100 
106 
112 
113  //int nEventDigis_;
114 
115 };
116 #endif
int fill(const edm::DetSetVector< PixelDigi > &input, MonitorElement *combBarrel, MonitorElement *chanBarrel, MonitorElement *chanBarrelL1, MonitorElement *chanBarrelL2, MonitorElement *chanBarrelL3, MonitorElement *chanBarrelL4, MonitorElement *combEndcap, const bool modon, const bool ladon, const bool layon, const bool phion, const bool bladeon, const bool diskon, const bool ringon, const bool twoD, const bool reducedSet, const bool twoDimModOn, const bool twoDimOnlyLayDisk, int &nDigisA, int &nDigisB, bool isUpgrade)
Fill histograms.
type
Definition: HCALResponse.h:21
MonitorElement * meNDigisRing_
MonitorElement * mePixDigisLad_py_
MonitorElement * mePixDigis_
MonitorElement * mePixDigisPhi_py_
void book(const edm::ParameterSet &iConfig, DQMStore::IBooker &iBooker, int type=0, bool twoD=true, bool hiRes=false, bool reducedSet=false, bool additInfo=false, bool isUpgrade=false)
Book histograms.
MonitorElement * meADCRing_
MonitorElement * meNDigis_
MonitorElement * mePixDigisRing_px_
MonitorElement * mePixDigis_py_
#define NULL
Definition: scimark2.h:8
std::pair< int, int > getZeroLoEffROCs()
~SiPixelDigiModule()
Destructor.
MonitorElement * meADC_
MonitorElement * mePixDigisDisk_
static std::string const input
Definition: EdmProvDump.cc:44
MonitorElement * meNDigisBlade_
MonitorElement * meADCDisk_
edm::DetSet< PixelDigi >::const_iterator DigiIterator
MonitorElement * mePixDigisPhi_px_
MonitorElement * mePixDigisRing_py_
MonitorElement * mePixRocsDisk_
MonitorElement * mePixRocsLay_
MonitorElement * meZeroOccRocsLay_
MonitorElement * mePixDigisLay_py_
MonitorElement * meADCLad_
MonitorElement * meADCBlade_
MonitorElement * meNDigisLay_
SiPixelDigiModule()
Default constructor.
MonitorElement * mePixDigisLad_
MonitorElement * meADCLay_
MonitorElement * mePixDigis_px_
MonitorElement * mePixDigisLad_px_
MonitorElement * mePixDigisLay_
MonitorElement * meNDigisPhi_
MonitorElement * meZeroOccRocsDisk_
MonitorElement * mePixDigisRing_
MonitorElement * meADCPhi_
MonitorElement * mePixDigisPhi_
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
MonitorElement * meNDigisDisk_
MonitorElement * meNDigisLad_
MonitorElement * mePixDigisLay_px_