Commit 1543d6c8 authored by Qipeng Hu's avatar Qipeng Hu
Browse files

add event info to TrackCaloClusterRecAlgs/src/TrackCaloClusterAlg.cxx in order...

add event info to TrackCaloClusterRecAlgs/src/TrackCaloClusterAlg.cxx in order to debug event by event
parent 86f07ada
......@@ -16,6 +16,7 @@ atlas_depends_on_subdirs( PRIVATE
Event/xAOD/xAODTracking
Event/xAOD/xAODAssociations
Event/xAOD/xAODPFlow
Event/xAOD/xAODEventInfo
Reconstruction/TrackCaloClusterRec/TrackCaloClusterRecTools)
find_package( FastJet )
......@@ -27,5 +28,5 @@ atlas_add_component( TrackCaloClusterRecAlgs
src/components/*.cxx
INCLUDE_DIRS ${FASTJET_INCLUDE_DIRS} ${FASTJETCONTRIB_INCLUDE_DIRS}
LINK_LIBRARIES ${FASTJET_LIBRARIES} ${FASTJETCONTRIB_LIBRARIES} AthenaBaseComps GaudiKernel AtlasDetDescr xAODBase
xAODTracking xAODAssociations xAODPFlow TrackCaloClusterRecTools TrkParametersIdentificationHelpers )
\ No newline at end of file
xAODTracking xAODAssociations xAODPFlow TrackCaloClusterRecTools TrkParametersIdentificationHelpers xAODEventInfo)
......@@ -10,6 +10,7 @@
#include "TrkParametersIdentificationHelpers/TrackParametersIdHelper.h"
#include "AtlasDetDescr/AtlasDetectorID.h"
#include "xAODEventInfo/EventInfo.h"
#include "xAODAssociations/TrackParticleClusterAssociationContainer.h"
#include "xAODPFlow/TrackCaloClusterAuxContainer.h"
......@@ -46,6 +47,10 @@ StatusCode TrackCaloClusterAlg::execute() {
const TrackCaloClusterInfo * tccInfo;
ATH_CHECK(evtStore()->retrieve(tccInfo, m_tccInfoName));
const xAOD::EventInfo* eventInfo = 0;
ATH_CHECK( evtStore()->retrieve( eventInfo, "EventInfo") );
//int m_EventNumber = eventInfo->eventNumber();
//if (m_EventNumber != 5345621) return StatusCode::SUCCESS;
// Create containers
xAOD::TrackCaloClusterContainer* tccContainer = new xAOD::TrackCaloClusterContainer();
......
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