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

#include <MutableCherenkovParticleID.h>

Public Types

using object_type = CherenkovParticleID
 
using collection_type = CherenkovParticleIDCollection
 

Public Member Functions

 MutableCherenkovParticleID ()
 default constructor
 
 MutableCherenkovParticleID (float npe, float refractiveIndex, float photonEnergy)
 Constructor initializing all members.
 
 MutableCherenkovParticleID (const MutableCherenkovParticleID &other)=default
 copy constructor
 
MutableCherenkovParticleIDoperator= (MutableCherenkovParticleID other)
 copy-assignment operator
 
MutableCherenkovParticleID clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableCherenkovParticleID ()=default
 destructor
 
 operator CherenkovParticleID () const
 conversion to const object
 
float getNpe () const
 Access the Overall photoelectron count.
 
float getRefractiveIndex () const
 Access the Average refractive index at the Cherenkov photons' vertices.
 
float getPhotonEnergy () const
 Access the Average energy for these Cherenkov photons [GeV].
 
const edm4eic::TrackSegment getChargedParticle () const
 Access the reconstructed charged particle.
 
void setNpe (float value)
 Set the Overall photoelectron count.
 
void setRefractiveIndex (float value)
 Set the Average refractive index at the Cherenkov photons' vertices.
 
void setPhotonEnergy (float value)
 Set the Average energy for these Cherenkov photons [GeV].
 
void setChargedParticle (edm4eic::TrackSegment value)
 Set the reconstructed charged particle.
 
void addToRawHitAssociations (edm4eic::MCRecoTrackerHitAssociation)
 
std::size_t rawHitAssociations_size () const
 
edm4eic::MCRecoTrackerHitAssociation getRawHitAssociations (std::size_t) const
 
std::vector< edm4eic::MCRecoTrackerHitAssociation >::const_iterator rawHitAssociations_begin () const
 
std::vector< edm4eic::MCRecoTrackerHitAssociation >::const_iterator rawHitAssociations_end () const
 
podio::RelationRange< edm4eic::MCRecoTrackerHitAssociationgetRawHitAssociations () const
 
void addToHypotheses (edm4eic::CherenkovParticleIDHypothesis)
 
std::size_t hypotheses_size () const
 
edm4eic::CherenkovParticleIDHypothesis getHypotheses (std::size_t) const
 
std::vector< edm4eic::CherenkovParticleIDHypothesis >::const_iterator hypotheses_begin () const
 
std::vector< edm4eic::CherenkovParticleIDHypothesis >::const_iterator hypotheses_end () const
 
podio::RelationRange< edm4eic::CherenkovParticleIDHypothesisgetHypotheses () const
 
void addToThetaPhiPhotons (edm4hep::Vector2f)
 
std::size_t thetaPhiPhotons_size () const
 
edm4hep::Vector2f getThetaPhiPhotons (std::size_t) const
 
std::vector< edm4hep::Vector2f >::const_iterator thetaPhiPhotons_begin () const
 
std::vector< edm4hep::Vector2f >::const_iterator thetaPhiPhotons_end () const
 
podio::RelationRange< edm4hep::Vector2f > getThetaPhiPhotons () const
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from CherenkovParticleIDObj instance
 
bool operator== (const MutableCherenkovParticleID &other) const
 
bool operator== (const CherenkovParticleID &other) const
 
bool operator< (const MutableCherenkovParticleID &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class CherenkovParticleIDCollection
 
class CherenkovParticleIDMutableCollectionIterator
 
class CherenkovParticleID
 
void swap (MutableCherenkovParticleID &a, MutableCherenkovParticleID &b)
 

Detailed Description

Cherenkov detector PID

Author
: A. Kiselev, C. Chatterjee, C. Dilks

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableCherenkovParticleID() [1/3]

edm4eic::MutableCherenkovParticleID::MutableCherenkovParticleID ( )

default constructor

◆ MutableCherenkovParticleID() [2/3]

edm4eic::MutableCherenkovParticleID::MutableCherenkovParticleID ( float npe,
float refractiveIndex,
float photonEnergy )

Constructor initializing all members.

◆ MutableCherenkovParticleID() [3/3]

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

copy constructor

◆ ~MutableCherenkovParticleID()

edm4eic::MutableCherenkovParticleID::~MutableCherenkovParticleID ( )
default

destructor

Member Function Documentation

◆ addToHypotheses()

void edm4eic::MutableCherenkovParticleID::addToHypotheses ( edm4eic::CherenkovParticleIDHypothesis component)

◆ addToRawHitAssociations()

void edm4eic::MutableCherenkovParticleID::addToRawHitAssociations ( edm4eic::MCRecoTrackerHitAssociation component)

◆ addToThetaPhiPhotons()

void edm4eic::MutableCherenkovParticleID::addToThetaPhiPhotons ( edm4hep::Vector2f component)

◆ clone()

MutableCherenkovParticleID edm4eic::MutableCherenkovParticleID::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getChargedParticle()

const edm4eic::TrackSegment edm4eic::MutableCherenkovParticleID::getChargedParticle ( ) const

Access the reconstructed charged particle.

◆ getHypotheses() [1/2]

podio::RelationRange< edm4eic::CherenkovParticleIDHypothesis > edm4eic::MutableCherenkovParticleID::getHypotheses ( ) const

◆ getHypotheses() [2/2]

edm4eic::CherenkovParticleIDHypothesis edm4eic::MutableCherenkovParticleID::getHypotheses ( std::size_t index) const

◆ getNpe()

float edm4eic::MutableCherenkovParticleID::getNpe ( ) const

Access the Overall photoelectron count.

◆ getObjectID()

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

◆ getPhotonEnergy()

float edm4eic::MutableCherenkovParticleID::getPhotonEnergy ( ) const

Access the Average energy for these Cherenkov photons [GeV].

◆ getRawHitAssociations() [1/2]

podio::RelationRange< edm4eic::MCRecoTrackerHitAssociation > edm4eic::MutableCherenkovParticleID::getRawHitAssociations ( ) const

◆ getRawHitAssociations() [2/2]

edm4eic::MCRecoTrackerHitAssociation edm4eic::MutableCherenkovParticleID::getRawHitAssociations ( std::size_t index) const

◆ getRefractiveIndex()

float edm4eic::MutableCherenkovParticleID::getRefractiveIndex ( ) const

Access the Average refractive index at the Cherenkov photons' vertices.

◆ getThetaPhiPhotons() [1/2]

podio::RelationRange< edm4hep::Vector2f > edm4eic::MutableCherenkovParticleID::getThetaPhiPhotons ( ) const

◆ getThetaPhiPhotons() [2/2]

edm4hep::Vector2f edm4eic::MutableCherenkovParticleID::getThetaPhiPhotons ( std::size_t index) const

◆ hypotheses_begin()

std::vector< edm4eic::CherenkovParticleIDHypothesis >::const_iterator edm4eic::MutableCherenkovParticleID::hypotheses_begin ( ) const

◆ hypotheses_end()

std::vector< edm4eic::CherenkovParticleIDHypothesis >::const_iterator edm4eic::MutableCherenkovParticleID::hypotheses_end ( ) const

◆ hypotheses_size()

std::size_t edm4eic::MutableCherenkovParticleID::hypotheses_size ( ) const

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableCherenkovParticleID::isAvailable ( ) const

check whether the object is actually available

◆ operator CherenkovParticleID()

edm4eic::MutableCherenkovParticleID::operator CherenkovParticleID ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableCherenkovParticleID::operator== ( const CherenkovParticleID & other) const

◆ operator==() [2/2]

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

◆ rawHitAssociations_begin()

std::vector< edm4eic::MCRecoTrackerHitAssociation >::const_iterator edm4eic::MutableCherenkovParticleID::rawHitAssociations_begin ( ) const

◆ rawHitAssociations_end()

std::vector< edm4eic::MCRecoTrackerHitAssociation >::const_iterator edm4eic::MutableCherenkovParticleID::rawHitAssociations_end ( ) const

◆ rawHitAssociations_size()

std::size_t edm4eic::MutableCherenkovParticleID::rawHitAssociations_size ( ) const

◆ setChargedParticle()

void edm4eic::MutableCherenkovParticleID::setChargedParticle ( edm4eic::TrackSegment value)

Set the reconstructed charged particle.

◆ setNpe()

void edm4eic::MutableCherenkovParticleID::setNpe ( float value)

Set the Overall photoelectron count.

◆ setPhotonEnergy()

void edm4eic::MutableCherenkovParticleID::setPhotonEnergy ( float value)

Set the Average energy for these Cherenkov photons [GeV].

◆ setRefractiveIndex()

void edm4eic::MutableCherenkovParticleID::setRefractiveIndex ( float value)

Set the Average refractive index at the Cherenkov photons' vertices.

◆ thetaPhiPhotons_begin()

std::vector< edm4hep::Vector2f >::const_iterator edm4eic::MutableCherenkovParticleID::thetaPhiPhotons_begin ( ) const

◆ thetaPhiPhotons_end()

std::vector< edm4hep::Vector2f >::const_iterator edm4eic::MutableCherenkovParticleID::thetaPhiPhotons_end ( ) const

◆ thetaPhiPhotons_size()

std::size_t edm4eic::MutableCherenkovParticleID::thetaPhiPhotons_size ( ) const

◆ unlink()

void edm4eic::MutableCherenkovParticleID::unlink ( )
inline

disconnect from CherenkovParticleIDObj instance

Friends And Related Symbol Documentation

◆ CherenkovParticleID

friend class CherenkovParticleID
friend

◆ CherenkovParticleIDCollection

friend class CherenkovParticleIDCollection
friend

◆ CherenkovParticleIDMutableCollectionIterator

◆ swap


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