2#ifndef TRUTHHELPER_GENACCESSIO_H
3#define TRUTHHELPER_GENACCESSIO_H
6#include "GaudiKernel/Bootstrap.h"
7#include "GaudiKernel/ISvcLocator.h"
8#include "GaudiKernel/DataObject.h"
9#include "GaudiKernel/ObjectVector.h"
11#include "StoreGate/StoreGateSvc.h"
14#include "GeneratorObjects/McEventCollection.h"
15#include "HepMC/GenParticle.h"
38 StoreGateSvc* m_sgSvc;
43 ISvcLocator* svcLoc = Gaudi::svcLocator( );
44 if( (svcLoc->service(
"StoreGateSvc", m_sgSvc )).isFailure() ){
45 throw StatusCode::FAILURE;
51 if((m_sgSvc->retrieve(dh)).isFailure() ){
52 return StatusCode::FAILURE;
54 return StatusCode::SUCCESS;
59 if( (m_sgSvc->retrieve(dh,
key)).isFailure() ){
60 return StatusCode::FAILURE;
62 return StatusCode::SUCCESS;
66 return (m_sgSvc->record(pObject) ) ;
71 return (m_sgSvc->record(storee,
key) ) ;
std::vector< const HepMC::GenParticle * > MCparticleCollection
std::vector< constHepMC::GenParticle * >::const_iterator MCparticleCollectionCIter
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
StatusCode getMC(MCparticleCollection &) const
StatusCode getDH(const McEventCollection *&) const
StatusCode store(McEventCollection *) const