EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MutableIrtRadiatorInfo Class Reference

#include <MutableIrtRadiatorInfo.h>

Public Types

using object_type = IrtRadiatorInfo
 
using collection_type = IrtRadiatorInfoCollection
 

Public Member Functions

 MutableIrtRadiatorInfo ()=default
 default constructor
 
 MutableIrtRadiatorInfo (const std::uint16_t npe, const std::uint16_t nhits, const float angle)
 Constructor initializing all members.
 
 MutableIrtRadiatorInfo (const MutableIrtRadiatorInfo &other)=default
 copy constructor
 
MutableIrtRadiatorInfooperator= (MutableIrtRadiatorInfo other) &
 copy-assignment operator
 
MutableIrtRadiatorInfooperator= (MutableIrtRadiatorInfo other) &&=delete
 
MutableIrtRadiatorInfo clone (bool cloneRelations=true) const
 
 ~MutableIrtRadiatorInfo ()=default
 destructor
 
std::uint16_t getNpe () const
 Access the Detected photoelectron count.
 
std::uint16_t getNhits () const
 Access the Hit count associated with this radiator by IRT engine.
 
float getAngle () const
 Access the Reconstructed Cherenkov angle.
 
void setNpe (const std::uint16_t npe)
 Set the Detected photoelectron count.
 
std::uint16_t & getNpe ()
 Get mutable reference to Detected photoelectron count.
 
std::uint16_t & npe ()
 Get reference to Detected photoelectron count.
 
void setNhits (const std::uint16_t nhits)
 Set the Hit count associated with this radiator by IRT engine.
 
std::uint16_t & getNhits ()
 Get mutable reference to Hit count associated with this radiator by IRT engine.
 
std::uint16_t & nhits ()
 Get reference to Hit count associated with this radiator by IRT engine.
 
void setAngle (const float angle)
 Set the Reconstructed Cherenkov angle.
 
float & getAngle ()
 Get mutable reference to Reconstructed Cherenkov angle.
 
float & angle ()
 Get reference to Reconstructed Cherenkov angle.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from IrtRadiatorInfoObj instance
 
bool operator== (const MutableIrtRadiatorInfo &other) const
 
bool operator== (const IrtRadiatorInfo &other) const
 
bool operator!= (const MutableIrtRadiatorInfo &other) const
 
bool operator!= (const IrtRadiatorInfo &other) const
 
bool operator< (const MutableIrtRadiatorInfo &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class IrtRadiatorInfoCollection
 
class IrtRadiatorInfoMutableCollectionIterator
 
class IrtRadiatorInfo
 
void swap (MutableIrtRadiatorInfo &a, MutableIrtRadiatorInfo &b)
 

Detailed Description

IRT 2.1 output (radiator level)

Author
: A. Kiselev

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableIrtRadiatorInfo() [1/3]

edm4eic::MutableIrtRadiatorInfo::MutableIrtRadiatorInfo ( )
default

default constructor

◆ MutableIrtRadiatorInfo() [2/3]

edm4eic::MutableIrtRadiatorInfo::MutableIrtRadiatorInfo ( const std::uint16_t npe,
const std::uint16_t nhits,
const float angle )

Constructor initializing all members.

◆ MutableIrtRadiatorInfo() [3/3]

edm4eic::MutableIrtRadiatorInfo::MutableIrtRadiatorInfo ( const MutableIrtRadiatorInfo & other)
default

copy constructor

◆ ~MutableIrtRadiatorInfo()

edm4eic::MutableIrtRadiatorInfo::~MutableIrtRadiatorInfo ( )
default

destructor

Member Function Documentation

◆ angle()

float & edm4eic::MutableIrtRadiatorInfo::angle ( )

Get reference to Reconstructed Cherenkov angle.

◆ clone()

MutableIrtRadiatorInfo edm4eic::MutableIrtRadiatorInfo::clone ( bool cloneRelations = true) const

create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty

◆ getAngle() [1/2]

float & edm4eic::MutableIrtRadiatorInfo::getAngle ( )

Get mutable reference to Reconstructed Cherenkov angle.

◆ getAngle() [2/2]

float edm4eic::MutableIrtRadiatorInfo::getAngle ( ) const

Access the Reconstructed Cherenkov angle.

◆ getNhits() [1/2]

std::uint16_t & edm4eic::MutableIrtRadiatorInfo::getNhits ( )

Get mutable reference to Hit count associated with this radiator by IRT engine.

◆ getNhits() [2/2]

std::uint16_t edm4eic::MutableIrtRadiatorInfo::getNhits ( ) const

Access the Hit count associated with this radiator by IRT engine.

◆ getNpe() [1/2]

std::uint16_t & edm4eic::MutableIrtRadiatorInfo::getNpe ( )

Get mutable reference to Detected photoelectron count.

◆ getNpe() [2/2]

std::uint16_t edm4eic::MutableIrtRadiatorInfo::getNpe ( ) const

Access the Detected photoelectron count.

◆ getObjectID()

const podio::ObjectID edm4eic::MutableIrtRadiatorInfo::getObjectID ( ) const

◆ id()

podio::ObjectID edm4eic::MutableIrtRadiatorInfo::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MutableIrtRadiatorInfo::isAvailable ( ) const

check whether the object is actually available

◆ nhits()

std::uint16_t & edm4eic::MutableIrtRadiatorInfo::nhits ( )

Get reference to Hit count associated with this radiator by IRT engine.

◆ npe()

std::uint16_t & edm4eic::MutableIrtRadiatorInfo::npe ( )

Get reference to Detected photoelectron count.

◆ operator!=() [1/2]

bool edm4eic::MutableIrtRadiatorInfo::operator!= ( const IrtRadiatorInfo & other) const
inline

◆ operator!=() [2/2]

bool edm4eic::MutableIrtRadiatorInfo::operator!= ( const MutableIrtRadiatorInfo & other) const
inline

◆ operator<()

bool edm4eic::MutableIrtRadiatorInfo::operator< ( const MutableIrtRadiatorInfo & other) const
inline

◆ operator=() [1/2]

MutableIrtRadiatorInfo & edm4eic::MutableIrtRadiatorInfo::operator= ( MutableIrtRadiatorInfo other) &

copy-assignment operator

◆ operator=() [2/2]

MutableIrtRadiatorInfo & edm4eic::MutableIrtRadiatorInfo::operator= ( MutableIrtRadiatorInfo other) &&
delete

◆ operator==() [1/2]

bool edm4eic::MutableIrtRadiatorInfo::operator== ( const IrtRadiatorInfo & other) const

◆ operator==() [2/2]

bool edm4eic::MutableIrtRadiatorInfo::operator== ( const MutableIrtRadiatorInfo & other) const
inline

◆ setAngle()

void edm4eic::MutableIrtRadiatorInfo::setAngle ( const float angle)

Set the Reconstructed Cherenkov angle.

◆ setNhits()

void edm4eic::MutableIrtRadiatorInfo::setNhits ( const std::uint16_t nhits)

Set the Hit count associated with this radiator by IRT engine.

◆ setNpe()

void edm4eic::MutableIrtRadiatorInfo::setNpe ( const std::uint16_t npe)

Set the Detected photoelectron count.

◆ unlink()

void edm4eic::MutableIrtRadiatorInfo::unlink ( )
inline

disconnect from IrtRadiatorInfoObj instance

Friends And Related Symbol Documentation

◆ IrtRadiatorInfo

friend class IrtRadiatorInfo
friend

◆ IrtRadiatorInfoCollection

friend class IrtRadiatorInfoCollection
friend

◆ IrtRadiatorInfoMutableCollectionIterator

◆ swap

void swap ( MutableIrtRadiatorInfo & a,
MutableIrtRadiatorInfo & b )
friend

The documentation for this class was generated from the following files: