CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
SiStripCommissioningBasicPrescaler Class Reference

#include <myTestArea/SiStripCommissioningBasicPrescaler/src/SiStripCommissioningBasicPrescaler.cc>

Inheritance diagram for SiStripCommissioningBasicPrescaler:
edm::EDFilter edm::ProducerBase edm::ProductRegistryHelper

Public Member Functions

 SiStripCommissioningBasicPrescaler (const edm::ParameterSet &)
 
 ~SiStripCommissioningBasicPrescaler ()
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
virtual ~EDFilter ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
boost::function< void(const
BranchDescription &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 

Private Member Functions

virtual bool filter (edm::Event &, const edm::EventSetup &)
 

Private Attributes

uint32_t factor_
 

Additional Inherited Members

- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
typedef WorkerT< EDFilterWorkerType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDFilter
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::ProducerBase
template<class TProducer , class TMethod >
void callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod)
 

Detailed Description

Description: simply filter acording to the run type

Implementation: Uses information from SiStripEventSummary, so it has to be called after Raw2Digi.

Definition at line 24 of file SiStripCommissioningBasicPrescaler.h.

Constructor & Destructor Documentation

SiStripCommissioningBasicPrescaler::SiStripCommissioningBasicPrescaler ( const edm::ParameterSet iConfig)
explicit

Definition at line 30 of file SiStripCommissioningBasicPrescaler.cc.

References factor_, and edm::ParameterSet::getParameter().

31 {
32  //now do what ever initialization is needed
33  factor_ = iConfig.getParameter<uint32_t>( "ScaleFactor" ) ;
34 }
T getParameter(std::string const &) const
SiStripCommissioningBasicPrescaler::~SiStripCommissioningBasicPrescaler ( )
inline

Definition at line 29 of file SiStripCommissioningBasicPrescaler.h.

29 {}

Member Function Documentation

bool SiStripCommissioningBasicPrescaler::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Member Data Documentation

uint32_t SiStripCommissioningBasicPrescaler::factor_
private