5#ifndef ISF_FASTCALOSIMEVENT_ISF_FCS_STEPINFO_H
6#define ISF_FASTCALOSIMEVENT_ISF_FCS_STEPINFO_H
14#include "CLHEP/Vector/ThreeVector.h"
52 double l_time,
bool l_valid,
int l_detector)
61 inline void setP(
const CLHEP::Hep3Vector &p) {
m_pos = p; }
81 inline double x()
const {
return m_pos.x(); }
83 inline double y()
const {
return m_pos.y(); }
85 inline double z()
const {
return m_pos.z(); }
MLogging(const std::string &name="ISF_FastCaloSimEvent")
Constructor.
CLHEP::Hep3Vector position() const
return spacial position
FCS_StepInfo & operator+=(const FCS_StepInfo &other)
energy weighted sum
int m_detector
dictionary value in which detector the hit is
void setP(const CLHEP::Hep3Vector &p)
set position
FCS_StepInfo()
empty default constructor
double z() const
return z position
double y() const
return y position
double diff2(const FCS_StepInfo &other) const
return spactial distance squared
void setX(const double x)
set x position
FCS_StepInfo(CLHEP::Hep3Vector l_vec, Identifier l_cell, double l_energy, double l_time, bool l_valid, int l_detector)
double x() const
return x position
CLHEP::Hep3Vector m_pos
spatial position
void setDetector(const int det)
set identifier
void setZ(const double z)
set z position
bool m_valid
flag, if hit is valid (if valid calculator?)
void setValid(const bool flag)
set depoisted energy
bool valid() const
return deposited energy
void setY(const double y)
set y position
TileHit()
Default constructor needed for POOL.