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

#include <HadronicFinalState.h>

Public Types

using mutable_type = MutableHadronicFinalState
 
using collection_type = HadronicFinalStateCollection
 

Public Member Functions

 HadronicFinalState ()
 default constructor
 
 HadronicFinalState (float sigma, float pT, float gamma)
 Constructor initializing all members.
 
 HadronicFinalState (const HadronicFinalState &other)=default
 copy constructor
 
HadronicFinalStateoperator= (HadronicFinalState other)
 copy-assignment operator
 
MutableHadronicFinalState clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~HadronicFinalState ()=default
 destructor
 
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.
 
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 HadronicFinalState &other) const
 
bool operator== (const MutableHadronicFinalState &other) const
 
bool operator< (const HadronicFinalState &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Static Public Member Functions

static HadronicFinalState makeEmpty ()
 

Friends

class MutableHadronicFinalState
 
class HadronicFinalStateCollection
 
class edm4eic::HadronicFinalStateCollectionData
 
class HadronicFinalStateCollectionIterator
 
void swap (HadronicFinalState &a, HadronicFinalState &b)
 

Detailed Description

Summed quantities of the hadronic final state

Author
: T. Kutz

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ HadronicFinalState() [1/3]

edm4eic::HadronicFinalState::HadronicFinalState ( )

default constructor

◆ HadronicFinalState() [2/3]

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

Constructor initializing all members.

◆ HadronicFinalState() [3/3]

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

copy constructor

◆ ~HadronicFinalState()

edm4eic::HadronicFinalState::~HadronicFinalState ( )
default

destructor

Member Function Documentation

◆ clone()

MutableHadronicFinalState edm4eic::HadronicFinalState::clone ( ) const

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

◆ getGamma()

float edm4eic::HadronicFinalState::getGamma ( ) const

Access the Hadronic angle.

◆ getHadrons() [1/2]

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

◆ getHadrons() [2/2]

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

◆ getObjectID()

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

◆ getPT()

float edm4eic::HadronicFinalState::getPT ( ) const

Access the Transverse momentum.

◆ getSigma()

float edm4eic::HadronicFinalState::getSigma ( ) const

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

◆ hadrons_begin()

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

◆ hadrons_end()

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

◆ hadrons_size()

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

◆ id()

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

◆ isAvailable()

bool edm4eic::HadronicFinalState::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

HadronicFinalState edm4eic::HadronicFinalState::makeEmpty ( )
static

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void edm4eic::HadronicFinalState::unlink ( )
inline

disconnect from HadronicFinalStateObj instance

Friends And Related Symbol Documentation

◆ edm4eic::HadronicFinalStateCollectionData

◆ HadronicFinalStateCollection

friend class HadronicFinalStateCollection
friend

◆ HadronicFinalStateCollectionIterator

◆ MutableHadronicFinalState

friend class MutableHadronicFinalState
friend

◆ swap

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

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