CMS 3D CMS Logo

edm::MixingWorkerBase Class Reference

#include <SimGeneral/MixingModule/plugins/MixingWorkerBase.h>

Inheritance diagram for edm::MixingWorkerBase:

edm::MixingWorker< T >

List of all members.

Public Member Functions

virtual void addPileups (const int bcr, edm::Event *, unsigned int EventNr, int vertexOffset=0)=0
virtual void addSignals (const edm::Event &e)=0
virtual void createnewEDProduct ()=0
 MixingWorkerBase (int minBunch, int maxBunch, int bunchSpace, std::string &subdet, std::string &label, unsigned int maxNbSources, InputTag &tag, bool isTracker)
 MixingWorkerBase ()
 standard constructor
virtual void put (edm::Event &e)=0
virtual void setBcrOffset ()=0
virtual void setCheckTof (bool checktof)
virtual void setOppositeTag (InputTag &opp)
virtual void setSourceOffset (const unsigned int s)=0
virtual ~MixingWorkerBase ()
 Default destructor.

Protected Attributes

int const bunchSpace_
bool checktof_
bool isTracker_
std::string const label_
int const maxBunch_
unsigned int const maxNbSources_
int const minBunch_
InputTag opp_
std::string const subdet_
InputTag tag_

Private Attributes

unsigned int eventNr_


Detailed Description

Definition at line 24 of file MixingWorkerBase.h.


Constructor & Destructor Documentation

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

standard constructor

Definition at line 29 of file MixingWorkerBase.h.

References opp_, and tag_.

00029                                  :
00030         minBunch_(-5), 
00031         maxBunch_(3),
00032         bunchSpace_(75),
00033         subdet_(std::string(" ")),
00034         label_(std::string(" ")),
00035         maxNbSources_(5),
00036         isTracker_(false)
00037         {
00038           tag_=InputTag();
00039           opp_=InputTag();
00040         }
  

MixingWorkerBase::MixingWorkerBase ( int  minBunch,
int  maxBunch,
int  bunchSpace,
std::string &  subdet,
std::string &  label,
unsigned int  maxNbSources,
InputTag tag,
bool  isTracker 
)

Definition at line 22 of file MixingWorkerBase.cc.

References checktof_, and opp_.

00022                                                                                                                                                                            :
00023           minBunch_(minBunch),
00024           maxBunch_(maxBunch),
00025           bunchSpace_(bunchSpace),
00026           subdet_(subdet),
00027           label_(label),
00028           maxNbSources_(maxNbSources),
00029           tag_(tag),
00030           isTracker_(isTracker)
00031   {
00032    checktof_=true;
00033    opp_=InputTag();
00034   }

MixingWorkerBase::~MixingWorkerBase (  )  [virtual]

Default destructor.

Definition at line 37 of file MixingWorkerBase.cc.

00037                                       { 
00038   }  


Member Function Documentation

virtual void edm::MixingWorkerBase::addPileups ( const int  bcr,
edm::Event ,
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 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::setCheckTof ( bool  checktof  )  [inline, virtual]

Definition at line 54 of file MixingWorkerBase.h.

References checktof_.

00054 {checktof_=checktof;}

virtual void edm::MixingWorkerBase::setOppositeTag ( InputTag opp  )  [inline, virtual]

Definition at line 53 of file MixingWorkerBase.h.

References opp_.

00053 {opp_=opp;}

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

Implemented in edm::MixingWorker< T >.


Member Data Documentation

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

Definition at line 59 of file MixingWorkerBase.h.

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

bool edm::MixingWorkerBase::checktof_ [protected]

Definition at line 65 of file MixingWorkerBase.h.

Referenced by MixingWorkerBase(), and setCheckTof().

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

Definition at line 69 of file MixingWorkerBase.h.

bool edm::MixingWorkerBase::isTracker_ [protected]

Definition at line 64 of file MixingWorkerBase.h.

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

Definition at line 61 of file MixingWorkerBase.h.

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

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

Definition at line 58 of file MixingWorkerBase.h.

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

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

Definition at line 62 of file MixingWorkerBase.h.

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

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

Definition at line 57 of file MixingWorkerBase.h.

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

InputTag edm::MixingWorkerBase::opp_ [protected]

Definition at line 66 of file MixingWorkerBase.h.

Referenced by MixingWorkerBase(), and setOppositeTag().

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

Definition at line 60 of file MixingWorkerBase.h.

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

InputTag edm::MixingWorkerBase::tag_ [protected]

Definition at line 63 of file MixingWorkerBase.h.

Referenced by edm::MixingWorker< T >::addPileups(), edm::MixingWorker< T >::addSignals(), and MixingWorkerBase().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:41:48 2009 for CMSSW by  doxygen 1.5.4