3#ifndef EDM4EIC_MutableRawTrackerHit_H
4#define EDM4EIC_MutableRawTrackerHit_H
12#include "podio/utilities/MaybeSharedPtr.h"
17#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
18#include "nlohmann/json_fwd.hpp"
92 void unlink() { m_obj = podio::utils::MaybeSharedPtr<RawTrackerHitObj>{
nullptr}; }
106 swap(a.m_obj, b.m_obj);
113 podio::utils::MaybeSharedPtr<RawTrackerHitObj> m_obj{
nullptr};
116#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
117void to_json(nlohmann::json& j,
const MutableRawTrackerHit& value);
Definition MutableRawTrackerHit.h:30
bool operator==(const MutableRawTrackerHit &other) const
Definition MutableRawTrackerHit.h:94
~MutableRawTrackerHit()=default
destructor
void setTimeStamp(std::int32_t value)
Set the TDC value.
Definition MutableRawTrackerHit.cc:50
void unlink()
disconnect from RawTrackerHitObj instance
Definition MutableRawTrackerHit.h:92
std::int32_t getTimeStamp() const
Access the TDC value.
Definition MutableRawTrackerHit.cc:45
MutableRawTrackerHit & operator=(MutableRawTrackerHit other)
copy-assignment operator
Definition MutableRawTrackerHit.cc:31
friend void swap(MutableRawTrackerHit &a, MutableRawTrackerHit &b)
Definition MutableRawTrackerHit.h:104
bool isAvailable() const
check whether the object is actually available
Definition MutableRawTrackerHit.cc:58
std::uint64_t getCellID() const
Access the The detector specific (geometrical) cell id.
Definition MutableRawTrackerHit.cc:43
MutableRawTrackerHit clone() const
create a mutable deep-copy of the object with identical relations
Definition MutableRawTrackerHit.cc:36
void setCellID(std::uint64_t value)
Set the The detector specific (geometrical) cell id.
Definition MutableRawTrackerHit.cc:48
bool operator<(const MutableRawTrackerHit &other) const
Definition MutableRawTrackerHit.h:98
const podio::ObjectID getObjectID() const
Definition MutableRawTrackerHit.cc:65
void setCharge(std::int32_t value)
Set the ADC value.
Definition MutableRawTrackerHit.cc:49
MutableRawTrackerHit(const MutableRawTrackerHit &other)=default
copy constructor
friend class RawTrackerHitCollection
Definition MutableRawTrackerHit.h:32
MutableRawTrackerHit()
default constructor
Definition MutableRawTrackerHit.cc:21
podio::ObjectID id() const
Definition MutableRawTrackerHit.h:100
std::int32_t getCharge() const
Access the ADC value.
Definition MutableRawTrackerHit.cc:44
friend class RawTrackerHit
Definition MutableRawTrackerHit.h:34
Definition RawTrackerHitCollection.h:95
Definition RawTrackerHit.h:31
Definition RawTrackerHitCollection.h:66
Definition CalorimeterHit.cc:18