ATLAS Offline Software
|
#include <FPGATrackSimHough1DShiftTool.h>
Public Member Functions | |
FPGATrackSimHough1DShiftTool (const std::string &, const std::string &, const IInterface *) | |
virtual StatusCode | initialize () override |
virtual StatusCode | finalize () override |
virtual StatusCode | getRoads (const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits, std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads) override |
Private Member Functions | |
void | calculateShifts () |
float | getPtFromShiftDiff (int shift) const |
void | readShifts (std::string const &filepath) |
std::vector< boost::dynamic_bitset<> > | makeHitMasks (const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits) |
FPGATrackSimRoad | makeRoad (const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits, int bin_track, size_t iShift) |
void | matchIdealGeoSector (FPGATrackSimRoad &r) const |
bool | passThreshold (std::vector< boost::dynamic_bitset<>> &binHits, int bin) const |
void | printHitMasks (std::vector< boost::dynamic_bitset<>> const &hitMasks) const |
void | drawHitMasks (std::vector< boost::dynamic_bitset<>> const &hitMasks, std::string const &name) |
void | drawHitMasks (std::vector< boost::dynamic_bitset<>> const &hitMasks, std::string const &name, std::vector< int > const &shifts) |
void | printShifts () const |
std::pair< int, int > | getBins (const std::shared_ptr< const FPGATrackSimHit > &hit) const |
float | phitrkDiff (float r1, float phi1, float r2, float phi2) const |
std::pair< float, bool > | phitrk (int bin, std::vector< int > const &shifts) const |
float | qPt (float r, float deltaPhi) const |
float | deltaPhi (float r, float qPt) const |
void | calculated0Shifts () |
std::vector< int > | applyVariation (const std::vector< int > &base, const std::vector< int > &var, int sign) const |
void | calculateDropable () |
std::vector< int > | shiftWithDrop (std::vector< int > &shift, unsigned droplayer) const |
Private Attributes | |
ServiceHandle< IFPGATrackSimEventSelectionSvc > | m_EvtSel {this, "FPGATrackSimEventSelectionSvc", "FPGATrackSimEventSelectionSvc"} |
ServiceHandle< IFPGATrackSimBankSvc > | m_FPGATrackSimBankSvc {this, "FPGATrackSimBankSvc", "FPGATrackSimBankSvc"} |
ServiceHandle< IFPGATrackSimMappingSvc > | m_FPGATrackSimMapping {this, "FPGATrackSimMappingSvc", "FPGATrackSimMappingSvc"} |
Gaudi::Property< bool > | m_traceHits { this, "traceHits", true, "Trace each hit that goes in a bin. Disabling this will save memory/time since each bin doesn't have to store all its hits but the roads created won't have hits from convolution, etc."} |
Gaudi::Property< bool > | m_doEtaPatternConsts { this, "doEtaPatternConsts", false, "Whether to use the eta pattern tool for constant generation"} |
Gaudi::Property< bool > | m_useSpacePoints { this, "useSpacePoints", false, "Whether we are using spacepoints." } |
Gaudi::Property< bool > | m_useSectors { this, "useSectors", false, "Will reverse calculate the sector for track-fitting purposes" } |
Gaudi::Property< bool > | m_idealGeoRoads { this, "IdealGeoRoads", false, "Set sectors to use ideal geometry fit constants" } |
Gaudi::Property< bool > | m_doRegionalMapping { this, "RegionalMapping", false, "Use the sub-region maps to define the sector" } |
Gaudi::Property< bool > | m_drawHitMasks { this, "drawHitMasks", false, "Draws hit masks if true"} |
Gaudi::Property< int > | m_subRegion { this, "subRegion", 0, "Sub region of this transform, or -1 for full region" } |
Gaudi::Property< float > | m_phiMin { this, "phiMin", 0, "Minimum phi of transform" } |
Gaudi::Property< float > | m_phiMax { this, "phiMax", 0, "Maximum phi of transform" } |
Gaudi::Property< float > | m_qptMin { this, "qptMin", 0, "Minimum q/pT of transform" } |
Gaudi::Property< float > | m_qptMax { this, "qptMax", 0, "Maximum q/pT of transform" } |
Gaudi::Property< unsigned > | m_phiBins { this, "nBins", 0, "Number of phi bins used by transform." } |
Gaudi::Property< unsigned > | m_threshold { this, "threshold", 0, "Minimum number of layers hit to accept as a road (inclusive)" } |
Gaudi::Property< unsigned > | m_iterStep { this, "iterStep", 0, "Instead of iterating over steps in pT, we iterate over iterStep-bin shifts in iterLayer" } |
Gaudi::Property< unsigned > | m_iterLayer { this, "iterLayer", 0, "Instead of iterating over steps in pT, we iterate over iterStep-bin shifts in iterLayer" } |
Gaudi::Property< bool > | m_useDiff { this, "useDiff", false, "Use the diff of inner and outer layer" } |
Gaudi::Property< bool > | m_variableExtend { this, "variableExtend", false, "Do variable extension based off of hit delta R" } |
Gaudi::Property< bool > | m_phiRangeCut {this, "phiRangeCut", false, "Require tracks to be in phi range to avoid counting minbias roads for larger region" } |
Gaudi::Property< float > | m_d0spread {this, "d0spread", -1.0, "Make patterns with a d0spread as given, negative value turns it off" } |
Gaudi::Property< std::vector< float > > | m_hitExtendProperty {this, "hitExtend", {}, "Number of adjacent bins that a hit triggers" } |
Gaudi::Property< std::string > | m_bitShift_path { this, "bitShifts", "", "Instead of calculating bit shifts, input a list of shifts via a text file" } |
Gaudi::Property< bool > | m_applyDropable { this, "applyDropable", false, "Enable logic that prevents redundant patterns with dropped hits" } |
Gaudi::Property< int > | m_neighborWindow { this, "neighborWindow", 0, "Supress if neighbors have higher number of hit layers" } |
Gaudi::Property< unsigned > | m_historyWindow {this, "historyWindow", 0, "Suppress if previous N bit shifts have neighbors with higher nubmer of hit layers" } |
Gaudi::Property< bool > | m_fieldCorrection {this, "fieldCorrection", true, "Apply corrections to hough equation due to field nonuniformity" } |
Gaudi::Property< float > | m_enhanceHighPt {this, "enhanceHighPt", -1.0, "if positive, double number of patterns for region with qpT below value" } |
std::vector< float > | m_hitExtend |
std::vector< float > | m_r |
unsigned | m_nLayers |
float | m_phiStep |
std::vector< double > | m_bins |
FPGATrackSimTrackPars | m_regionMin |
FPGATrackSimTrackPars | m_regionMax |
std::vector< std::vector< int > > | m_shifts |
std::vector< boost::dynamic_bitset<> > | m_dropable |
std::vector< float > | m_qpt |
std::vector< std::vector< float > > | m_phivals |
std::vector< std::vector< int > > | m_d0shifts |
std::vector< unsigned > | m_currentcounts |
std::deque< std::vector< unsigned > > | m_vetolist |
std::vector< FPGATrackSimRoad > | m_roads |
unsigned | m_event = 0 |
std::string | m_name |
TFile | m_monitorFile |
Definition at line 84 of file FPGATrackSimHough1DShiftTool.h.
FPGATrackSimHough1DShiftTool::FPGATrackSimHough1DShiftTool | ( | const std::string & | algname, |
const std::string & | name, | ||
const IInterface * | ifc | ||
) |
Definition at line 39 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 742 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 723 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 765 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 124 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 618 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 682 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 698 of file FPGATrackSimHough1DShiftTool.cxx.
|
overridevirtual |
Definition at line 307 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 564 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 556 of file FPGATrackSimHough1DShiftTool.cxx.
|
overridevirtual |
Definition at line 316 of file FPGATrackSimHough1DShiftTool.cxx.
|
overridevirtual |
Definition at line 46 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 418 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 435 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 489 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 382 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 605 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 598 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 665 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 707 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
|
private |
Definition at line 190 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 756 of file FPGATrackSimHough1DShiftTool.cxx.
|
private |
Definition at line 139 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 155 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 138 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 169 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 168 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 136 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 114 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 118 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 119 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 163 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 143 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 181 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 105 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 142 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 106 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 107 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 141 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 146 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 137 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 117 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 130 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 129 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 183 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 182 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 140 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 152 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 127 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 123 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 122 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 134 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 154 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 167 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 166 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 125 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 124 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 147 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 160 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 159 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 176 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 162 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 121 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 128 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 112 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 132 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 116 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 115 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 133 of file FPGATrackSimHough1DShiftTool.h.
|
private |
Definition at line 170 of file FPGATrackSimHough1DShiftTool.h.