Commit 138b94a7 authored by Jochen Meyer's avatar Jochen Meyer Committed by Graeme Stewart
Browse files

factorizing out sim hit (MuonSimEventTPCnv-00-00-00)

parent 79142053
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef CSCSimHitCOLLECTIONCNV_P1_H
#define CSCSimHitCOLLECTIONCNV_P1_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/CSCSimHitCollection.h"
#include "CSCSimHitCollection_p1.h"
// namespace Muon {
// class CSCSimHitCollection_p1;
// }
class CSCSimHitCollectionCnv_p1 : public T_AthenaPoolTPCnvBase<CSCSimHitCollection, Muon::CSCSimHitCollection_p1>
{
public:
CSCSimHitCollectionCnv_p1() {};
virtual CSCSimHitCollection* createTransient(const Muon::CSCSimHitCollection_p1* persObj, MsgStream &log);
virtual void persToTrans(const Muon::CSCSimHitCollection_p1* persCont,
CSCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const CSCSimHitCollection* transCont,
Muon::CSCSimHitCollection_p1* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef CSCSimHitCOLLECTIONCNV_P2_H
#define CSCSimHitCOLLECTIONCNV_P2_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/CSCSimHitCollection.h"
#include "CSCSimHitCollection_p2.h"
// namespace Muon {
// class CSCSimHitCollection_p1;
// }
class CSCSimHitCollectionCnv_p2 : public T_AthenaPoolTPCnvBase<CSCSimHitCollection, Muon::CSCSimHitCollection_p2>
{
public:
CSCSimHitCollectionCnv_p2() {};
virtual CSCSimHitCollection* createTransient(const Muon::CSCSimHitCollection_p2* persObj, MsgStream &log);
virtual void persToTrans(const Muon::CSCSimHitCollection_p2* persCont,
CSCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const CSCSimHitCollection* transCont,
Muon::CSCSimHitCollection_p2* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef CSCSIMHITCOLLECTION_P1_H
#define CSCSIMHITCOLLECTION_P1_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class CSCSimHitCollection_p1
{
public:
std::vector<int> m_CSCid;
std::vector<float> m_globalTime;
std::vector<float> m_energyDeposit;
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_hitStart in transient class
std::vector<float> m_enX, m_enY, m_enZ; //!< Represents m_hitEnd in transient class
std::vector<int> m_particleID;
std::vector<float> m_meanTime;
std::vector<HepMcParticleLink_p1> m_partLink;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef CSCSIMHITCOLLECTION_P2_H
#define CSCSIMHITCOLLECTION_P2_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class CSCSimHitCollection_p2
{
public:
std::vector<int> m_CSCid;
std::vector<float> m_globalTime;
std::vector<float> m_energyDeposit;
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_hitStart in transient class
std::vector<float> m_enX, m_enY, m_enZ; //!< Represents m_hitEnd in transient class
std::vector<int> m_particleID;
std::vector<float> m_meanTime;
std::vector<HepMcParticleLink_p1> m_partLink;
std::vector<float> m_kineticEnergy;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef GenericMuonSimHitCOLLECTIONCNV_P1_H
#define GenericMuonSimHitCOLLECTIONCNV_P1_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/GenericMuonSimHitCollection.h"
#include "GenericMuonSimHitCollection_p1.h"
// namespace Muon {
// class GenericMuonSimHitCollection_p1;
// }
class GenericMuonSimHitCollectionCnv_p1 : public T_AthenaPoolTPCnvBase<GenericMuonSimHitCollection, Muon::GenericMuonSimHitCollection_p1>
{
public:
GenericMuonSimHitCollectionCnv_p1() {};
virtual GenericMuonSimHitCollection* createTransient(const Muon::GenericMuonSimHitCollection_p1* persObj, MsgStream &log);
virtual void persToTrans(const Muon::GenericMuonSimHitCollection_p1* persCont,
GenericMuonSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const GenericMuonSimHitCollection* transCont,
Muon::GenericMuonSimHitCollection_p1* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef GENERICMUONSIMHITCOLLECTION_P1_H
#define GENERICMUONSIMHITCOLLECTION_P1_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class GenericMuonSimHitCollection_p1
{
public:
std::vector<int> m_GenericId;
std::vector<float> m_globalTime;
std::vector<float> m_globalpreTime;
//preStep
std::vector<float> m_prestX, m_prestY, m_prestZ; //!< Represents m_globalPosition in transient class
std::vector<float> m_prelocX, m_prelocY, m_prelocZ; //!< Represents m_localPosition in transient class
//postStep
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_globalPosition in transient class
std::vector<float> m_locX, m_locY, m_locZ; //!< Represents m_localPosition in transient class
std::vector<float> m_kineticEnergy;
std::vector<int> m_particleEncoding;
std::vector<float> m_ptX, m_ptY, m_ptZ;
std::vector<float> m_depositEnergy;
std::vector<float> m_StepLength;
std::vector<HepMcParticleLink_p1> m_partLink;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MDTSimHitCOLLECTIONCNV_P1_H
#define MDTSimHitCOLLECTIONCNV_P1_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/MDTSimHitCollection.h"
#include "MDTSimHitCollection_p1.h"
// namespace Muon {
// class MDTSimHitCollection_p1;
// }
class MDTSimHitCollectionCnv_p1 : public T_AthenaPoolTPCnvBase<MDTSimHitCollection, Muon::MDTSimHitCollection_p1>
{
public:
MDTSimHitCollectionCnv_p1() {};
virtual MDTSimHitCollection* createTransient(const Muon::MDTSimHitCollection_p1* persObj, MsgStream &log);
virtual void persToTrans(const Muon::MDTSimHitCollection_p1* persCont,
MDTSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const MDTSimHitCollection* transCont,
Muon::MDTSimHitCollection_p1* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MDTSimHitCOLLECTIONCNV_P2_H
#define MDTSimHitCOLLECTIONCNV_P2_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/MDTSimHitCollection.h"
#include "MDTSimHitCollection_p2.h"
class MDTSimHitCollectionCnv_p2 : public T_AthenaPoolTPCnvBase<MDTSimHitCollection, Muon::MDTSimHitCollection_p2>
{
public:
MDTSimHitCollectionCnv_p2() {};
virtual MDTSimHitCollection* createTransient(const Muon::MDTSimHitCollection_p2* persObj, MsgStream &log);
virtual void persToTrans(const Muon::MDTSimHitCollection_p2* persCont,
MDTSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const MDTSimHitCollection* transCont,
Muon::MDTSimHitCollection_p2* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MDTSIMHITCOLLECTION_P1_H
#define MDTSIMHITCOLLECTION_P1_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class MDTSimHitCollection_p1
{
public:
std::vector<int> m_MDTid;
std::vector<float> m_globalTime;
std::vector<float> m_driftRadius;
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_localPosition in transient class
//std::vector<float> m_meanTime;
std::vector<HepMcParticleLink_p1> m_partLink;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MDTSIMHITCOLLECTION_P2_H
#define MDTSIMHITCOLLECTION_P2_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class MDTSimHitCollection_p2
{
public:
std::vector<int> m_MDTid;
std::vector<float> m_globalTime;
std::vector<float> m_driftRadius;
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_localPosition in transient class
//std::vector<float> m_meanTime;
std::vector<HepMcParticleLink_p1> m_partLink;
std::vector<float> m_energyDeposit;
std::vector<int> m_particleEncoding;
std::vector<float> m_kineticEnergy;
std::vector<float> m_stepLength;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONSIMEVENTTPCNV_MUONSIMEVENTTPCNVDICT_H
#define MUONSIMEVENTTPCNV_MUONSIMEVENTTPCNVDICT_H
//-----------------------------------------------------------------------------
//
// file: MuonSimEventTPCnvDict_p1.h
//
//-----------------------------------------------------------------------------
#include "MuonSimEventTPCnv/CSCSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/CSCSimHitCollection_p2.h"
#include "MuonSimEventTPCnv/RPCSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/RPCSimHitCollection_p2.h"
#include "MuonSimEventTPCnv/TGCSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/TGCSimHitCollection_p2.h"
#include "MuonSimEventTPCnv/TGCSimHitCollection_p3.h"
#include "MuonSimEventTPCnv/MDTSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/MDTSimHitCollection_p2.h"
#include "MuonSimEventTPCnv/GenericMuonSimHitCollection_p1.h"
#endif // MUONSIMEVENTTPCNV_MUONSIMEVENTTPCNVDICT_H
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONSIMEVENTTPCNV_MUONSIMEVENTTPCNVDICT_H
#define MUONSIMEVENTTPCNV_MUONSIMEVENTTPCNVDICT_H
//-----------------------------------------------------------------------------
//
// file: MuonSimEventTPCnvDict_p1.h
//
//-----------------------------------------------------------------------------
#include "MuonSimEventTPCnv/CSCSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/RPCSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/TGCSimHitCollection_p1.h"
#include "MuonSimEventTPCnv/TGCSimHitCollection_p2.h"
#include "MuonSimEventTPCnv/MDTSimHitCollection_p1.h"
#endif // MUONSIMEVENTTPCNV_MUONSIMEVENTTPCNVDICT_H
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef RPCSimHitCOLLECTIONCNV_P1_H
#define RPCSimHitCOLLECTIONCNV_P1_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/RPCSimHitCollection.h"
#include "RPCSimHitCollection_p1.h"
// namespace Muon {
// class RPCSimHitCollection_p1;
// }
class RPCSimHitCollectionCnv_p1 : public T_AthenaPoolTPCnvBase<RPCSimHitCollection, Muon::RPCSimHitCollection_p1>
{
public:
RPCSimHitCollectionCnv_p1() {};
virtual RPCSimHitCollection* createTransient(const Muon::RPCSimHitCollection_p1* persObj, MsgStream &log);
virtual void persToTrans(const Muon::RPCSimHitCollection_p1* persCont,
RPCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const RPCSimHitCollection* transCont,
Muon::RPCSimHitCollection_p1* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef RPCSimHitCOLLECTIONCNV_P2_H
#define RPCSimHitCOLLECTIONCNV_P2_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/RPCSimHitCollection.h"
#include "RPCSimHitCollection_p2.h"
// namespace Muon {
// class RPCSimHitCollection_p1;
// }
class RPCSimHitCollectionCnv_p2 : public T_AthenaPoolTPCnvBase<RPCSimHitCollection, Muon::RPCSimHitCollection_p2>
{
public:
RPCSimHitCollectionCnv_p2() {};
virtual RPCSimHitCollection* createTransient(const Muon::RPCSimHitCollection_p2* persObj, MsgStream &log);
virtual void persToTrans(const Muon::RPCSimHitCollection_p2* persCont,
RPCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const RPCSimHitCollection* transCont,
Muon::RPCSimHitCollection_p2* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef RPCSIMHITCOLLECTION_P1_H
#define RPCSIMHITCOLLECTION_P1_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class RPCSimHitCollection_p1
{
public:
std::vector<int> m_RPCid;
std::vector<float> m_globalTime;
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_localPosition in transient class
std::vector<HepMcParticleLink_p1> m_partLink;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef RPCSIMHITCOLLECTION_P2_H
#define RPCSIMHITCOLLECTION_P2_H
#include <vector>
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
namespace Muon {
class RPCSimHitCollection_p2
{
public:
std::vector<int> m_RPCid;
std::vector<float> m_globalTime;
std::vector<float> m_stX, m_stY, m_stZ; //!< Represents m_localPosition in transient class
std::vector<HepMcParticleLink_p1> m_partLink;
std::vector<float> m_stopX, m_stopY, m_stopZ; //!< Represents end-point of the g4 step in the transient class
std::vector<float> m_energyDeposit;
std::vector<float> m_stepLength;
std::vector<int> m_particleEncoding;
std::vector<float> m_kineticEnergy;
};
}
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TGCSimHitCOLLECTIONCNV_P1_H
#define TGCSimHitCOLLECTIONCNV_P1_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/TGCSimHitCollection.h"
#include "TGCSimHitCollection_p1.h"
// namespace Muon {
// class TGCSimHitCollection_p1;
// }
class TGCSimHitCollectionCnv_p1 : public T_AthenaPoolTPCnvBase<TGCSimHitCollection, Muon::TGCSimHitCollection_p1>
{
public:
TGCSimHitCollectionCnv_p1() {};
virtual TGCSimHitCollection* createTransient(const Muon::TGCSimHitCollection_p1* persObj, MsgStream &log);
virtual void persToTrans(const Muon::TGCSimHitCollection_p1* persCont,
TGCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const TGCSimHitCollection* transCont,
Muon::TGCSimHitCollection_p1* persCont,
MsgStream &log) ;
};
#endif
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TGCSimHitCOLLECTIONCNV_P2_H
#define TGCSimHitCOLLECTIONCNV_P2_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/TGCSimHitCollection.h"
#include "TGCSimHitCollection_p2.h"
class TGCSimHitCollectionCnv_p2 : public T_AthenaPoolTPCnvBase<TGCSimHitCollection, Muon::TGCSimHitCollection_p2>
{
public:
TGCSimHitCollectionCnv_p2() {};
virtual TGCSimHitCollection* createTransient(const Muon::TGCSimHitCollection_p2* persObj, MsgStream &log);
virtual void persToTrans(const Muon::TGCSimHitCollection_p2* persCont,
TGCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const TGCSimHitCollection* transCont,
Muon::TGCSimHitCollection_p2* persCont,
MsgStream &log) ;
};
#endif // TGCSimHitCOLLECTIONCNV_P2_H
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TGCSimHitCOLLECTIONCNV_P3_H
#define TGCSimHitCOLLECTIONCNV_P3_H
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
#include "MuonSimEvent/TGCSimHitCollection.h"
#include "TGCSimHitCollection_p3.h"
class TGCSimHitCollectionCnv_p3 : public T_AthenaPoolTPCnvBase<TGCSimHitCollection, Muon::TGCSimHitCollection_p3>
{
public:
TGCSimHitCollectionCnv_p3() {};
virtual TGCSimHitCollection* createTransient(const Muon::TGCSimHitCollection_p3* persObj, MsgStream &log);
virtual void persToTrans(const Muon::TGCSimHitCollection_p3* persCont,
TGCSimHitCollection* transCont,
MsgStream &log) ;
virtual void transToPers(const TGCSimHitCollection* transCont,