6#ifndef FPGATrackSim_MERGEOUTPUTSALG_H
7#define FPGATrackSim_MERGEOUTPUTSALG_H
11#include "GaudiKernel/ToolHandle.h"
32 virtual StatusCode
execute()
override;
33 virtual StatusCode
finalize()
override;
37 const static unsigned N=1280;
39 Gaudi::Property<std::vector<std::string>>
m_inpaths {
this,
"InFileNames", {
"."},
"input file paths"};
40 Gaudi::Property<bool>
m_SortTracks {
this,
"SortTracks",
false,
"If true, sort tracks before finalizing merging, based on track quality"};
51 ToolHandle<FPGATrackSimOverlapRemovalTool>
m_overlapRemovalTool {
this,
"OverlapRemoval",
"FPGATrackSimOverlapRemovalTool/FPGATrackSimOverlapRemovalTool_Last",
"Last inter-region overlap removal tool"};
53 Gaudi::Property<unsigned>
m_evtlooptree {
this,
"SkipWritingEvents", 0,
"Set to the number of events you want to skip at the start"};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< unsigned > m_evtlooptree
unsigned long m_alltracks
std::vector< std::vector< FPGATrackSimLogicalEventOutputHeader * > > m_eventOutputHeaders
ToolHandle< FPGATrackSimOverlapRemovalTool > m_overlapRemovalTool
virtual StatusCode finalize() override
virtual StatusCode initialize() override
FPGATrackSimLogicalEventInputHeader * m_dataprep
std::vector< TFile * > m_files
virtual ~FPGATrackSimMergeOutputsAlg()
unsigned long m_tracksPassOR
FPGATrackSimMergeOutputsAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_SortTracks
SG::WriteHandleKey< FPGATrackSimHitCollection > m_FPGAHitKey
Gaudi::Property< std::vector< std::string > > m_inpaths
virtual StatusCode execute() override
std::vector< std::vector< TTree * > > m_trees
SG::WriteHandleKey< FPGATrackSimTrackCollection > m_FPGATrackKey
Property holding a SG store/key/clid from which a WriteHandle is made.