CMS 3D CMS Logo

Public Member Functions | Protected Attributes | Private Attributes

edm::MixingWorkerBase Class Reference

#include <MixingWorkerBase.h>

Inheritance diagram for edm::MixingWorkerBase:
edm::MixingWorker< T >

List of all members.

Public Member Functions

virtual void addPileups (const int bcr, EventPrincipal *, unsigned int EventNr, int vertexOffset=0)=0
virtual void addSignals (const edm::Event &e)=0
virtual bool checkSignal (const edm::Event &e)=0
virtual void createnewEDProduct ()=0
 MixingWorkerBase ()
 MixingWorkerBase (int minBunch, int maxBunch, int bunchSpace, std::string &subdet, std::string &label, std::string &labelCF, unsigned int maxNbSources, InputTag &tag, InputTag &tagCF, bool mixProdStep2)
virtual void put (edm::Event &e)=0
virtual void setBcrOffset ()=0
virtual void setSourceOffset (const unsigned int s)=0
virtual void setTof ()=0
virtual ~MixingWorkerBase ()

Protected Attributes

int const bunchSpace_
std::string const label_
std::string const labelCF_
int const maxBunch_
unsigned int const maxNbSources_
int const minBunch_
bool mixProdStep2_
std::string const subdet_
InputTag tag_
InputTag tagSignal_

Private Attributes

unsigned int eventNr_

Detailed Description

Definition at line 25 of file MixingWorkerBase.h.


Constructor & Destructor Documentation

edm::MixingWorkerBase::MixingWorkerBase ( ) [inline, explicit]

standard constructor

Definition at line 30 of file MixingWorkerBase.h.

References tag_, and tagSignal_.

                                 :
        minBunch_(-5), 
        maxBunch_(3),
        bunchSpace_(75),
        subdet_(std::string(" ")),
        label_(std::string(" ")),
        labelCF_(std::string(" ")),
        maxNbSources_(5),
        mixProdStep2_(false)
        {
          tag_=InputTag();
          tagSignal_=InputTag();
        }
MixingWorkerBase::MixingWorkerBase ( int  minBunch,
int  maxBunch,
int  bunchSpace,
std::string &  subdet,
std::string &  label,
std::string &  labelCF,
unsigned int  maxNbSources,
InputTag tag,
InputTag tagCF,
bool  mixProdStep2 
)

Definition at line 22 of file MixingWorkerBase.cc.

                                                                                                                                                                                                                 :
          minBunch_(minBunch),
          maxBunch_(maxBunch),
          bunchSpace_(bunchSpace),
          subdet_(subdet),
          label_(label),
          labelCF_(labelCF),
          maxNbSources_(maxNbSources),
          tag_(tag),
          tagSignal_(tagCF)
  {
  }
MixingWorkerBase::~MixingWorkerBase ( ) [virtual]

Default destructor

Definition at line 36 of file MixingWorkerBase.cc.

                                      { 
  }  

Member Function Documentation

virtual void edm::MixingWorkerBase::addPileups ( const int  bcr,
EventPrincipal ,
unsigned int  EventNr,
int  vertexOffset = 0 
) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual void edm::MixingWorkerBase::addSignals ( const edm::Event e) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual bool edm::MixingWorkerBase::checkSignal ( const edm::Event e) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual void edm::MixingWorkerBase::createnewEDProduct ( ) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual void edm::MixingWorkerBase::put ( edm::Event e) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual void edm::MixingWorkerBase::setBcrOffset ( ) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual void edm::MixingWorkerBase::setSourceOffset ( const unsigned int  s) [pure virtual]

Implemented in edm::MixingWorker< T >.

virtual void edm::MixingWorkerBase::setTof ( ) [pure virtual]

Implemented in edm::MixingWorker< T >.


Member Data Documentation

int const edm::MixingWorkerBase::bunchSpace_ [protected]

Definition at line 61 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::createnewEDProduct().

unsigned int edm::MixingWorkerBase::eventNr_ [private]

Definition at line 71 of file MixingWorkerBase.h.

std::string const edm::MixingWorkerBase::label_ [protected]

Definition at line 63 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::put().

std::string const edm::MixingWorkerBase::labelCF_ [protected]

Definition at line 64 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::put().

int const edm::MixingWorkerBase::maxBunch_ [protected]

Definition at line 60 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::createnewEDProduct().

unsigned int const edm::MixingWorkerBase::maxNbSources_ [protected]

Definition at line 65 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::createnewEDProduct().

int const edm::MixingWorkerBase::minBunch_ [protected]

Definition at line 59 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::createnewEDProduct().

Reimplemented in edm::MixingWorker< T >.

Definition at line 68 of file MixingWorkerBase.h.

std::string const edm::MixingWorkerBase::subdet_ [protected]

Definition at line 62 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::createnewEDProduct().