16 #ifndef FALAISE_SNEMO_DATAMODELS_CALIBRATED_CALORIMETER_HIT_H 17 #define FALAISE_SNEMO_DATAMODELS_CALIBRATED_CALORIMETER_HIT_H 1 21 #if defined(__clang__) 22 #pragma clang diagnostic push 23 #pragma clang diagnostic ignored "-Wunused-local-typedefs" 26 #pragma GCC diagnostic push 27 #pragma GCC diagnostic ignored "-Wunused" 31 #pragma GCC diagnostic pop 33 #if defined(__clang__) 34 #pragma clang diagnostic pop 90 virtual void tree_dump(std::ostream& a_out = std::clog,
const std::string& a_title =
"",
91 const std::string& a_indent =
"",
bool a_inherit =
false)
const;
98 double _sigma_energy_;
109 #endif // FALAISE_SNEMO_DATAMODELS_CALIBRATED_CALORIMETER_HIT_H
double get_energy() const
Return the energy associated to the hit.
bool is_valid() const
Check if the internal data of the hit are valid.
void set_sigma_time(double)
Set the error on the time associated to the hit.
datatools::handle< calibrated_calorimeter_hit > handle_type
Handle of calibrated calorimeter hit.
Definition: calibrated_calorimeter_hit.h:48
void set_time(double)
Set the time associated to the hit.
Model of a calibrated calorimeter hit.
Definition: calibrated_calorimeter_hit.h:45
virtual ~calibrated_calorimeter_hit()
Destructor.
#define DATATOOLS_SERIALIZATION_DECLARATION()
double get_sigma_time() const
Return the error on the time associated to the hit.
double get_sigma_energy() const
Return the error on the energy associated to the hit.
void invalidate()
Invalidate the internal data of hit.
double get_time() const
Return the time associated to the hit.
virtual void tree_dump(std::ostream &a_out=std::clog, const std::string &a_title="", const std::string &a_indent="", bool a_inherit=false) const
Smart print.
Definition: calo_tapered_scin_box_model.h:54
calibrated_calorimeter_hit()
Constructor.
void dump() const
Basic print.
void set_sigma_energy(double)
Set the error on the energy associated to the hit.
void set_energy(double)
Set the energy associated to the hit.
std::vector< handle_type > collection_type
Collection of handles of calibrated calorimeter hit.
Definition: calibrated_calorimeter_hit.h:51