Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FPGATrackSimCLUSTERINGTOOL_H
6 #define FPGATrackSimCLUSTERINGTOOL_H
43 Gaudi::Property<bool>
m_digitalClustering {
this,
"DigitalClustering",
false,
"flag to enable digital clustering instead of ToT weighted position calculation" };
44 Gaudi::Property<bool>
m_reduceCoordPrecision {
this,
"ReduceCoordPrecision",
false,
"flag to enable reducing the precision of global coordinates" };
45 Gaudi::Property<float>
m_coordRPrecision {
this,
"CoordRPrecision", 1./64.,
"fixed point precision of r coordinate" };
46 Gaudi::Property<float>
m_coordPhiPrecision {
this,
"CoordPhiPrecision", 1./8192.,
"fixed point precision of phi coordinate" };
47 Gaudi::Property<float>
m_coordZPrecision {
this,
"CoordZPrecision", 1./32.,
"fixed point precision of z coordinate" };
50 void SortedClustering(
const std::vector<std::vector<FPGATrackSimHit> >& sorted_hits, std::vector<FPGATrackSimCluster> &)
const;
51 void Clustering(std::vector<FPGATrackSimHit>, std::vector<FPGATrackSimCluster> &)
const;
56 void splitAndSortHits(std::vector<FPGATrackSimHit>&
hits, std::vector<std::vector<FPGATrackSimHit> >& hitsPerModule,
int& eta_phi)
const;
57 void splitAndSortHits(std::vector<FPGATrackSimHit>&
hits, std::vector<std::vector<FPGATrackSimHit> >& hitsPerModule)
const;
58 void splitHitsToModules(std::vector<FPGATrackSimHit>&
hits, std::vector<std::vector<FPGATrackSimHit> >& hitsPerModule)
const;
60 void sortHitsOnModules(std::vector<std::vector<FPGATrackSimHit> >& hitsPerModule,
int& eta_phi)
const;
61 void sortHitsOnModules(std::vector<std::vector<FPGATrackSimHit> >& hitsPerModule)
const;
63 bool sortIBLInput(
const std::unique_ptr<FPGATrackSimHit>&
i,
const std::unique_ptr<FPGATrackSimHit>& j)
const;
64 bool sortPixelInput(
const std::unique_ptr<FPGATrackSimHit>&
i,
const std::unique_ptr<FPGATrackSimHit>& j)
const;
70 #endif // FPGATrackSimCLUSTERINGTOOL_H
bool updateStripCluster(FPGATrackSimCluster ¤tCluster, FPGATrackSimHit &incomingHit, bool newCluster, bool digitalClustering)
bool sortITkInputPhi(const FPGATrackSimHit &hitA, const FPGATrackSimHit &HitB)
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)
::StatusCode StatusCode
StatusCode definition for legacy code.
bool sortITkInputEta(const FPGATrackSimHit &hitA, const FPGATrackSimHit &hitB)
: FPGATrackSim-specific class to represent an hit in the detector.