CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
L1ExtraMixerPluginBase Class Referenceabstract

#include <L1ExtraMixerPluginBase.h>

Inheritance diagram for L1ExtraMixerPluginBase:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper L1ExtraMEtMixerPlugin L1ExtraMixerPluginT< T >

Public Member Functions

 L1ExtraMixerPluginBase (const edm::ParameterSet &)
 
virtual void produce (edm::Event &, const edm::EventSetup &)=0
 
virtual void registerProducts (edm::EDProducer &)=0
 
 ~L1ExtraMixerPluginBase ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Attributes

std::string instanceLabel_
 
edm::InputTag src1_
 
edm::InputTag src2_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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 25 of file L1ExtraMixerPluginBase.h.

Constructor & Destructor Documentation

L1ExtraMixerPluginBase::L1ExtraMixerPluginBase ( const edm::ParameterSet cfg)
explicit

Definition at line 3 of file L1ExtraMixerPluginBase.cc.

References edm::ParameterSet::getParameter(), instanceLabel_, edm::InputTag::label(), edm::InputTag::process(), readCalibrations2004_v2_cff::src1, src1_, readConfiguration2006_v0_cff::src2, src2_, and AlCaHLTBitMon_QueryRunRegistry::string.

4 {
7 
8  instanceLabel_ = cfg.getParameter<std::string>("instanceLabel");
9 
10  // CV: update instance labels
11  // (this logic guarantees that instance labels of the two input collections
12  // and the output collection always matches in all derived classes)
13  src1_ = edm::InputTag(src1.label(), instanceLabel_, src1.process());
14  src2_ = edm::InputTag(src2.label(), instanceLabel_, src2.process());
15 }
T getParameter(std::string const &) const
std::string const & label() const
Definition: InputTag.h:42
std::string const & process() const
Definition: InputTag.h:46
L1ExtraMixerPluginBase::~L1ExtraMixerPluginBase ( )
inline

Definition at line 29 of file L1ExtraMixerPluginBase.h.

29 {}

Member Function Documentation

virtual void L1ExtraMixerPluginBase::produce ( edm::Event ,
const edm::EventSetup  
)
pure virtual
virtual void L1ExtraMixerPluginBase::registerProducts ( edm::EDProducer )
pure virtual

Member Data Documentation

std::string L1ExtraMixerPluginBase::instanceLabel_
protected
edm::InputTag L1ExtraMixerPluginBase::src1_
protected
edm::InputTag L1ExtraMixerPluginBase::src2_
protected