3#ifndef FPGATrackSimSectorSlice_h
4#define FPGATrackSimSectorSlice_h
52 std::pair<FPGATrackSimTrackPars, FPGATrackSimTrackPars>
getBoundaries()
const;
79 void getBoundary(
const TClonesArray *bitmasks,
double x_min,
double x_max,
80 double &autoMin,
double &autoMax,
bool wraps,
const char *
debug)
const;
Structs that store the 5 track parameters.
static const std::vector< std::string > bins
void getBoundary(const TClonesArray *bitmasks, double x_min, double x_max, double &autoMin, double &autoMax, bool wraps, const char *debug) const
Given a range [x_min, x_max] split in bins corresponding to the size of bitmasks, finds a tighter ran...
FPGATrackSimTrackPars m_max
FPGATrackSimSectorSlice(const FPGATrackSimSectorSlice &)=delete
std::pair< FPGATrackSimTrackPars, FPGATrackSimTrackPars > getBoundaries() const
TClonesArray * m_bits_phi
void addSectorToSlice(sector_t sector, FPGATrackSimTrackParsI const &bins)
std::vector< sector_t > searchSectors(FPGATrackSimTrackPars const &pars) const
FPGATrackSimTrackParsI m_nBins
FPGATrackSimTrackPars m_min
TClonesArray * m_bits_eta
void saveSlices(const std::string &filepath)
bool checkTrackPars(FPGATrackSimTrackPars const &pars) const
FPGATrackSimTrackPars m_step
FPGATrackSimSectorSlice & operator=(const FPGATrackSimSectorSlice &)=delete
FPGATrackSimSectorSlice(size_t nSectors, FPGATrackSimTrackParsI const &nBins, FPGATrackSimTrackPars const &min, FPGATrackSimTrackPars const &max)