00001 #ifndef MCPARTICLE_BUILDER_H 00002 #define MCPARTICLE_BUILDER_H 00003 00004 #include "RawDataCnv/EventManagement/Builder.h" 00005 #include "McTruth/McParticle.h" 00006 00007 using namespace std; 00008 using Event::McParticle; 00009 using Event::McParticleCol; 00010 00011 class McParticleBuilder: public Builder 00012 { 00013 00014 public: 00015 McParticleBuilder (); 00016 virtual ~McParticleBuilder(){}; 00017 virtual StatusCode initialize(string &initFile); 00018 virtual uint32_t getTEID(uint32_t teid); 00019 virtual uint32_t getREID(uint32_t reid); 00020 00021 virtual void unPack(uint32_t* buf, double* vPointer, McParticle* mcPar); 00022 00023 virtual StatusCode pack(McParticleCol* mcParticleCol, WriteRawEvent*& re); 00024 00025 private: 00026 00027 }; 00028 #endif