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

#include <MutableRawHGCROCHit.h>

Public Types

using object_type = RawHGCROCHit
 
using collection_type = RawHGCROCHitCollection
 

Public Member Functions

 MutableRawHGCROCHit ()
 default constructor
 
 MutableRawHGCROCHit (const std::uint64_t cellID, const std::int32_t samplePhase, const std::int32_t timeStamp)
 Constructor initializing all members.
 
 MutableRawHGCROCHit (const MutableRawHGCROCHit &other)=default
 copy constructor
 
MutableRawHGCROCHitoperator= (MutableRawHGCROCHit other) &
 copy-assignment operator
 
MutableRawHGCROCHitoperator= (MutableRawHGCROCHit other) &&=delete
 
MutableRawHGCROCHit clone (bool cloneRelations=true) const
 
 ~MutableRawHGCROCHit ()=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 addToSamples (const edm4eic::HGCROCSample &)
 
std::size_t samples_size () const
 
edm4eic::HGCROCSample getSamples (std::size_t) const
 
std::vector< edm4eic::HGCROCSample >::const_iterator samples_begin () const
 
std::vector< edm4eic::HGCROCSample >::const_iterator samples_end () const
 
podio::RelationRange< edm4eic::HGCROCSamplegetSamples () const
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from RawHGCROCHitObj instance
 
bool operator== (const MutableRawHGCROCHit &other) const
 
bool operator== (const RawHGCROCHit &other) const
 
bool operator!= (const MutableRawHGCROCHit &other) const
 
bool operator!= (const RawHGCROCHit &other) const
 
bool operator< (const MutableRawHGCROCHit &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class RawHGCROCHitCollection
 
class RawHGCROCHitMutableCollectionIterator
 
class RawHGCROCHit
 
void swap (MutableRawHGCROCHit &a, MutableRawHGCROCHit &b)
 

Detailed Description

Raw hit from an HGCROC chip

Author
: D. Anderson, S. Joosten, T. Protzman, N. Novitzky, D. Kalinkin

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableRawHGCROCHit() [1/3]

edm4eic::MutableRawHGCROCHit::MutableRawHGCROCHit ( )

default constructor

◆ MutableRawHGCROCHit() [2/3]

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

Constructor initializing all members.

◆ MutableRawHGCROCHit() [3/3]

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

copy constructor

◆ ~MutableRawHGCROCHit()

edm4eic::MutableRawHGCROCHit::~MutableRawHGCROCHit ( )
default

destructor

Member Function Documentation

◆ addToSamples()

void edm4eic::MutableRawHGCROCHit::addToSamples ( const edm4eic::HGCROCSample & component)

◆ cellID()

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

Get reference to Detector specific (geometrical) cell id.

◆ clone()

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

◆ getCellID() [1/2]

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

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

◆ getCellID() [2/2]

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

Access the Detector specific (geometrical) cell id.

◆ getObjectID()

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

◆ getSamplePhase() [1/2]

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

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

◆ getSamplePhase() [2/2]

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

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

◆ getSamples() [1/2]

podio::RelationRange< edm4eic::HGCROCSample > edm4eic::MutableRawHGCROCHit::getSamples ( ) const

◆ getSamples() [2/2]

edm4eic::HGCROCSample edm4eic::MutableRawHGCROCHit::getSamples ( std::size_t index) const

◆ getTimeStamp() [1/2]

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

Get mutable reference to [TDC counts].

◆ getTimeStamp() [2/2]

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

Access the [TDC counts].

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableRawHGCROCHit::isAvailable ( ) const

check whether the object is actually available

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool edm4eic::MutableRawHGCROCHit::operator== ( const RawHGCROCHit & other) const

◆ samplePhase()

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

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

◆ samples_begin()

std::vector< edm4eic::HGCROCSample >::const_iterator edm4eic::MutableRawHGCROCHit::samples_begin ( ) const

◆ samples_end()

std::vector< edm4eic::HGCROCSample >::const_iterator edm4eic::MutableRawHGCROCHit::samples_end ( ) const

◆ samples_size()

std::size_t edm4eic::MutableRawHGCROCHit::samples_size ( ) const

◆ setCellID()

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

Set the Detector specific (geometrical) cell id.

◆ setSamplePhase()

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

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

◆ setTimeStamp()

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

Set the [TDC counts].

◆ timeStamp()

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

Get reference to [TDC counts].

◆ unlink()

void edm4eic::MutableRawHGCROCHit::unlink ( )
inline

disconnect from RawHGCROCHitObj instance

Friends And Related Symbol Documentation

◆ RawHGCROCHit

friend class RawHGCROCHit
friend

◆ RawHGCROCHitCollection

friend class RawHGCROCHitCollection
friend

◆ RawHGCROCHitMutableCollectionIterator

◆ swap

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

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