1#ifndef FPGATrackSim_RAWNTUPLEWRAPPERALG_H
2#define FPGATrackSim_RAWNTUPLEWRAPPERALG_H
6#include "GaudiKernel/ToolHandle.h"
22 virtual StatusCode
execute()
override;
23 virtual StatusCode
finalize()
override;
27 ToolHandle<IFPGATrackSimEventInputHeaderTool>
m_hitInputTool {
this,
"InputTool",
"FPGATrackSimSGToRawHitsTool/FPGATrackSimSGToRawHitsTool",
"Input Tool" };
28 StringProperty
m_outpath {
this,
"OutFileName",
"httsim_smartwrapper.root",
"output path"};
29 BooleanProperty
m_getOffline {
this,
"GetOffline",
false,
"flag to enable the offline tracking save"};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< int > * m_offline_trackNumber
std::vector< int > * m_offline_isPixel
std::vector< FPGATrackSimTruthTrack > m_truth_tracks
virtual ~FPGATrackSimRawNtupleWrapperAlg()=default
float m_actualInteractionsPerCrossing
FPGATrackSimRawNtupleWrapperAlg(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< int > * m_offline_clustID
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_hitInputTool
std::vector< float > * m_offline_phi
std::vector< FPGATrackSimHit > * m_original_hits
float m_averageInteractionsPerCrossing
event number
std::vector< float > * m_offline_d0
int m_event_number
event's run number
TTree * m_offline_cluster_tree
std::vector< int > * m_offline_barcode
unsigned int m_level1TriggerType
std::vector< unsigned int > m_level1TriggerInfo
std::vector< int > * m_offline_layer
std::vector< float > * m_offline_locX
std::vector< float > * m_offline_z0
virtual StatusCode initialize() override
std::vector< float > * m_offline_qoverpt
std::vector< float > * m_offline_barcode_frac
virtual StatusCode finalize() override
unsigned int m_extendedLevel1ID
std::vector< float > * m_offline_locY
std::vector< int > * m_offline_isBarrel
BooleanProperty m_getOffline
FPGATrackSimEventInputHeader * m_eventHeader
TTree * m_trackstree
TTree with general event information.
virtual StatusCode execute() override
std::vector< float > * m_offline_eta