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

#include <MutableIrtParticle.h>

Public Types

using object_type = IrtParticle
 
using collection_type = IrtParticleCollection
 

Public Member Functions

 MutableIrtParticle ()=default
 default constructor
 
 MutableIrtParticle (const std::int32_t PDG, const std::uint16_t npe, const std::uint16_t nhits)
 Constructor initializing all members.
 
 MutableIrtParticle (const MutableIrtParticle &other)=default
 copy constructor
 
MutableIrtParticleoperator= (MutableIrtParticle other) &
 copy-assignment operator
 
MutableIrtParticleoperator= (MutableIrtParticle other) &&=delete
 
MutableIrtParticle clone (bool cloneRelations=true) const
 
 ~MutableIrtParticle ()=default
 destructor
 
std::int32_t getPDG () const
 Access the Reconstructed most probable PDG code.
 
std::uint16_t getNpe () const
 Access the Detected photoelectron count.
 
std::uint16_t getNhits () const
 Access the Hit count associated with this particle by IRT engine.
 
const edm4eic::Track getTrack () const
 Access the charged particle track.
 
void setPDG (const std::int32_t PDG)
 Set the Reconstructed most probable PDG code.
 
std::int32_t & getPDG ()
 Get mutable reference to Reconstructed most probable PDG code.
 
std::int32_t & PDG ()
 Get reference to Reconstructed most probable PDG code.
 
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 particle by IRT engine.
 
std::uint16_t & getNhits ()
 Get mutable reference to Hit count associated with this particle by IRT engine.
 
std::uint16_t & nhits ()
 Get reference to Hit count associated with this particle by IRT engine.
 
void setTrack (const edm4eic::Track &value)
 Set the charged particle track.
 
void addToRadiators (const edm4eic::IrtRadiatorInfo &)
 
std::size_t radiators_size () const
 
edm4eic::IrtRadiatorInfo getRadiators (std::size_t) const
 
std::vector< edm4eic::IrtRadiatorInfo >::const_iterator radiators_begin () const
 
std::vector< edm4eic::IrtRadiatorInfo >::const_iterator radiators_end () const
 
podio::RelationRange< edm4eic::IrtRadiatorInfogetRadiators () const
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from IrtParticleObj instance
 
bool operator== (const MutableIrtParticle &other) const
 
bool operator== (const IrtParticle &other) const
 
bool operator!= (const MutableIrtParticle &other) const
 
bool operator!= (const IrtParticle &other) const
 
bool operator< (const MutableIrtParticle &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class IrtParticleCollection
 
class IrtParticleMutableCollectionIterator
 
class IrtParticle
 
void swap (MutableIrtParticle &a, MutableIrtParticle &b)
 

Detailed Description

IRT 2.1 output (track level)

Author
: A. Kiselev

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableIrtParticle() [1/3]

edm4eic::MutableIrtParticle::MutableIrtParticle ( )
default

default constructor

◆ MutableIrtParticle() [2/3]

edm4eic::MutableIrtParticle::MutableIrtParticle ( const std::int32_t PDG,
const std::uint16_t npe,
const std::uint16_t nhits )

Constructor initializing all members.

◆ MutableIrtParticle() [3/3]

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

copy constructor

◆ ~MutableIrtParticle()

edm4eic::MutableIrtParticle::~MutableIrtParticle ( )
default

destructor

Member Function Documentation

◆ addToRadiators()

void edm4eic::MutableIrtParticle::addToRadiators ( const edm4eic::IrtRadiatorInfo & component)

◆ clone()

MutableIrtParticle edm4eic::MutableIrtParticle::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

◆ getNhits() [1/2]

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

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

◆ getNhits() [2/2]

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

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

◆ getNpe() [1/2]

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

Get mutable reference to Detected photoelectron count.

◆ getNpe() [2/2]

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

Access the Detected photoelectron count.

◆ getObjectID()

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

◆ getPDG() [1/2]

std::int32_t & edm4eic::MutableIrtParticle::getPDG ( )

Get mutable reference to Reconstructed most probable PDG code.

◆ getPDG() [2/2]

std::int32_t edm4eic::MutableIrtParticle::getPDG ( ) const

Access the Reconstructed most probable PDG code.

◆ getRadiators() [1/2]

podio::RelationRange< edm4eic::IrtRadiatorInfo > edm4eic::MutableIrtParticle::getRadiators ( ) const

◆ getRadiators() [2/2]

edm4eic::IrtRadiatorInfo edm4eic::MutableIrtParticle::getRadiators ( std::size_t index) const

◆ getTrack()

const edm4eic::Track edm4eic::MutableIrtParticle::getTrack ( ) const

Access the charged particle track.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableIrtParticle::isAvailable ( ) const

check whether the object is actually available

◆ nhits()

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

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

◆ npe()

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

Get reference to Detected photoelectron count.

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

bool edm4eic::MutableIrtParticle::operator== ( const IrtParticle & other) const

◆ operator==() [2/2]

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

◆ PDG()

std::int32_t & edm4eic::MutableIrtParticle::PDG ( )

Get reference to Reconstructed most probable PDG code.

◆ radiators_begin()

std::vector< edm4eic::IrtRadiatorInfo >::const_iterator edm4eic::MutableIrtParticle::radiators_begin ( ) const

◆ radiators_end()

std::vector< edm4eic::IrtRadiatorInfo >::const_iterator edm4eic::MutableIrtParticle::radiators_end ( ) const

◆ radiators_size()

std::size_t edm4eic::MutableIrtParticle::radiators_size ( ) const

◆ setNhits()

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

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

◆ setNpe()

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

Set the Detected photoelectron count.

◆ setPDG()

void edm4eic::MutableIrtParticle::setPDG ( const std::int32_t PDG)

Set the Reconstructed most probable PDG code.

◆ setTrack()

void edm4eic::MutableIrtParticle::setTrack ( const edm4eic::Track & value)

Set the charged particle track.

◆ unlink()

void edm4eic::MutableIrtParticle::unlink ( )
inline

disconnect from IrtParticleObj instance

Friends And Related Symbol Documentation

◆ IrtParticle

friend class IrtParticle
friend

◆ IrtParticleCollection

friend class IrtParticleCollection
friend

◆ IrtParticleMutableCollectionIterator

◆ swap

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

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