SpacePoint

Contents of events/SpacePoint

Warning

doxygenfile: Found multiple matches for file “LinkDef.h

namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

class SpacePoint : public Gaugi::EDM

Public Functions

inline SpacePoint()
SpacePoint(float x, float y, float z, float phi, float dz, float dphi, unsigned long int hash, InnerSampling sampling, InnerDetector detector, float bc_duration, int bcid_start, int bcid_end)

Contructor

~SpacePoint() = default

Destructor

void fill(const G4Step*)

Fill the deposit energy into the Hit

void clear()

Zeroize the pulse/sample vectors

PRIMITIVE_SETTER_AND_GETTER(float, m_x, setX, x)

Hit eta center

PRIMITIVE_SETTER_AND_GETTER(float, m_y, setY, y)
PRIMITIVE_SETTER_AND_GETTER(float, m_z, setZ, z)
PRIMITIVE_SETTER_AND_GETTER(float, m_phi, setPhi, phi)

Hit phi center

PRIMITIVE_SETTER_AND_GETTER(float, m_dz, setDeltaZ, deltaZ)

Hit delta eta

PRIMITIVE_SETTER_AND_GETTER(float, m_dphi, setDeltaPhi, deltaPhi)

Hit delta phi

PRIMITIVE_SETTER_AND_GETTER(unsigned long int, m_hash, setHash, hash)

Hit hash

PRIMITIVE_SETTER_AND_GETTER(InnerSampling, m_sampling, setSampling, sampling)

Hit sampling id

PRIMITIVE_SETTER_AND_GETTER(InnerDetector, m_detector, setDetector, detector)

Hit layer id

inline float edep(int bc_id = 0) const

Energy deposity from simulated hits

inline void edep(int bc_id, float e)
PRIMITIVE_SETTER_AND_GETTER(int, m_bcid_start, set_bcid_start, bcid_start)

Bunch crossing id start

PRIMITIVE_SETTER_AND_GETTER(int, m_bcid_end, set_bcid_end, bcid_end)

Bunch crossing id end

PRIMITIVE_SETTER_AND_GETTER(float, m_bc_duration, set_bc_duration, bc_duration)
PRIMITIVE_SETTER_AND_GETTER(std::vector<float>, m_time, setTime, time)

Time (in ns) for each bunch crossing

Private Functions

int find(float value) const

Private Members

InnerSampling m_sampling

id sample

InnerDetector m_detector

id layer

float m_x

space point position

float m_y
float m_z
float m_phi
float m_dz

delta eta

float m_dphi

delta phi

int m_bcid_start

bunch crossing start id

int m_bcid_end

bunch crossing end id

float m_bc_duration

bunch crossing space in ns between two bunchs

std::vector<float> m_time

time (in ns) for each bunch between bcid_start and bcid_end

std::map<int, float> m_edep

energy deposit between bcid_start and bcid_end

unsigned long int m_hash

Access information unique ID number

namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

Typedefs

typedef SG::Collection<xAOD::SpacePoint> SpacePointCollection
namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

Typedefs

typedef SG::DataVector<xAOD::SpacePoint> SpacePointContainer
namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

struct SpacePoint_t

Public Members

int sampling
int detector
float x
float y
float z
float phi
float dz
float dphi
int bcid_start
int bcid_end
float bc_duration
std::vector<float> edep
unsigned long int hash
class SpacePointConverter

Public Functions

SpacePointConverter() = default
~SpacePointConverter() = default
bool convert(const SpacePoint*, SpacePoint_t&)
bool convert(const SpacePoint_t&, SpacePoint*&)

Warning

doxygenfile: Found multiple matches for file “enumeration.h