 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FPGATrackSimCLUSTERINGTOOL_H
6 #define FPGATrackSimCLUSTERINGTOOL_H
29 bool sortITkInputEta(
const std::unique_ptr<FPGATrackSimHit>& hitA,
const std::unique_ptr<FPGATrackSimHit>& hitB);
30 bool sortITkInputPhi(
const std::unique_ptr<FPGATrackSimHit>& hitA,
const std::unique_ptr<FPGATrackSimHit>& HitB);
45 Gaudi::Property<bool>
m_digitalClustering {
this,
"DigitalClustering",
true,
"flag to enable digital clustering instead of ToT weighted position calculation" };
46 Gaudi::Property<bool>
m_reduceCoordPrecision {
this,
"ReduceCoordPrecision",
false,
"flag to enable reducing the precision of global coordinates" };
47 Gaudi::Property<float>
m_coordRPrecision {
this,
"CoordRPrecision", 1./64.,
"fixed point precision of r coordinate" };
48 Gaudi::Property<float>
m_coordPhiPrecision {
this,
"CoordPhiPrecision", 1./8192.,
"fixed point precision of phi coordinate" };
49 Gaudi::Property<float>
m_coordZPrecision {
this,
"CoordZPrecision", 1./32.,
"fixed point precision of z coordinate" };
50 Gaudi::Property<int>
m_LorentzAngleShift {
this,
"LorentzAngleShift", -1,
"flag for Lorentz angle shift. -1 means off, 0 means full corrections from first version, 1 means smaller LUT, 2 means very small LUT" };
52 ToolHandle<FPGATrackSim::LorentzAngleTool>
m_lorentzAngleTool {
this,
"LorentzAngleTool",
"",
"FPGATrackSim tool to retrieve Lorentz angle"};
71 bool sortIBLInput(
const std::unique_ptr<FPGATrackSimHit>&
i,
const std::unique_ptr<FPGATrackSimHit>& j)
const;
72 bool sortPixelInput(
const std::unique_ptr<FPGATrackSimHit>&
i,
const std::unique_ptr<FPGATrackSimHit>& j)
const;
77 #endif // FPGATrackSimCLUSTERINGTOOL_H
bool updateStripCluster(FPGATrackSimCluster ¤tCluster, FPGATrackSimHit &incomingHit, bool newCluster, bool digitalClustering)
void attachTruth(std::vector< FPGATrackSimHit > &)
bool updatePixelCluster(FPGATrackSimCluster ¤tCluster, FPGATrackSimHit &incomingHit, bool newCluster, bool digitalClustering)
bool updateClusterContents(FPGATrackSimCluster ¤tCluster, int &clusterRow, int &clusterRowWidth, int &clusterCol, int &clusterColWidth, FPGATrackSimHit &incomingHit, bool digitalClustering)
bool sortITkInputPhi(const std::unique_ptr< FPGATrackSimHit > &hitA, const std::unique_ptr< FPGATrackSimHit > &HitB)
::StatusCode StatusCode
StatusCode definition for legacy code.
bool sortITkInputEta(const std::unique_ptr< FPGATrackSimHit > &hitA, const std::unique_ptr< FPGATrackSimHit > &hitB)
: FPGATrackSim-specific class to represent an hit in the detector.