Private Member Functions | |
void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) const final |
void | produce (edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const final |
Private Attributes | |
const bool | applyCorr_ |
const std::string | csvOutLabel_ |
std::mutex | fileLock_ |
const edm::ESGetToken < LumiCorrections, LumiCorrectionsRcd > | lumiCorrectionsToken_ |
const std::vector< int > | modVeto_ |
edm::EDGetTokenT < reco::PixelClusterCounts > | pccToken_ |
const edm::EDPutTokenT< LumiInfo > | putToken_ |
const bool | saveCSVFile_ |
const std::string | takeAverageValue_ |
Additional Inherited Members | |
Public Types inherited from edm::global::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::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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), Chris Palmer ( inb@ cern. chcapal), Jose Benitez ( mer@ cern. chjose.) beni tez@c ern. ch
Definition at line 34 of file RawPCCProducer.cc.
|
explicit |
Definition at line 64 of file RawPCCProducer.cc.
|
override |
Definition at line 84 of file RawPCCProducer.cc.
|
finalprivate |
read input , clusters per module per bx
Apply the module veto
Compute average number of clusters per event
Lumi saved in the LuminosityBlocks
Definition at line 90 of file RawPCCProducer.cc.
References applyCorr_, makePileupJSON::bx, csvOutLabel_, edm::LuminosityBlock::emplace(), patZpeak::events, fileLock_, spr::find(), edm::EventSetup::getData(), edm::LuminosityBlock::getHandle(), mps_fire::i, CommonMethods::lock(), lumiCorrectionsToken_, edm::LuminosityBlockBase::luminosityBlock(), modVeto_, eostools::move(), LumiConstants::numBX, pccToken_, edm::Handle< T >::product(), putToken_, reco::PixelClusterCounts::readCounts(), reco::PixelClusterCounts::readEvents(), reco::PixelClusterCounts::readModID(), edm::LuminosityBlockBase::run(), saveCSVFile_, LumiInfo::setErrorLumiAllBX(), LumiInfo::setInstLumiAllBX(), LumiInfo::setTotalInstLumi(), LumiInfo::setTotalInstStatError(), mathSSE::sqrt(), takeAverageValue_, and cond::impl::to_string().
|
finalprivatevirtual |
|
private |
Definition at line 50 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 59 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
mutableprivate |
Definition at line 60 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 46 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 48 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 44 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 55 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 58 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().
|
private |
Definition at line 52 of file RawPCCProducer.cc.
Referenced by globalEndLuminosityBlockProduce().