Class Acts::RoiDescriptor

class RoiDescriptor

Public Types

using roi_iterator = std::vector<const RoiDescriptor*>::const_iterator

Public Functions

RoiDescriptor(const RoiDescriptor &roi)
RoiDescriptor(double eta, double etaMinus, double etaPlus, double phi, double phiMinus, double phiPlus, double zed = 0, double zedMinus = -s_zedWidthDefault, double zedPlus = s_zedWidthDefault)

constructor

Parameters
  • eta – eta of RoI

  • etaMinus – eta at rear of RoI

  • etaPlus – eta at front of RoI

  • phi – phi of RoI

  • phiMinus – minimum phi of RoI

  • phiPlus – maximum phi of RoI

  • zed – zed of RoI

  • zedMinus – zed at rear of RoI

  • zedPlus – zed at front of RoI

~RoiDescriptor()
inline const RoiDescriptor *at(int i) const

find an RoiDescriptor constituent

inline roi_iterator begin() const

iterators

inline void clear()

clear the vector

inline bool composite() const

SuperRoI compatibility methods.

am I a SuperRoi?

inline double drdzMinus() const

dr/dz at the rear of the RoI

inline double drdzPlus() const

dr/dz at the front of the RoI

inline double dzdrMinus() const

return the gradients

dz/dr at the rear of the RoI

inline double dzdrPlus() const

dz/dr at the front of the RoI

inline roi_iterator end() const
inline double eta() const
inline double etaMinus() const

gets eta at zMinus

inline double etaPlus() const

gets eta at zedPlus

inline bool isFullscan() const

output

is this a full scan RoI?

inline unsigned int l1Id() const
inline bool manageConstituents() const

always manage constituents ???

inline void manageConstituents(bool b)
RoiDescriptor &operator=(const RoiDescriptor &r)
inline double phi() const
inline double phiMinus() const

gets phiMinus

inline double phiPlus() const

gets phiPlus

inline void push_back(const RoiDescriptor *roi)

add a RoiDescriptor

inline void reserve(size_t s)

reserve elements in vector

double rhoMax(double z) const
double rhoMin(double z) const
inline unsigned int roiId() const
inline unsigned int roiWord() const
inline void setComposite(bool b = true)
inline unsigned size() const

number of constituents

inline int version() const

versioning

inline void version(int v)
inline double zed() const
double zedMax(double r) const
double zedMin(double r) const

methods to calculate z position at the RoI boundary at a given radius

inline double zedMinus() const

z at the most backward end of the RoI

inline double zedOuterMinus() const

z at the most backward end of the RoI

inline double zedOuterPlus() const

z at the most forward end of the RoI

inline double zedPlus() const

these quantities probably don’t need to be used any more

  • they are implemented here only because we had them in the original legacy interface z at the most forward end of the RoI

Public Static Functions

static inline double zedWidthDefault()
static void zedWidthDefault(double d)

set default z-width (but only before any RoiDescriptor has been created)

Public Static Attributes

static constexpr bool FULLSCAN = true

convenient

static constexpr bool ROI = false