EICd
EIC data model
eicd::MutableInclusiveKinematics Class Reference

#include <MutableInclusiveKinematics.h>

Public Member Functions

 MutableInclusiveKinematics ()
 default constructor More...
 
 MutableInclusiveKinematics (float x, float Q2, float W, float y, float nu)
 
 MutableInclusiveKinematics (InclusiveKinematicsObj *obj)
 constructor from existing InclusiveKinematicsObj More...
 
 MutableInclusiveKinematics (const MutableInclusiveKinematics &other)
 copy constructor More...
 
MutableInclusiveKinematicsoperator= (MutableInclusiveKinematics other)
 copy-assignment operator More...
 
MutableInclusiveKinematics clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableInclusiveKinematics ()
 destructor More...
 
 operator InclusiveKinematics () const
 conversion to const object More...
 
const float & getX () const
 Access the Bjorken x (Q2/2P.q) More...
 
const float & getQ2 () const
 Access the Four-momentum transfer squared [GeV^2]. More...
 
const float & getW () const
 Access the Invariant mass of final state [GeV]. More...
 
const float & getY () const
 Access the Inelasticity (P.q/P.k) More...
 
const float & getNu () const
 Access the Energy transfer P.q/M [GeV]. More...
 
const eicd::ReconstructedParticle getScat () const
 Access the Associated scattered electron (if identified) More...
 
void setX (float value)
 Set the Bjorken x (Q2/2P.q) More...
 
void setQ2 (float value)
 Set the Four-momentum transfer squared [GeV^2]. More...
 
void setW (float value)
 Set the Invariant mass of final state [GeV]. More...
 
void setY (float value)
 Set the Inelasticity (P.q/P.k) More...
 
void setNu (float value)
 Set the Energy transfer P.q/M [GeV]. More...
 
void setScat (eicd::ReconstructedParticle value)
 Set the Associated scattered electron (if identified) More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from InclusiveKinematicsObj instance More...
 
bool operator== (const MutableInclusiveKinematics &other) const
 
bool operator== (const InclusiveKinematics &other) const
 
bool operator< (const MutableInclusiveKinematics &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class InclusiveKinematicsCollection
 
class InclusiveKinematicsMutableCollectionIterator
 
class InclusiveKinematics
 
void swap (MutableInclusiveKinematics &a, MutableInclusiveKinematics &b)
 

Detailed Description

Kinematic variables for DIS events

Author
: S. Joosten, W. Deconinck

Constructor & Destructor Documentation

◆ MutableInclusiveKinematics() [1/4]

eicd::MutableInclusiveKinematics::MutableInclusiveKinematics ( )

default constructor

◆ MutableInclusiveKinematics() [2/4]

eicd::MutableInclusiveKinematics::MutableInclusiveKinematics ( float  x,
float  Q2,
float  W,
float  y,
float  nu 
)

◆ MutableInclusiveKinematics() [3/4]

eicd::MutableInclusiveKinematics::MutableInclusiveKinematics ( InclusiveKinematicsObj obj)

constructor from existing InclusiveKinematicsObj

◆ MutableInclusiveKinematics() [4/4]

eicd::MutableInclusiveKinematics::MutableInclusiveKinematics ( const MutableInclusiveKinematics other)

copy constructor

◆ ~MutableInclusiveKinematics()

eicd::MutableInclusiveKinematics::~MutableInclusiveKinematics ( )

destructor

Member Function Documentation

◆ clone()

MutableInclusiveKinematics eicd::MutableInclusiveKinematics::clone ( ) const

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

◆ getNu()

const float & eicd::MutableInclusiveKinematics::getNu ( ) const

Access the Energy transfer P.q/M [GeV].

◆ getObjectID()

const podio::ObjectID eicd::MutableInclusiveKinematics::getObjectID ( ) const

◆ getQ2()

const float & eicd::MutableInclusiveKinematics::getQ2 ( ) const

Access the Four-momentum transfer squared [GeV^2].

◆ getScat()

const eicd::ReconstructedParticle eicd::MutableInclusiveKinematics::getScat ( ) const

Access the Associated scattered electron (if identified)

◆ getW()

const float & eicd::MutableInclusiveKinematics::getW ( ) const

Access the Invariant mass of final state [GeV].

◆ getX()

const float & eicd::MutableInclusiveKinematics::getX ( ) const

Access the Bjorken x (Q2/2P.q)

◆ getY()

const float & eicd::MutableInclusiveKinematics::getY ( ) const

Access the Inelasticity (P.q/P.k)

◆ id()

unsigned int eicd::MutableInclusiveKinematics::id ( ) const
inline

◆ isAvailable()

bool eicd::MutableInclusiveKinematics::isAvailable ( ) const

check whether the object is actually available

◆ operator InclusiveKinematics()

eicd::MutableInclusiveKinematics::operator InclusiveKinematics ( ) const

conversion to const object

◆ operator<()

bool eicd::MutableInclusiveKinematics::operator< ( const MutableInclusiveKinematics other) const
inline

◆ operator=()

MutableInclusiveKinematics & eicd::MutableInclusiveKinematics::operator= ( MutableInclusiveKinematics  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::MutableInclusiveKinematics::operator== ( const InclusiveKinematics other) const

◆ operator==() [2/2]

bool eicd::MutableInclusiveKinematics::operator== ( const MutableInclusiveKinematics other) const
inline

◆ setNu()

void eicd::MutableInclusiveKinematics::setNu ( float  value)

Set the Energy transfer P.q/M [GeV].

◆ setQ2()

void eicd::MutableInclusiveKinematics::setQ2 ( float  value)

Set the Four-momentum transfer squared [GeV^2].

◆ setScat()

void eicd::MutableInclusiveKinematics::setScat ( eicd::ReconstructedParticle  value)

Set the Associated scattered electron (if identified)

◆ setW()

void eicd::MutableInclusiveKinematics::setW ( float  value)

Set the Invariant mass of final state [GeV].

◆ setX()

void eicd::MutableInclusiveKinematics::setX ( float  value)

Set the Bjorken x (Q2/2P.q)

◆ setY()

void eicd::MutableInclusiveKinematics::setY ( float  value)

Set the Inelasticity (P.q/P.k)

◆ unlink()

void eicd::MutableInclusiveKinematics::unlink ( )
inline

disconnect from InclusiveKinematicsObj instance

Friends And Related Function Documentation

◆ InclusiveKinematics

friend class InclusiveKinematics
friend

◆ InclusiveKinematicsCollection

friend class InclusiveKinematicsCollection
friend

◆ InclusiveKinematicsMutableCollectionIterator

◆ swap

void swap ( MutableInclusiveKinematics a,
MutableInclusiveKinematics b 
)
friend

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