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 | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes
FTSLuminosityFromLumiSummary Class Reference
Inheritance diagram for FTSLuminosityFromLumiSummary:
edm::global::EDAnalyzer<> edm::global::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 FTSLuminosityFromLumiSummary (edm::ParameterSet const &)
 
 ~FTSLuminosityFromLumiSummary ()
 
- Public Member Functions inherited from edm::global::EDAnalyzer<>
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::global::EDAnalyzerBase
 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 Public Member Functions inherited from edm::global::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Types

enum  Type { Type::InstantaneousLuminosity, Type::Pileup, Type::Invalid = -1 }
 

Private Member Functions

virtual void analyze (edm::StreamID sid, edm::Event const &event, const edm::EventSetup &setup) const override
 
virtual void doStreamBeginLuminosityBlock_ (edm::StreamID id, edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
virtual void preallocStreams (unsigned int size) override
 

Static Private Member Functions

static Type parse (std::string const &type)
 

Private Attributes

double m_cross_section
 
unsigned int m_lumi_id
 
edm::EDGetTokenT< LumiSummarym_token
 
Type m_type
 
std::vector< double > m_value
 

Additional Inherited Members

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

Definition at line 22 of file FTSLuminosityFromLumiSummary.cc.

Member Enumeration Documentation

Enumerator
InstantaneousLuminosity 
Pileup 
Invalid 

Definition at line 30 of file FTSLuminosityFromLumiSummary.cc.

Constructor & Destructor Documentation

FTSLuminosityFromLumiSummary::FTSLuminosityFromLumiSummary ( edm::ParameterSet const &  config)
explicit

Definition at line 56 of file FTSLuminosityFromLumiSummary.cc.

FTSLuminosityFromLumiSummary::~FTSLuminosityFromLumiSummary ( )

Definition at line 74 of file FTSLuminosityFromLumiSummary.cc.

Member Function Documentation

void FTSLuminosityFromLumiSummary::analyze ( edm::StreamID  sid,
edm::Event const &  event,
const edm::EventSetup setup 
) const
overrideprivatevirtual

Implements edm::global::EDAnalyzerBase.

Definition at line 123 of file FTSLuminosityFromLumiSummary.cc.

void FTSLuminosityFromLumiSummary::doStreamBeginLuminosityBlock_ ( edm::StreamID  id,
edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  setup 
)
overrideprivatevirtual

Reimplemented from edm::global::EDAnalyzerBase.

Definition at line 83 of file FTSLuminosityFromLumiSummary.cc.

void FTSLuminosityFromLumiSummary::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 132 of file FTSLuminosityFromLumiSummary.cc.

static Type FTSLuminosityFromLumiSummary::parse ( std::string const &  type)
inlinestaticprivate

Definition at line 36 of file FTSLuminosityFromLumiSummary.cc.

void FTSLuminosityFromLumiSummary::preallocStreams ( unsigned int  size)
overrideprivatevirtual

Reimplemented from edm::global::EDAnalyzerBase.

Definition at line 78 of file FTSLuminosityFromLumiSummary.cc.

Member Data Documentation

double FTSLuminosityFromLumiSummary::m_cross_section
private

Definition at line 46 of file FTSLuminosityFromLumiSummary.cc.

unsigned int FTSLuminosityFromLumiSummary::m_lumi_id
private

Definition at line 48 of file FTSLuminosityFromLumiSummary.cc.

edm::EDGetTokenT<LumiSummary> FTSLuminosityFromLumiSummary::m_token
private

Definition at line 45 of file FTSLuminosityFromLumiSummary.cc.

Type FTSLuminosityFromLumiSummary::m_type
private

Definition at line 47 of file FTSLuminosityFromLumiSummary.cc.

std::vector<double> FTSLuminosityFromLumiSummary::m_value
private

Definition at line 49 of file FTSLuminosityFromLumiSummary.cc.