Skip to content
Snippets Groups Projects
Commit a0aa1447 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

rename the collection name for MCParticle.

parent 4fa0c3de
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@ class PlcioReadAlg : public GaudiAlgorithm
private :
DataHandle<plcio::EventHeaderCollection> m_headerCol{"EventHeaderCol", Gaudi::DataHandle::Reader, this};
DataHandle<plcio::MCParticleCollection> m_mcParCol{"MCParticleCol", Gaudi::DataHandle::Reader, this};
DataHandle<plcio::EventHeaderCollection> m_headerCol{"EventHeader", Gaudi::DataHandle::Reader, this};
DataHandle<plcio::MCParticleCollection> m_mcParCol{"MCParticle", Gaudi::DataHandle::Reader, this};
};
......
......@@ -23,8 +23,8 @@ class PlcioWriteAlg : public GaudiAlgorithm
private :
DataHandle<plcio::EventHeaderCollection> m_headerCol{"EventHeaderCol", Gaudi::DataHandle::Writer, this};
DataHandle<plcio::MCParticleCollection> m_mcParCol{"MCParticleCol", Gaudi::DataHandle::Writer, this};
DataHandle<plcio::EventHeaderCollection> m_headerCol{"EventHeader", Gaudi::DataHandle::Writer, this};
DataHandle<plcio::MCParticleCollection> m_mcParCol{"MCParticle", Gaudi::DataHandle::Writer, this};
};
......
......@@ -25,7 +25,7 @@ using namespace std;
DECLARE_COMPONENT(GenAlgo)
GenAlgo::GenAlgo(const std::string& name, ISvcLocator* pSvcLocator): GaudiAlgorithm(name, pSvcLocator) {
declareProperty("MCParticleCol", m_hdl, "MCParticle collection (output)");
declareProperty("MCParticle", m_hdl, "MCParticle collection (output)");
m_evtid = 0;
}
......
......@@ -40,7 +40,7 @@ private:
int m_evtid;
int m_evtMax;
//MyHepMC::GenEvent m_event;
DataHandle<plcio::MCParticleCollection> m_hdl{"MCParticleCol", Gaudi::DataHandle::Writer, this};
DataHandle<plcio::MCParticleCollection> m_hdl{"MCParticle", Gaudi::DataHandle::Writer, this};
};
......
......@@ -16,7 +16,7 @@ public:
bool mutate(G4Event* anEvent) override;
private:
DataHandle<plcio::MCParticleCollection> m_mcParCol{"MCParticleCol", Gaudi::DataHandle::Reader, this};
DataHandle<plcio::MCParticleCollection> m_mcParCol{"MCParticle", Gaudi::DataHandle::Reader, this};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment