Commit 7fc7d0ff authored by Jochen Meyer's avatar Jochen Meyer Committed by Graeme Stewart
Browse files

fixing compiler warning (TGC_Digitization-01-12-03)

        * fixing compiler warning
            see https://its.cern.ch/jira/browse/ATLASSIM-1745
        * Tagging TGC_Digitization-01-12-03

2014-11-16  Jochen Meyer  <jomeyer@mail.cern.ch>
        * updating Insert to Emplace in processBunchXing method
            see https://its.cern.ch/jira/browse/ATLASSIM-1690
        * Tagging TGC_Digitization-01-12-02
parent 8d75f32a
......@@ -525,7 +525,7 @@ float TgcDigitMaker::timeJitter(const Amg::Vector3D direCosLocal) const
jthAngle = ithAngle+1;
}
float jitter;
float jitter = 0.;
float prob = 1.;
float probRef = 0.;
......
......@@ -147,8 +147,7 @@ StatusCode TgcDigitizationTool::processBunchXing(int /*bunchXing*/,
TGCSimHitCollection::const_iterator e = seHitColl->end();
// Read hits from this collection
for(; i!=e; ++i) {
TGCSimHit tgchit = *i;
TGCHitColl->Insert(tgchit);
TGCHitColl->Emplace(*i);
}
m_thpcTGC->insert(thisEventIndex, TGCHitColl);
//store these for deletion at the end of mergeEvent
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment