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
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 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
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 ()
 

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
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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::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(), HLT_25ns10e33_v2_cff::InputTag, 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:36
std::string const & process() const
Definition: InputTag.h:40
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