3#ifndef EICD_MutableRingImage_H
4#define EICD_MutableRingImage_H
10#include "edm4hep/Vector3f.h"
11#include "podio/ObjectID.h"
14#ifdef PODIO_JSON_OUTPUT
15#include "nlohmann/json.hpp"
60 const float&
getNpe()
const;
129 swap(a.m_obj, b.m_obj);
136#ifdef PODIO_JSON_OUTPUT
137void to_json(nlohmann::json& j,
const MutableRingImage& value);
Definition: MutableRingImage.h:27
edm4hep::Vector3f & position()
Get reference to Global position of the cluster [mm].
Definition: MutableRingImage.cc:68
bool operator==(const MutableRingImage &other) const
Definition: MutableRingImage.h:117
void setTheta(float value)
Set the Opening angle of the ring [rad, 0->pi].
Definition: MutableRingImage.cc:71
const float & getNpe() const
Access the Number of photo-electrons [#].
Definition: MutableRingImage.cc:57
friend class RingImage
Definition: MutableRingImage.h:31
MutableRingImage()
default constructor
Definition: MutableRingImage.cc:16
void setRadius(float value)
Set the Radius of the best fit ring [mm].
Definition: MutableRingImage.cc:73
MutableRingImage clone() const
create a mutable deep-copy of the object with identical relations
Definition: MutableRingImage.cc:46
unsigned int id() const
Definition: MutableRingImage.h:123
edm4hep::Vector3f & positionError()
Get reference to Error on the position.
Definition: MutableRingImage.cc:70
void unlink()
disconnect from RingImageObj instance
Definition: MutableRingImage.h:115
bool operator<(const MutableRingImage &other) const
Definition: MutableRingImage.h:121
void setPositionError(edm4hep::Vector3f value)
Set the Error on the position.
Definition: MutableRingImage.cc:69
void setPosition(edm4hep::Vector3f value)
Set the Global position of the cluster [mm].
Definition: MutableRingImage.cc:67
friend void swap(MutableRingImage &a, MutableRingImage &b)
Definition: MutableRingImage.h:127
const float & getTheta() const
Access the Opening angle of the ring [rad, 0->pi].
Definition: MutableRingImage.cc:60
bool isAvailable() const
check whether the object is actually available
Definition: MutableRingImage.cc:82
const edm4hep::Vector3f & getPositionError() const
Access the Error on the position.
Definition: MutableRingImage.cc:59
void setRadiusError(float value)
Set the Estimated error from the fit [mm].
Definition: MutableRingImage.cc:74
const podio::ObjectID getObjectID() const
Definition: MutableRingImage.cc:89
const float & getThetaError() const
Access the Error on the opening angle.
Definition: MutableRingImage.cc:61
void setThetaError(float value)
Set the Error on the opening angle.
Definition: MutableRingImage.cc:72
const float & getRadius() const
Access the Radius of the best fit ring [mm].
Definition: MutableRingImage.cc:62
const float & getRadiusError() const
Access the Estimated error from the fit [mm].
Definition: MutableRingImage.cc:63
const edm4hep::Vector3f & getPosition() const
Access the Global position of the cluster [mm].
Definition: MutableRingImage.cc:58
void setNpe(float value)
Set the Number of photo-electrons [#].
Definition: MutableRingImage.cc:66
~MutableRingImage()
destructor
Definition: MutableRingImage.cc:50
MutableRingImage & operator=(MutableRingImage other)
copy-assignment operator
Definition: MutableRingImage.cc:35
Definition: RingImageCollection.h:82
Definition: RingImage.h:26
Definition: RingImageCollection.h:57
Definition: RingImageObj.h:17
Definition: CalorimeterHit.cc:13