Class FinalStateParticleDumper


class FinalStateParticleDumper
derived from Algorithm

formatted output of collection of Reconstructed Particles from the TES for debugging purposes.


Field Summary
 private std::stringm_inputLocation
          TES input location
 private HepMC_helper::MCselectorWrapper *m_mcSelector
          helper class to select final state particles
 private std::stringm_selectorName
           

Constructor Summary
FinalStateParticleDumper(const std::string & name, ISvcLocator * pSvcLocator)
          Standard Athena-Algorithm Constructor

Destructor Summary
 virtual ~FinalStateParticleDumper()
          Default Destructor

Method Summary
 private voidDumpFlat(std::string space, std::vector::const_iterator ib, std::vector::const_iterator ie)
           
 private voidDumpParticle(std::string , HepMC::Particle * )
           
 private voidDumpTree(std::string space, std::vector::const_iterator ib, std::vector::const_iterator ie)
           
 private voidDumpTree(std::string space, HepMC::Vertex::particle_iterator ib, HepMC::Vertex::particle_iterator ie)
           
 private voidDumpTwoGenerations(std::string space, std::vector::const_iterator ib, std::vector::const_iterator ie)
           
 virtual StatusCodeexecute()
          Standard Athena-Algorithm method
 virtual StatusCodefinalize()
          Standard Athena-Algorithm method
 private boolgetMC(std::vector & )
          extracts particles from the TES
 virtual StatusCodeinitialize()
          Standard Athena-Algorithm method

Field Detail

m_inputLocation

private std::string m_inputLocation
TES input location

m_mcSelector

private HepMC_helper::MCselectorWrapper * m_mcSelector
helper class to select final state particles

m_selectorName

private std::string m_selectorName
Constructor Detail

FinalStateParticleDumper

public FinalStateParticleDumper(const std::string & name, ISvcLocator * pSvcLocator)
Standard Athena-Algorithm Constructor
Method Detail

~FinalStateParticleDumper

public virtual ~FinalStateParticleDumper()
Default Destructor
Method Detail

DumpFlat

private void DumpFlat(std::string space, std::vector::const_iterator ib, std::vector::const_iterator ie)

DumpParticle

private void DumpParticle(std::string , HepMC::Particle * )

DumpTree

private void DumpTree(std::string space, std::vector::const_iterator ib, std::vector::const_iterator ie)

DumpTree

private void DumpTree(std::string space, HepMC::Vertex::particle_iterator ib, HepMC::Vertex::particle_iterator ie)

DumpTwoGenerations

private void DumpTwoGenerations(std::string space, std::vector::const_iterator ib, std::vector::const_iterator ie)

execute

public virtual StatusCode execute()
Standard Athena-Algorithm method

finalize

public virtual StatusCode finalize()
Standard Athena-Algorithm method

getMC

private bool getMC(std::vector & )
extracts particles from the TES

initialize

public virtual StatusCode initialize()
Standard Athena-Algorithm method

Association Links

to Class HepMC_helper::MCselectorWrapper

helper class to select final state particles