CMS 3D CMS Logo

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

#include <PhotosInterface.h>

Inheritance diagram for gen::PhotosInterface:
gen::PhotosInterfaceBase

Public Member Functions

HepMC::GenEvent * apply (HepMC::GenEvent *)
 
void avoidTauLeptonicDecays ()
 
void configureOnlyFor (int)
 
void init ()
 
bool isTauLeptonicDecay (HepMC::GenVertex *)
 
 PhotosInterface ()
 
 PhotosInterface (const edm::ParameterSet &)
 
void setRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine)
 
const std::vector< std::string > & specialSettings ()
 
 ~PhotosInterface ()
 
- Public Member Functions inherited from gen::PhotosInterfaceBase
 PhotosInterfaceBase ()
 
 PhotosInterfaceBase (const edm::ParameterSet &)
 
virtual void SetDecayRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine)
 
virtual void statistics ()
 
virtual ~PhotosInterfaceBase ()
 

Static Public Member Functions

static double flat ()
 

Private Member Functions

void applyToBranch (HepMC::GenEvent *, int)
 
void applyToVertex (HepMC::GenEvent *, int)
 
void attachParticles (HepMC::GenEvent *, HepMC::GenVertex *, int)
 

Private Attributes

bool fAvoidTauLeptonicDecays
 
std::vector< int > fBarcodes
 
bool fIsInitialized
 
int fOnlyPDG
 
std::vector< int > fSecVtxStore
 

Static Private Attributes

static CLHEP::HepRandomEngine * fRandomEngine = 0
 

Additional Inherited Members

- Protected Attributes inherited from gen::PhotosInterfaceBase
std::vector< std::string > fSpecialSettings
 

Detailed Description

Definition at line 21 of file PhotosInterface.h.

Constructor & Destructor Documentation

PhotosInterface::PhotosInterface ( )

Definition at line 39 of file PhotosInterface.cc.

PhotosInterface::PhotosInterface ( const edm::ParameterSet )

Definition at line 47 of file PhotosInterface.cc.

PhotosInterface::~PhotosInterface ( )

Definition at line 54 of file PhotosInterface.cc.

Member Function Documentation

HepMC::GenEvent * PhotosInterface::apply ( HepMC::GenEvent *  evt)
virtual
void PhotosInterface::applyToBranch ( HepMC::GenEvent *  evt,
int  vtxbcode 
)
private

Definition at line 280 of file PhotosInterface.cc.

void PhotosInterface::applyToVertex ( HepMC::GenEvent *  evt,
int  vtxbcode 
)
private

Definition at line 188 of file PhotosInterface.cc.

void PhotosInterface::attachParticles ( HepMC::GenEvent *  evt,
HepMC::GenVertex *  vtx,
int  nentries 
)
private

Definition at line 308 of file PhotosInterface.cc.

void gen::PhotosInterface::avoidTauLeptonicDecays ( )
inlinevirtual

Implements gen::PhotosInterfaceBase.

Definition at line 33 of file PhotosInterface.h.

References fAvoidTauLeptonicDecays.

33 { fAvoidTauLeptonicDecays=true; return; }
void PhotosInterface::configureOnlyFor ( int  ipdg)
virtual

Implements gen::PhotosInterfaceBase.

Definition at line 62 of file PhotosInterface.cc.

double PhotosInterface::flat ( )
static

Definition at line 473 of file PhotosInterface.cc.

void PhotosInterface::init ( void  )
virtual

Implements gen::PhotosInterfaceBase.

Definition at line 75 of file PhotosInterface.cc.

bool PhotosInterface::isTauLeptonicDecay ( HepMC::GenVertex *  vtx)

Definition at line 455 of file PhotosInterface.cc.

void PhotosInterface::setRandomEngine ( CLHEP::HepRandomEngine *  decayRandomEngine)
virtual

Implements gen::PhotosInterfaceBase.

Definition at line 57 of file PhotosInterface.cc.

const std::vector<std::string>& gen::PhotosInterface::specialSettings ( )
inlinevirtual

Reimplemented from gen::PhotosInterfaceBase.

Definition at line 30 of file PhotosInterface.h.

References gen::PhotosInterfaceBase::fSpecialSettings.

30 { return fSpecialSettings; }
std::vector< std::string > fSpecialSettings

Member Data Documentation

bool gen::PhotosInterface::fAvoidTauLeptonicDecays
private

Definition at line 41 of file PhotosInterface.h.

Referenced by avoidTauLeptonicDecays().

std::vector<int> gen::PhotosInterface::fBarcodes
private

Definition at line 42 of file PhotosInterface.h.

bool gen::PhotosInterface::fIsInitialized
private

Definition at line 44 of file PhotosInterface.h.

int gen::PhotosInterface::fOnlyPDG
private

Definition at line 40 of file PhotosInterface.h.

CLHEP::HepRandomEngine * PhotosInterface::fRandomEngine = 0
staticprivate

Definition at line 50 of file PhotosInterface.h.

std::vector<int> gen::PhotosInterface::fSecVtxStore
private

Definition at line 43 of file PhotosInterface.h.