CaloHit

Contents of events/CaloHit

namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

class CaloHit : public Gaugi::EDM

Public Functions

inline CaloHit()
CaloHit(float eta, float phi, float deta, float dphi, unsigned long int hash, CaloSampling sampling, Detector detector, float bc_duration, int bcid_start, int bcid_end)

Contructor

~CaloHit() = default

Destructor

void fill(const G4Step*)

Fill the deposit energy into the Hit

void fill(const G4Step*, float sampNoiseStd)
void clear()

Zeroize the pulse/sample vectors

PRIMITIVE_SETTER_AND_GETTER(float, m_eta, setEta, eta)

Hit eta center

PRIMITIVE_SETTER_AND_GETTER(float, m_phi, setPhi, phi)

Hit phi center

PRIMITIVE_SETTER_AND_GETTER(float, m_deta, setDeltaEta, deltaEta)

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(CaloSampling, m_sampling, setSampling, sampling)

Hit sampling id

PRIMITIVE_SETTER_AND_GETTER(Detector, 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)
inline float tof(int bc_id = 0) const

Time of flight from simulated hits

inline void tof(int bc_id, float t)
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

CaloSampling m_sampling

id sample

Detector m_detector

id layer

float m_eta

eta center

float m_phi

phi center

float m_deta

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

std::map<int, float> m_tof

time of flight of a particle between bcid_start and bcid_end

bool m_firstHit = false
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::CaloHit> CaloHitCollection
namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

Typedefs

typedef SG::DataVector<xAOD::CaloHit> CaloHitContainer
namespace xAOD

simulator includes

simulator includes geant 4 includes standard includes

simulator libs geant 4 libs standard libs

struct CaloHit_t

Public Members

int sampling
int detector
float eta
float phi
float deta
float dphi
int bcid_start
int bcid_end
float bc_duration
std::vector<float> edep
std::vector<float> tof
unsigned long int hash
class CaloHitConverter

Public Functions

CaloHitConverter() = default
~CaloHitConverter() = default
bool convert(const CaloHit*, CaloHit_t&)
bool convert(const CaloHit_t&, CaloHit*&)

Warning

doxygenfile: Found multiple matches for file “LinkDef.h