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

#include <MutableRawCALOROCHit.h>

Public Types

using object_type = RawCALOROCHit
 
using collection_type = RawCALOROCHitCollection
 

Public Member Functions

 MutableRawCALOROCHit ()=default
 default constructor
 
 MutableRawCALOROCHit (const std::uint64_t cellID, const std::int32_t samplePhase, const std::int32_t timeStamp)
 Constructor initializing all members.
 
 MutableRawCALOROCHit (const MutableRawCALOROCHit &other)=default
 copy constructor
 
MutableRawCALOROCHitoperator= (MutableRawCALOROCHit other) &
 copy-assignment operator
 
MutableRawCALOROCHitoperator= (MutableRawCALOROCHit other) &&=delete
 
MutableRawCALOROCHit clone (bool cloneRelations=true) const
 
 ~MutableRawCALOROCHit ()=default
 destructor
 
std::uint64_t getCellID () const
 Access the Detector specific (geometrical) cell id.
 
std::int32_t getSamplePhase () const
 Access the Phase of samples in [# samples], for synchronizing across chips.
 
std::int32_t getTimeStamp () const
 Access the [TDC counts].
 
void setCellID (const std::uint64_t cellID)
 Set the Detector specific (geometrical) cell id.
 
std::uint64_t & getCellID ()
 Get mutable reference to Detector specific (geometrical) cell id.
 
std::uint64_t & cellID ()
 Get reference to Detector specific (geometrical) cell id.
 
void setSamplePhase (const std::int32_t samplePhase)
 Set the Phase of samples in [# samples], for synchronizing across chips.
 
std::int32_t & getSamplePhase ()
 Get mutable reference to Phase of samples in [# samples], for synchronizing across chips.
 
std::int32_t & samplePhase ()
 Get reference to Phase of samples in [# samples], for synchronizing across chips.
 
void setTimeStamp (const std::int32_t timeStamp)
 Set the [TDC counts].
 
std::int32_t & getTimeStamp ()
 Get mutable reference to [TDC counts].
 
std::int32_t & timeStamp ()
 Get reference to [TDC counts].
 
void addToASamples (const edm4eic::CALOROC1ASample &)
 
std::size_t aSamples_size () const
 
edm4eic::CALOROC1ASample getASamples (std::size_t) const
 
std::vector< edm4eic::CALOROC1ASample >::const_iterator aSamples_begin () const
 
std::vector< edm4eic::CALOROC1ASample >::const_iterator aSamples_end () const
 
podio::RelationRange< edm4eic::CALOROC1ASamplegetASamples () const
 
void addToBSamples (const edm4eic::CALOROC1BSample &)
 
std::size_t bSamples_size () const
 
edm4eic::CALOROC1BSample getBSamples (std::size_t) const
 
std::vector< edm4eic::CALOROC1BSample >::const_iterator bSamples_begin () const
 
std::vector< edm4eic::CALOROC1BSample >::const_iterator bSamples_end () const
 
podio::RelationRange< edm4eic::CALOROC1BSamplegetBSamples () const
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from RawCALOROCHitObj instance
 
bool operator== (const MutableRawCALOROCHit &other) const
 
bool operator== (const RawCALOROCHit &other) const
 
bool operator!= (const MutableRawCALOROCHit &other) const
 
bool operator!= (const RawCALOROCHit &other) const
 
bool operator< (const MutableRawCALOROCHit &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class RawCALOROCHitCollection
 
class RawCALOROCHitMutableCollectionIterator
 
class RawCALOROCHit
 
void swap (MutableRawCALOROCHit &a, MutableRawCALOROCHit &b)
 

Detailed Description

Raw hit from a CALOROC1A/B chip

Author
: D. Anderson, S. Joosten, T. Protzman, N. Novitzky, D. Kalinkin, M. Zurek, M. H. Kim

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableRawCALOROCHit() [1/3]

edm4eic::MutableRawCALOROCHit::MutableRawCALOROCHit ( )
default

default constructor

◆ MutableRawCALOROCHit() [2/3]

edm4eic::MutableRawCALOROCHit::MutableRawCALOROCHit ( const std::uint64_t cellID,
const std::int32_t samplePhase,
const std::int32_t timeStamp )

Constructor initializing all members.

◆ MutableRawCALOROCHit() [3/3]

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

copy constructor

◆ ~MutableRawCALOROCHit()

edm4eic::MutableRawCALOROCHit::~MutableRawCALOROCHit ( )
default

destructor

Member Function Documentation

◆ addToASamples()

void edm4eic::MutableRawCALOROCHit::addToASamples ( const edm4eic::CALOROC1ASample & component)

◆ addToBSamples()

void edm4eic::MutableRawCALOROCHit::addToBSamples ( const edm4eic::CALOROC1BSample & component)

◆ aSamples_begin()

std::vector< edm4eic::CALOROC1ASample >::const_iterator edm4eic::MutableRawCALOROCHit::aSamples_begin ( ) const

◆ aSamples_end()

std::vector< edm4eic::CALOROC1ASample >::const_iterator edm4eic::MutableRawCALOROCHit::aSamples_end ( ) const

◆ aSamples_size()

std::size_t edm4eic::MutableRawCALOROCHit::aSamples_size ( ) const

◆ bSamples_begin()

std::vector< edm4eic::CALOROC1BSample >::const_iterator edm4eic::MutableRawCALOROCHit::bSamples_begin ( ) const

◆ bSamples_end()

std::vector< edm4eic::CALOROC1BSample >::const_iterator edm4eic::MutableRawCALOROCHit::bSamples_end ( ) const

◆ bSamples_size()

std::size_t edm4eic::MutableRawCALOROCHit::bSamples_size ( ) const

◆ cellID()

std::uint64_t & edm4eic::MutableRawCALOROCHit::cellID ( )

Get reference to Detector specific (geometrical) cell id.

◆ clone()

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

◆ getASamples() [1/2]

podio::RelationRange< edm4eic::CALOROC1ASample > edm4eic::MutableRawCALOROCHit::getASamples ( ) const

◆ getASamples() [2/2]

edm4eic::CALOROC1ASample edm4eic::MutableRawCALOROCHit::getASamples ( std::size_t index) const

◆ getBSamples() [1/2]

podio::RelationRange< edm4eic::CALOROC1BSample > edm4eic::MutableRawCALOROCHit::getBSamples ( ) const

◆ getBSamples() [2/2]

edm4eic::CALOROC1BSample edm4eic::MutableRawCALOROCHit::getBSamples ( std::size_t index) const

◆ getCellID() [1/2]

std::uint64_t & edm4eic::MutableRawCALOROCHit::getCellID ( )

Get mutable reference to Detector specific (geometrical) cell id.

◆ getCellID() [2/2]

std::uint64_t edm4eic::MutableRawCALOROCHit::getCellID ( ) const

Access the Detector specific (geometrical) cell id.

◆ getObjectID()

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

◆ getSamplePhase() [1/2]

std::int32_t & edm4eic::MutableRawCALOROCHit::getSamplePhase ( )

Get mutable reference to Phase of samples in [# samples], for synchronizing across chips.

◆ getSamplePhase() [2/2]

std::int32_t edm4eic::MutableRawCALOROCHit::getSamplePhase ( ) const

Access the Phase of samples in [# samples], for synchronizing across chips.

◆ getTimeStamp() [1/2]

std::int32_t & edm4eic::MutableRawCALOROCHit::getTimeStamp ( )

Get mutable reference to [TDC counts].

◆ getTimeStamp() [2/2]

std::int32_t edm4eic::MutableRawCALOROCHit::getTimeStamp ( ) const

Access the [TDC counts].

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableRawCALOROCHit::isAvailable ( ) const

check whether the object is actually available

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool edm4eic::MutableRawCALOROCHit::operator== ( const RawCALOROCHit & other) const

◆ samplePhase()

std::int32_t & edm4eic::MutableRawCALOROCHit::samplePhase ( )

Get reference to Phase of samples in [# samples], for synchronizing across chips.

◆ setCellID()

void edm4eic::MutableRawCALOROCHit::setCellID ( const std::uint64_t cellID)

Set the Detector specific (geometrical) cell id.

◆ setSamplePhase()

void edm4eic::MutableRawCALOROCHit::setSamplePhase ( const std::int32_t samplePhase)

Set the Phase of samples in [# samples], for synchronizing across chips.

◆ setTimeStamp()

void edm4eic::MutableRawCALOROCHit::setTimeStamp ( const std::int32_t timeStamp)

Set the [TDC counts].

◆ timeStamp()

std::int32_t & edm4eic::MutableRawCALOROCHit::timeStamp ( )

Get reference to [TDC counts].

◆ unlink()

void edm4eic::MutableRawCALOROCHit::unlink ( )
inline

disconnect from RawCALOROCHitObj instance

Friends And Related Symbol Documentation

◆ RawCALOROCHit

friend class RawCALOROCHit
friend

◆ RawCALOROCHitCollection

friend class RawCALOROCHitCollection
friend

◆ RawCALOROCHitMutableCollectionIterator

◆ swap

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

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