3#ifndef EICD_MutableRawCalorimeterHit_H
4#define EICD_MutableRawCalorimeterHit_H
11#include "podio/ObjectID.h"
14#ifdef PODIO_JSON_OUTPUT
15#include "nlohmann/json.hpp"
101 swap(a.m_obj, b.m_obj);
108#ifdef PODIO_JSON_OUTPUT
109void to_json(nlohmann::json& j,
const MutableRawCalorimeterHit& value);
Definition: MutableRawCalorimeterHit.h:27
~MutableRawCalorimeterHit()
destructor
Definition: MutableRawCalorimeterHit.cc:46
void setTimeStamp(std::uint64_t value)
Set the Timing in TDC.
Definition: MutableRawCalorimeterHit.cc:60
MutableRawCalorimeterHit & operator=(MutableRawCalorimeterHit other)
copy-assignment operator
Definition: MutableRawCalorimeterHit.cc:31
MutableRawCalorimeterHit()
default constructor
Definition: MutableRawCalorimeterHit.cc:16
MutableRawCalorimeterHit clone() const
create a mutable deep-copy of the object with identical relations
Definition: MutableRawCalorimeterHit.cc:42
void setAmplitude(std::uint64_t value)
Set the The magnitude of the hit in ADC counts.
Definition: MutableRawCalorimeterHit.cc:59
friend class RawCalorimeterHit
Definition: MutableRawCalorimeterHit.h:31
bool isAvailable() const
check whether the object is actually available
Definition: MutableRawCalorimeterHit.cc:68
bool operator<(const MutableRawCalorimeterHit &other) const
Definition: MutableRawCalorimeterHit.h:93
friend void swap(MutableRawCalorimeterHit &a, MutableRawCalorimeterHit &b)
Definition: MutableRawCalorimeterHit.h:99
void setCellID(std::uint64_t value)
Set the The detector specific (geometrical) cell id.
Definition: MutableRawCalorimeterHit.cc:58
void unlink()
disconnect from RawCalorimeterHitObj instance
Definition: MutableRawCalorimeterHit.h:87
const std::uint64_t & getAmplitude() const
Access the The magnitude of the hit in ADC counts.
Definition: MutableRawCalorimeterHit.cc:54
const std::uint64_t & getCellID() const
Access the The detector specific (geometrical) cell id.
Definition: MutableRawCalorimeterHit.cc:53
bool operator==(const MutableRawCalorimeterHit &other) const
Definition: MutableRawCalorimeterHit.h:89
const std::uint64_t & getTimeStamp() const
Access the Timing in TDC.
Definition: MutableRawCalorimeterHit.cc:55
unsigned int id() const
Definition: MutableRawCalorimeterHit.h:95
const podio::ObjectID getObjectID() const
Definition: MutableRawCalorimeterHit.cc:75
Definition: RawCalorimeterHitCollection.h:82
Definition: RawCalorimeterHit.h:26
Definition: RawCalorimeterHitCollection.h:57
Definition: RawCalorimeterHitObj.h:17
Definition: CalorimeterHit.cc:13