CMS 3D CMS Logo

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

#include <LumiMonitor.h>

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

Public Member Functions

 LumiMonitor (const edm::ParameterSet &)
 
 ~LumiMonitor ()=default
 
- 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
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
 
 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static void fillHistoLSPSetDescription (edm::ParameterSetDescription &pset)
 
static void fillHistoPSetDescription (edm::ParameterSetDescription &pset)
 
- 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)
 

Protected Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- 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)
 

Static Private Member Functions

static MEbinning getHistoLSPSet (edm::ParameterSet pset)
 
static MEbinning getHistoPSet (edm::ParameterSet pset)
 

Private Attributes

bool doPixelLumi_
 
std::string folderName_
 
MEbinning ls_binning_
 
MEbinning lumi_binning_
 
float lumi_factor_per_bx_
 
edm::EDGetTokenT
< LumiScalersCollection
lumiScalersToken_
 
edm::EDGetTokenT< LumiSummarylumiSummaryToken_
 
MonitorElementlumiVsLS_
 
int minNumberOfPixelsPerCluster_
 
float minPixelClusterCharge_
 
MonitorElementnumberOfPixelClustersVsLS_
 
MonitorElementnumberOfPixelClustersVsLumi_
 
MEbinning pixelCluster_binning_
 
edm::EDGetTokenT
< edmNew::DetSetVector
< SiPixelCluster > > 
pixelClustersToken_
 
MEbinning pixellumi_binning_
 
MonitorElementpixelLumiVsLS_
 
MonitorElementpixelLumiVsLumi_
 
bool useBPixLayer1_
 

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
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Detailed Description

Definition at line 40 of file LumiMonitor.h.

Constructor & Destructor Documentation

LumiMonitor::LumiMonitor ( const edm::ParameterSet iConfig)

Definition at line 12 of file LumiMonitor.cc.

12  :
13  folderName_ ( iConfig.getParameter<std::string>("FolderName") )
14  , lumiScalersToken_ ( consumes<LumiScalersCollection>(iConfig.getParameter<edm::InputTag>("scalers") ) )
17  , doPixelLumi_ ( iConfig.getParameter<bool>("doPixelLumi") )
19  , useBPixLayer1_ ( doPixelLumi_ ? iConfig.getParameter<bool> ("useBPixLayer1") : false )
20  , minNumberOfPixelsPerCluster_ ( doPixelLumi_ ? iConfig.getParameter<int> ("minNumberOfPixelsPerCluster") : -1 )
21  , minPixelClusterCharge_ ( doPixelLumi_ ? iConfig.getParameter<double> ("minPixelClusterCharge") : -1. )
24 {
25 
28  lumiVsLS_ = nullptr;
29  pixelLumiVsLS_ = nullptr;
30  pixelLumiVsLumi_ = nullptr;
31 
32  if(useBPixLayer1_)
34  else
36 
37 }
T getParameter(std::string const &) const
bool useBPixLayer1_
Definition: LumiMonitor.h:67
float minPixelClusterCharge_
Definition: LumiMonitor.h:69
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
Definition: LumiMonitor.h:66
static double XSEC_PIXEL_CLUSTER
Definition: GetLumi.h:41
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
MonitorElement * numberOfPixelClustersVsLumi_
Definition: LumiMonitor.h:77
std::string folderName_
Definition: LumiMonitor.h:59
MonitorElement * pixelLumiVsLumi_
Definition: LumiMonitor.h:80
edm::EDGetTokenT< LumiScalersCollection > lumiScalersToken_
Definition: LumiMonitor.h:61
MEbinning pixellumi_binning_
Definition: LumiMonitor.h:71
static MEbinning getHistoPSet(edm::ParameterSet pset)
Definition: LumiMonitor.cc:39
MonitorElement * lumiVsLS_
Definition: LumiMonitor.h:78
MonitorElement * pixelLumiVsLS_
Definition: LumiMonitor.h:79
static double rXSEC_PIXEL_CLUSTER
Definition: GetLumi.h:45
bool doPixelLumi_
Definition: LumiMonitor.h:65
MEbinning pixelCluster_binning_
Definition: LumiMonitor.h:70
static MEbinning getHistoLSPSet(edm::ParameterSet pset)
Definition: LumiMonitor.cc:48
MonitorElement * numberOfPixelClustersVsLS_
Definition: LumiMonitor.h:76
float lumi_factor_per_bx_
Definition: LumiMonitor.h:82
int minNumberOfPixelsPerCluster_
Definition: LumiMonitor.h:68
MEbinning lumi_binning_
Definition: LumiMonitor.h:62
static double FREQ_ORBIT
Definition: GetLumi.h:32
MEbinning ls_binning_
Definition: LumiMonitor.h:63
static double SECONDS_PER_LS
Definition: GetLumi.h:33
LumiMonitor::~LumiMonitor ( )
default

Member Function Documentation

void LumiMonitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 112 of file LumiMonitor.cc.

References edmNew::DetSetVector< T >::begin(), GetLumi::CM2_TO_NANOBARN, doPixelLumi_, edmNew::DetSetVector< T >::end(), HcalObjRepresent::Fill(), edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), edm::HandleBase::isValid(), TrackerTopology::layer(), eostools::ls(), lumi_factor_per_bx_, edm::EventID::luminosityBlock(), lumiScalersToken_, lumiVsLS_, minNumberOfPixelsPerCluster_, minPixelClusterCharge_, numberOfPixelClustersVsLS_, numberOfPixelClustersVsLumi_, PixelSubdetector::PixelBarrel, HLT_25ns10e33_v2_cff::pixelClusters, pixelClustersToken_, pixelLumiVsLS_, pixelLumiVsLumi_, edm::ESHandle< class >::product(), edmNew::DetSet< T >::size(), and DetId::subdetId().

112  {
113 
114  // int bx = iEvent.bunchCrossing();
115  int ls = iEvent.id().luminosityBlock();
116 
117  float scal_lumi = -1.;
119  iEvent.getByToken(lumiScalersToken_, lumiScalers);
120  if ( lumiScalers.isValid() && lumiScalers->size() ) {
121  LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
122  scal_lumi = scalit->instantLumi();
123  } else {
124  scal_lumi = -1.;
125  }
126  lumiVsLS_ -> Fill(ls, scal_lumi);
127 
128  if ( doPixelLumi_ ) {
129  size_t pixel_clusters = 0;
130  float pixel_lumi = -1.;
132  iEvent.getByToken(pixelClustersToken_, pixelClusters);
133  if ( pixelClusters.isValid() ) {
134 
135  edm::ESHandle<TrackerTopology> tTopoHandle;
136  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
137  const TrackerTopology* const tTopo = tTopoHandle.product();
138 
139  // Count the number of clusters with at least a minimum
140  // number of pixels per cluster and at least a minimum charge.
141  size_t tot = 0;
142  edmNew::DetSetVector<SiPixelCluster>::const_iterator pixCluDet = pixelClusters->begin();
143  for ( ; pixCluDet!=pixelClusters->end(); ++pixCluDet) {
144 
145  DetId detid = pixCluDet->detId();
146  size_t subdetid = detid.subdetId();
147  if ( subdetid == (int) PixelSubdetector::PixelBarrel )
148  if ( tTopo->layer(detid)==1 )
149  continue;
150 
152  for ( ; pixClu != pixCluDet->end(); ++pixClu ) {
153  ++tot;
154  if ( (pixClu->size() >= minNumberOfPixelsPerCluster_) &&
155  (pixClu->charge() >= minPixelClusterCharge_ ) ) {
156  ++pixel_clusters;
157  }
158  }
159  }
160  pixel_lumi = lumi_factor_per_bx_ * pixel_clusters / GetLumi::CM2_TO_NANOBARN ; // ?!?!
161  } else
162  pixel_lumi = -1.;
163 
164  numberOfPixelClustersVsLS_ -> Fill(ls, pixel_clusters);
165  numberOfPixelClustersVsLumi_ -> Fill(scal_lumi,pixel_clusters);
166  pixelLumiVsLS_ -> Fill(ls, pixel_lumi);
167  pixelLumiVsLumi_ -> Fill(scal_lumi,pixel_lumi);
168  }
169 
170 }
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator end(bool update=false) const
float minPixelClusterCharge_
Definition: LumiMonitor.h:69
def ls
Definition: eostools.py:348
data_type const * const_iterator
Definition: DetSetNew.h:30
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
Definition: LumiMonitor.h:66
MonitorElement * numberOfPixelClustersVsLumi_
Definition: LumiMonitor.h:77
int iEvent
Definition: GenABIO.cc:230
MonitorElement * pixelLumiVsLumi_
Definition: LumiMonitor.h:80
edm::EDGetTokenT< LumiScalersCollection > lumiScalersToken_
Definition: LumiMonitor.h:61
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
static double CM2_TO_NANOBARN
Definition: GetLumi.h:47
bool isValid() const
Definition: HandleBase.h:75
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
MonitorElement * lumiVsLS_
Definition: LumiMonitor.h:78
MonitorElement * pixelLumiVsLS_
Definition: LumiMonitor.h:79
Definition: DetId.h:18
T const * product() const
Definition: ESHandle.h:86
bool doPixelLumi_
Definition: LumiMonitor.h:65
unsigned int layer(const DetId &id) const
MonitorElement * numberOfPixelClustersVsLS_
Definition: LumiMonitor.h:76
float lumi_factor_per_bx_
Definition: LumiMonitor.h:82
int minNumberOfPixelsPerCluster_
Definition: LumiMonitor.h:68
size_type size() const
Definition: DetSetNew.h:87
const_iterator begin(bool update=false) const
void LumiMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 57 of file LumiMonitor.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::bookProfile(), doPixelLumi_, folderName_, ls_binning_, lumi_binning_, lumiVsLS_, MEbinning::nbins, numberOfPixelClustersVsLS_, numberOfPixelClustersVsLumi_, pixelCluster_binning_, pixellumi_binning_, pixelLumiVsLS_, pixelLumiVsLumi_, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, MEbinning::xmax, and MEbinning::xmin.

60 {
61 
62  std::string histname, histtitle;
63 
64  std::string currentFolder = folderName_ ;
65  ibooker.setCurrentFolder(currentFolder.c_str());
66 
67  if ( doPixelLumi_ ) {
68  histname = "numberOfPixelClustersVsLS"; histtitle = "number of pixel clusters vs LS";
69  numberOfPixelClustersVsLS_ = ibooker.book1D(histname, histtitle,
71  // numberOfPixelClustersVsLS_->getTH1()->SetCanExtend(TH1::kAllAxes);
73  numberOfPixelClustersVsLS_->setAxisTitle("number of pixel clusters",2);
74 
75  histname = "numberOfPixelClustersVsLumi"; histtitle = "number of pixel clusters vs scal lumi";
76  numberOfPixelClustersVsLumi_ = ibooker.bookProfile(histname, histtitle,
79  numberOfPixelClustersVsLumi_->setAxisTitle("scal inst lumi E30 [Hz cm^{-2}]",1);
80  numberOfPixelClustersVsLumi_->setAxisTitle("number of pixel clusters",2);
81 
82  histname = "pixelLumiVsLS"; histtitle = "pixel-lumi vs LS";
83  pixelLumiVsLS_ = ibooker.bookProfile(histname, histtitle,
86  // pixelLumiVsLS_->getTH1()->SetCanExtend(TH1::kAllAxes);
88  pixelLumiVsLS_->setAxisTitle("pixel-based inst lumi E30 [Hz cm^{-2}]",2);
89 
90  histname = "pixelLumiVsLumi"; histtitle = "pixel-lumi vs scal lumi";
91  pixelLumiVsLumi_ = ibooker.bookProfile(histname, histtitle,
94  pixelLumiVsLumi_->setAxisTitle("scal inst lumi E30 [Hz cm^{-2}]",1);
95  pixelLumiVsLumi_->setAxisTitle("pixel-based inst lumi E30 [Hz cm^{-2}]",2);
96  }
97 
98  histname = "lumiVsLS"; histtitle = "scal lumi vs LS";
99  lumiVsLS_ = ibooker.bookProfile(histname, histtitle,
102  // lumiVsLS_->getTH1()->SetCanExtend(TH1::kAllAxes);
103  lumiVsLS_->setAxisTitle("LS",1);
104  lumiVsLS_->setAxisTitle("scal inst lumi E30 [Hz cm^{-2}]",2);
105 
106 }
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * numberOfPixelClustersVsLumi_
Definition: LumiMonitor.h:77
std::string folderName_
Definition: LumiMonitor.h:59
MonitorElement * pixelLumiVsLumi_
Definition: LumiMonitor.h:80
MEbinning pixellumi_binning_
Definition: LumiMonitor.h:71
double xmin
Definition: LumiMonitor.h:30
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * lumiVsLS_
Definition: LumiMonitor.h:78
MonitorElement * pixelLumiVsLS_
Definition: LumiMonitor.h:79
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
bool doPixelLumi_
Definition: LumiMonitor.h:65
MEbinning pixelCluster_binning_
Definition: LumiMonitor.h:70
MonitorElement * numberOfPixelClustersVsLS_
Definition: LumiMonitor.h:76
MEbinning lumi_binning_
Definition: LumiMonitor.h:62
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MEbinning ls_binning_
Definition: LumiMonitor.h:63
double xmax
Definition: LumiMonitor.h:31
void LumiMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 184 of file LumiMonitor.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::false, fillHistoLSPSetDescription(), fillHistoPSetDescription(), HLT_25ns10e33_v2_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

185 {
187  desc.add<edm::InputTag>( "pixelClusters", edm::InputTag("hltSiPixelClusters") );
188  desc.add<edm::InputTag>( "scalers", edm::InputTag("hltScalersRawToDigi"));
189  desc.add<std::string> ( "FolderName", "HLT/LumiMonitoring" );
190  desc.add<bool> ( "doPixelLumi", false );
191  desc.add<bool> ( "useBPixLayer1", false );
192  desc.add<int> ( "minNumberOfPixelsPerCluster", 2 ); // from DQM/PixelLumi/python/PixelLumiDQM_cfi.py
193  desc.add<double> ( "minPixelClusterCharge", 15000. );
194 
196  edm::ParameterSetDescription pixelClusterPSet;
197  LumiMonitor::fillHistoPSetDescription(pixelClusterPSet);
198  histoPSet.add("pixelClusterPSet", pixelClusterPSet);
199 
201  fillHistoPSetDescription(lumiPSet);
202  histoPSet.add<edm::ParameterSetDescription>("lumiPSet", lumiPSet);
203 
204  edm::ParameterSetDescription pixellumiPSet;
205  fillHistoPSetDescription(pixellumiPSet);
206  histoPSet.add<edm::ParameterSetDescription>("pixellumiPSet", pixellumiPSet);
207 
210  histoPSet.add<edm::ParameterSetDescription>("lsPSet", lsPSet);
211 
212  desc.add<edm::ParameterSetDescription>("histoPSet",histoPSet);
213 
214  descriptions.add("lumiMonitor", desc);
215 }
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
Definition: LumiMonitor.cc:179
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Definition: LumiMonitor.cc:172
void add(std::string const &label, ParameterSetDescription const &psetDescription)
volatile std::atomic< bool > shutdown_flag false
void LumiMonitor::fillHistoLSPSetDescription ( edm::ParameterSetDescription pset)
static

Definition at line 179 of file LumiMonitor.cc.

References edm::ParameterSetDescription::add().

Referenced by fillDescriptions().

180 {
181  pset.add<int> ( "nbins", 2500);
182 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void LumiMonitor::fillHistoPSetDescription ( edm::ParameterSetDescription pset)
static

Definition at line 172 of file LumiMonitor.cc.

References edm::ParameterSetDescription::add().

Referenced by fillDescriptions().

173 {
174  pset.add<int> ( "nbins");
175  pset.add<double>( "xmin" );
176  pset.add<double>( "xmax" );
177 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MEbinning LumiMonitor::getHistoLSPSet ( edm::ParameterSet  pset)
staticprivate

Definition at line 48 of file LumiMonitor.cc.

References edm::ParameterSet::getParameter().

49 {
50  return MEbinning{
51  pset.getParameter<int32_t>("nbins"),
52  0.,
53  double(pset.getParameter<int32_t>("nbins"))
54  };
55 }
T getParameter(std::string const &) const
MEbinning LumiMonitor::getHistoPSet ( edm::ParameterSet  pset)
staticprivate

Definition at line 39 of file LumiMonitor.cc.

References edm::ParameterSet::getParameter().

40 {
41  return MEbinning{
42  pset.getParameter<int32_t>("nbins"),
43  pset.getParameter<double>("xmin"),
44  pset.getParameter<double>("xmax"),
45  };
46 }
T getParameter(std::string const &) const

Member Data Documentation

bool LumiMonitor::doPixelLumi_
private

Definition at line 65 of file LumiMonitor.h.

Referenced by analyze(), and bookHistograms().

std::string LumiMonitor::folderName_
private

Definition at line 59 of file LumiMonitor.h.

Referenced by bookHistograms().

MEbinning LumiMonitor::ls_binning_
private

Definition at line 63 of file LumiMonitor.h.

Referenced by bookHistograms().

MEbinning LumiMonitor::lumi_binning_
private

Definition at line 62 of file LumiMonitor.h.

Referenced by bookHistograms().

float LumiMonitor::lumi_factor_per_bx_
private

Definition at line 82 of file LumiMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<LumiScalersCollection> LumiMonitor::lumiScalersToken_
private

Definition at line 61 of file LumiMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<LumiSummary> LumiMonitor::lumiSummaryToken_
private

Definition at line 74 of file LumiMonitor.h.

MonitorElement* LumiMonitor::lumiVsLS_
private

Definition at line 78 of file LumiMonitor.h.

Referenced by analyze(), and bookHistograms().

int LumiMonitor::minNumberOfPixelsPerCluster_
private

Definition at line 68 of file LumiMonitor.h.

Referenced by analyze().

float LumiMonitor::minPixelClusterCharge_
private

Definition at line 69 of file LumiMonitor.h.

Referenced by analyze().

MonitorElement* LumiMonitor::numberOfPixelClustersVsLS_
private

Definition at line 76 of file LumiMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LumiMonitor::numberOfPixelClustersVsLumi_
private

Definition at line 77 of file LumiMonitor.h.

Referenced by analyze(), and bookHistograms().

MEbinning LumiMonitor::pixelCluster_binning_
private

Definition at line 70 of file LumiMonitor.h.

Referenced by bookHistograms().

edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster> > LumiMonitor::pixelClustersToken_
private

Definition at line 66 of file LumiMonitor.h.

Referenced by analyze().

MEbinning LumiMonitor::pixellumi_binning_
private

Definition at line 71 of file LumiMonitor.h.

Referenced by bookHistograms().

MonitorElement* LumiMonitor::pixelLumiVsLS_
private

Definition at line 79 of file LumiMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* LumiMonitor::pixelLumiVsLumi_
private

Definition at line 80 of file LumiMonitor.h.

Referenced by analyze(), and bookHistograms().

bool LumiMonitor::useBPixLayer1_
private

Definition at line 67 of file LumiMonitor.h.