ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimRawToLogicalHitsTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FPGATrackSimRAWTOLOGICALHITSTOOL_H
6#define FPGATrackSimRAWTOLOGICALHITSTOOL_H
7
9#include "GaudiKernel/ServiceHandle.h"
10
15#include <vector>
16
17
18// Forward declaration
22
23
25{
26 public:
27
28 FPGATrackSimRawToLogicalHitsTool(const std::string&, const std::string&, const IInterface*);
30 virtual StatusCode initialize() override;
31
32 StatusCode convert(unsigned stage, const FPGATrackSimEventInputHeader& header,
34 const FPGATrackSimPlaneMap* getPlaneMap_1st(int sliceNum);
35
36
37private:
38
39 // JO configuration
40 ServiceHandle<IFPGATrackSimMappingSvc> m_FPGATrackSimMapping {this, "FPGATrackSimMappingSvc", "FPGATrackSimMappingSvc"};
41 ServiceHandle<IFPGATrackSimEventSelectionSvc> m_EvtSel {this, "FPGATrackSimEventSelectionSvc", ""};
42 IntegerProperty m_saveOptional {this, "SaveOptional", 2, "flag to enable the truth/offline tracking save =0 no optional saved, =1 saved in region, =2 save all "};
43 IntegerArrayProperty m_towersToMap {this, "TowersToMap", {}, "Which Towers to map, goes from 0 to 96!"};
44
45 // internal members
46 std::vector<int> m_towers;
47
48};
49
50#endif // FPGATrackSimRAWTOLOGICALHITSTOOL_H
: FPGATrackSim-specific class to represent an hit in the detector.
Maps physical layers to logical layers.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ServiceHandle< IFPGATrackSimEventSelectionSvc > m_EvtSel
StatusCode convert(unsigned stage, const FPGATrackSimEventInputHeader &header, FPGATrackSimLogicalEventInputHeader &logicheader)
const FPGATrackSimPlaneMap * getPlaneMap_1st(int sliceNum)
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
virtual ~FPGATrackSimRawToLogicalHitsTool()=default
FPGATrackSimRawToLogicalHitsTool(const std::string &, const std::string &, const IInterface *)