Private Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final |
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) final |
Private Attributes | |
bool | applyCorr_ |
std::vector< int > | clustersPerBXInput_ |
std::vector< int > | clustersPerBXOutput_ |
std::vector< float > | corrClustersPerBXOutput_ |
std::vector< float > | correctionScaleFactors_ |
std::ofstream | csvfile |
std::string | csvOutLabel_ |
std::vector< float > | errorPerBX_ |
std::vector< int > | events_ |
std::vector< int > | goodMods_ |
std::vector< int > | modID_ |
std::vector< int > | modVeto_ |
std::unique_ptr< LumiInfo > | outputLumiInfo |
std::string | outputProductName_ |
std::string | pccSource_ |
edm::EDGetTokenT< reco::PixelClusterCounts > | pccToken |
std::string | prodInst_ |
bool | saveCSVFile_ |
float | statErrOnLumi_ |
std::string | takeAverageValue_ |
float | totalLumi_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
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) |
class: RawPCCProducer.cc
description: Creates a LumiInfo object that will contain the luminosity per bunch crossing, along with the total luminosity and the statistical error.
authors:Sam Higginbotham (shigg) and Chris Palmer ( inb@ cern. chcapal) mer@ cern. ch
Definition at line 33 of file RawPCCProducer.cc.
|
explicit |
Definition at line 75 of file RawPCCProducer.cc.
References applyCorr_, clustersPerBXOutput_, corrClustersPerBXOutput_, correctionScaleFactors_, csvOutLabel_, edm::ParameterSet::getParameter(), modVeto_, LumiConstants::numBX, outputProductName_, pccSource_, pccToken, prodInst_, saveCSVFile_, AlCaHLTBitMon_QueryRunRegistry::string, and takeAverageValue_.
|
override |
Definition at line 98 of file RawPCCProducer.cc.
|
finalprivate |
Definition at line 108 of file RawPCCProducer.cc.
References csvfile, csvOutLabel_, edm::LuminosityBlockBase::luminosityBlock(), outputLumiInfo, edm::LuminosityBlockBase::run(), and saveCSVFile_.
|
finalprivate |
Definition at line 120 of file RawPCCProducer.cc.
References applyCorr_, clustersPerBXInput_, clustersPerBXOutput_, corrClustersPerBXOutput_, correctionScaleFactors_, csvfile, errorPerBX_, events_, lumiContext::fill, spr::find(), objects.autophobj::float, edm::EventSetup::get(), edm::LuminosityBlock::getByToken(), LumiCorrections::getCorrectionsBX(), goodMods_, mps_fire::i, createfilelist::int, modID_, modVeto_, LumiConstants::numBX, outputLumiInfo, pccToken, edm::Handle< T >::product(), edm::ESHandle< T >::product(), reco::PixelClusterCounts::readCounts(), reco::PixelClusterCounts::readEvents(), reco::PixelClusterCounts::readModID(), saveCSVFile_, statErrOnLumi_, takeAverageValue_, and totalLumi_.
|
finalprivate |
Definition at line 215 of file RawPCCProducer.cc.
References DEFINE_FWK_MODULE, eostools::move(), outputLumiInfo, outputProductName_, edm::LuminosityBlock::put(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalprivate |
Definition at line 102 of file RawPCCProducer.cc.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 66 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 53 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 56 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 57 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 67 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 71 of file RawPCCProducer.cc.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 63 of file RawPCCProducer.cc.
Referenced by beginLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 58 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 55 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 59 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 54 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 51 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 69 of file RawPCCProducer.cc.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and endLuminosityBlockProduce().
|
private |
Definition at line 52 of file RawPCCProducer.cc.
Referenced by endLuminosityBlockProduce(), and RawPCCProducer().
|
private |
Definition at line 47 of file RawPCCProducer.cc.
Referenced by RawPCCProducer().
|
private |
Definition at line 46 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 48 of file RawPCCProducer.cc.
Referenced by RawPCCProducer().
|
private |
Definition at line 64 of file RawPCCProducer.cc.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 61 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 49 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock(), and RawPCCProducer().
|
private |
Definition at line 60 of file RawPCCProducer.cc.
Referenced by endLuminosityBlock().