|
ATLAS Offline Software
|
Go to the documentation of this file.
3 #ifndef FPGATrackSim_DATAPREPALG_H
4 #define FPGATrackSim_DATAPREPALG_H
11 #include "GaudiKernel/ToolHandle.h"
72 ToolHandle<IFPGATrackSimInputTool>
m_hitSGInputTool {
this,
"SGInputTool",
"",
"Input tool from SG"};
73 ToolHandle<IFPGATrackSimEventInputHeaderTool>
m_hitInputTool {
this,
"InputTool",
"FPGATrackSimSGToRawHitsTool/FPGATrackSimSGToRawHitsTool",
"Input Tool"};
74 ToolHandle<FPGATrackSimReadRawRandomHitsTool>
m_hitInputTool2 {
this,
"InputTool2",
"FPGATrackSimReadRawRandomHitsTool/FPGATrackSimReadRawRandomHitsTool",
"Potential 2nd input Tool to load data from more than one source"};
75 ToolHandle<FPGATrackSimRawToLogicalHitsTool>
m_hitMapTool {
this,
"RawToLogicalHitsTool",
"FPGATrackSim_RawToLogicalHitsTool/FPGATrackSim_RawToLogicalHitsTool",
"Raw To Logical Tool"};
76 ToolHandle<IFPGATrackSimHitFilteringTool>
m_hitFilteringTool {
this,
"HitFilteringTool",
"FPGATrackSimHitFilteringTool/FPGATrackSimHitFilteringTool",
"Hit Filtering Tool"};
77 ToolHandle<FPGATrackSimClusteringToolI>
m_clusteringTool {
this,
"ClusteringTool",
"FPGATrackSimClusteringTool/FPGATrackSimClusteringTool",
"Hit Clustering Tool"};
78 ToolHandle<FPGATrackSimSpacePointsToolI>
m_spacepointsTool {
this,
"SpacePointTool",
"FPGATrackSimSpacePointsTool/FPGATrackSimSpacePointsTool",
"Space Points Tool"};
79 ToolHandle<FPGATrackSimOutputHeaderTool>
m_writeOutputTool {
this,
"OutputTool",
"FPGATrackSimOutputHeaderTool/FPGATrackSimOutputHeaderTool",
"Output tool"};
84 Gaudi::Property<int>
m_firstInputToolN {
this,
"FirstInputToolN", 1,
"number of times to use event from first input tool"};
85 Gaudi::Property<int>
m_secondInputToolN {
this,
"SecondInputToolN", 0,
"number of times to use event from second input tool"};
86 Gaudi::Property<bool>
m_doHitFiltering {
this,
"HitFiltering",
false,
"flag to enable hit/cluster filtering"};
87 Gaudi::Property<int>
m_clustering {
this,
"Clustering", 0,
"int to enable the clustering and say how many times to run it"};
88 Gaudi::Property<bool>
m_doSpacepoints {
this,
"Spacepoints",
false,
"flag to enable the spacepoint formation"};
89 Gaudi::Property<bool>
m_writeOutputData {
this,
"writeOutputData",
true,
"write the output TTree"};
90 Gaudi::Property<bool>
m_doEvtSel {
this,
"doEvtSel",
true,
"do event selection"};
91 Gaudi::Property<bool>
m_runOnRDO {
this,
"runOnRDO",
false,
"case when runnin on RDO file (and not or wrapper)"};
94 Gaudi::Property<std::string>
m_preClusterBranch {
this,
"preClusterBranch",
"LogicalEventInputHeader_PreCluster",
"Name of the branch for pre-cluster input data in output ROOT file." };
95 Gaudi::Property<std::string>
m_postClusterBranch {
this,
"postClusterBranch",
"LogicalEventInputHeader_PostCluster",
"Name of the branch for post-cluster input data in output ROOT file." };
117 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool"};
135 #endif // FPGATrackSimLOGICALHITSTOALGORITHMS_h
StatusCode readInputs(bool &done)
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandle< IFPGATrackSimInputTool > m_hitSGInputTool
ToolHandle< FPGATrackSimReadRawRandomHitsTool > m_hitInputTool2
virtual StatusCode initialize() override
FPGATrackSimEventInputHeader m_eventHeader
ToolHandle< FPGATrackSimRawToLogicalHitsTool > m_hitMapTool
virtual StatusCode execute() override
FPGATrackSimLogicalEventInputHeader * m_logicEventHeader_precluster
Gaudi::Property< bool > m_doSpacepoints
FPGATrackSimLogicalEventInputHeader * m_logicEventHeader
ServiceHandle< IFPGATrackSimEventSelectionSvc > m_evtSel
std::string m_description
SG::WriteHandleKey< FPGATrackSimOfflineTrackCollection > m_FPGAOfflineTrackKey
SG::WriteHandleKey< FPGATrackSimClusterCollection > m_FPGAClusterFilteredKey
Gaudi::Property< bool > m_writeOutputData
ToolHandle< IFPGATrackSimHitFilteringTool > m_hitFilteringTool
ToolHandle< FPGATrackSimSpacePointsToolI > m_spacepointsTool
Gaudi::Property< bool > m_doEvtSel
std::vector< FPGATrackSimCluster > m_spacepoints
virtual ~FPGATrackSimDataPrepAlg()=default
Gaudi::Property< bool > m_doHitFiltering
SG::WriteHandleKey< FPGATrackSimHitCollection > m_FPGAHitUnmappedKey
Gaudi::Property< int > m_clustering
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputTruthParticleContainerKey
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< int > m_secondInputToolN
SG::WriteHandleKeyArray< FPGATrackSimClusterCollection > m_FPGAClusterKey
Gaudi::Property< bool > m_runOnRDO
std::vector< FPGATrackSimCluster > m_clusters_original
ToolHandle< FPGATrackSimOutputHeaderTool > m_writeOutputTool
ToolHandle< FPGATrackSimClusteringToolI > m_clusteringTool
Gaudi::Property< std::string > m_preClusterBranch
SG::WriteHandleKeyArray< FPGATrackSimHitCollection > m_FPGAHitKey
Gaudi::Property< std::string > m_postClusterBranch
std::vector< FPGATrackSimCluster > m_clusters
SG::WriteHandleKey< xAODTruthParticleLinkVector > m_truthLinkContainerKey
Gaudi::Property< int > m_firstInputToolN
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
std::vector< FPGATrackSimHit > m_hits_miss
FPGATrackSimDataPrepAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IFPGATrackSimEventInputHeaderTool > m_hitInputTool
FPGATrackSimEventInputHeader m_firstInputHeader
SG::WriteHandleKeyArray< FPGATrackSimClusterCollection > m_FPGASpacePointsKey
StatusCode processInputs(SG::WriteHandle< FPGATrackSimHitCollection > &FPGAHitUnmapped, SG::WriteHandle< FPGATrackSimClusterCollection > &FPGAClusters, SG::WriteHandle< FPGATrackSimClusterCollection > &FPGAClustersFiltered, SG::WriteHandle< FPGATrackSimClusterCollection > &FPGASpacePoints)
virtual StatusCode finalize() override
SG::WriteHandleKey< FPGATrackSimTruthTrackCollection > m_FPGATruthTrackKey