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

#include <MutableHadronicFinalState.h>

Public Types

using object_type = HadronicFinalState
 
using collection_type = HadronicFinalStateCollection
 

Public Member Functions

 MutableHadronicFinalState ()
 default constructor
 
 MutableHadronicFinalState (float sigma, float pT, float gamma)
 Constructor initializing all members.
 
 MutableHadronicFinalState (const MutableHadronicFinalState &other)=default
 copy constructor
 
MutableHadronicFinalStateoperator= (MutableHadronicFinalState other)
 copy-assignment operator
 
MutableHadronicFinalState clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableHadronicFinalState ()=default
 destructor
 
 operator HadronicFinalState () const
 conversion to const object
 
float getSigma () const
 Access the Longitudinal energy-momentum balance (aka E - pz)
 
float getPT () const
 Access the Transverse momentum.
 
float getGamma () const
 Access the Hadronic angle.
 
void setSigma (float value)
 Set the Longitudinal energy-momentum balance (aka E - pz)
 
void setPT (float value)
 Set the Transverse momentum.
 
void setGamma (float value)
 Set the Hadronic angle.
 
void addToHadrons (edm4eic::ReconstructedParticle)
 
std::size_t hadrons_size () const
 
edm4eic::ReconstructedParticle getHadrons (std::size_t) const
 
std::vector< edm4eic::ReconstructedParticle >::const_iterator hadrons_begin () const
 
std::vector< edm4eic::ReconstructedParticle >::const_iterator hadrons_end () const
 
podio::RelationRange< edm4eic::ReconstructedParticlegetHadrons () const
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from HadronicFinalStateObj instance
 
bool operator== (const MutableHadronicFinalState &other) const
 
bool operator== (const HadronicFinalState &other) const
 
bool operator< (const MutableHadronicFinalState &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class HadronicFinalStateCollection
 
class HadronicFinalStateMutableCollectionIterator
 
class HadronicFinalState
 
void swap (MutableHadronicFinalState &a, MutableHadronicFinalState &b)
 

Detailed Description

Summed quantities of the hadronic final state

Author
: T. Kutz

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableHadronicFinalState() [1/3]

edm4eic::MutableHadronicFinalState::MutableHadronicFinalState ( )

default constructor

◆ MutableHadronicFinalState() [2/3]

edm4eic::MutableHadronicFinalState::MutableHadronicFinalState ( float sigma,
float pT,
float gamma )

Constructor initializing all members.

◆ MutableHadronicFinalState() [3/3]

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

copy constructor

◆ ~MutableHadronicFinalState()

edm4eic::MutableHadronicFinalState::~MutableHadronicFinalState ( )
default

destructor

Member Function Documentation

◆ addToHadrons()

void edm4eic::MutableHadronicFinalState::addToHadrons ( edm4eic::ReconstructedParticle component)

◆ clone()

MutableHadronicFinalState edm4eic::MutableHadronicFinalState::clone ( ) const

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

◆ getGamma()

float edm4eic::MutableHadronicFinalState::getGamma ( ) const

Access the Hadronic angle.

◆ getHadrons() [1/2]

podio::RelationRange< edm4eic::ReconstructedParticle > edm4eic::MutableHadronicFinalState::getHadrons ( ) const

◆ getHadrons() [2/2]

edm4eic::ReconstructedParticle edm4eic::MutableHadronicFinalState::getHadrons ( std::size_t index) const

◆ getObjectID()

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

◆ getPT()

float edm4eic::MutableHadronicFinalState::getPT ( ) const

Access the Transverse momentum.

◆ getSigma()

float edm4eic::MutableHadronicFinalState::getSigma ( ) const

Access the Longitudinal energy-momentum balance (aka E - pz)

◆ hadrons_begin()

std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::MutableHadronicFinalState::hadrons_begin ( ) const

◆ hadrons_end()

std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::MutableHadronicFinalState::hadrons_end ( ) const

◆ hadrons_size()

std::size_t edm4eic::MutableHadronicFinalState::hadrons_size ( ) const

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableHadronicFinalState::isAvailable ( ) const

check whether the object is actually available

◆ operator HadronicFinalState()

edm4eic::MutableHadronicFinalState::operator HadronicFinalState ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableHadronicFinalState::operator== ( const HadronicFinalState & other) const

◆ operator==() [2/2]

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

◆ setGamma()

void edm4eic::MutableHadronicFinalState::setGamma ( float value)

Set the Hadronic angle.

◆ setPT()

void edm4eic::MutableHadronicFinalState::setPT ( float value)

Set the Transverse momentum.

◆ setSigma()

void edm4eic::MutableHadronicFinalState::setSigma ( float value)

Set the Longitudinal energy-momentum balance (aka E - pz)

◆ unlink()

void edm4eic::MutableHadronicFinalState::unlink ( )
inline

disconnect from HadronicFinalStateObj instance

Friends And Related Symbol Documentation

◆ HadronicFinalState

friend class HadronicFinalState
friend

◆ HadronicFinalStateCollection

friend class HadronicFinalStateCollection
friend

◆ HadronicFinalStateMutableCollectionIterator

◆ swap

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

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