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

#include <RawCALOROCHit.h>

Public Types

using mutable_type = MutableRawCALOROCHit
 
using collection_type = RawCALOROCHitCollection
 

Public Member Functions

 RawCALOROCHit ()=default
 default constructor
 
 RawCALOROCHit (const std::uint64_t cellID, const std::int32_t samplePhase, const std::int32_t timeStamp)
 Constructor initializing all members.
 
 RawCALOROCHit (const RawCALOROCHit &other)=default
 copy constructor
 
RawCALOROCHitoperator= (RawCALOROCHit other) &
 copy-assignment operator
 
RawCALOROCHitoperator= (RawCALOROCHit other) &&=delete
 
MutableRawCALOROCHit clone (bool cloneRelations=true) const
 
 ~RawCALOROCHit ()=default
 destructor
 
 RawCALOROCHit (const MutableRawCALOROCHit &other)
 converting constructor from mutable object
 
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].
 
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
 
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 RawCALOROCHit &other) const
 
bool operator== (const MutableRawCALOROCHit &other) const
 
bool operator!= (const RawCALOROCHit &other) const
 
bool operator!= (const MutableRawCALOROCHit &other) const
 
bool operator< (const RawCALOROCHit &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Static Public Member Functions

static RawCALOROCHit makeEmpty ()
 

Static Public Attributes

static constexpr std::string_view typeName = "edm4eic::RawCALOROCHit"
 

Friends

class MutableRawCALOROCHit
 
class RawCALOROCHitCollection
 
class edm4eic::RawCALOROCHitCollectionData
 
class RawCALOROCHitCollectionIterator
 
podio::detail::OrderKey podio::detail::getOrderKey (const RawCALOROCHit &obj)
 
void swap (RawCALOROCHit &a, RawCALOROCHit &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

◆ mutable_type

Constructor & Destructor Documentation

◆ RawCALOROCHit() [1/4]

edm4eic::RawCALOROCHit::RawCALOROCHit ( )
default

default constructor

◆ RawCALOROCHit() [2/4]

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

Constructor initializing all members.

◆ RawCALOROCHit() [3/4]

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

copy constructor

◆ ~RawCALOROCHit()

edm4eic::RawCALOROCHit::~RawCALOROCHit ( )
default

destructor

◆ RawCALOROCHit() [4/4]

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

converting constructor from mutable object

Member Function Documentation

◆ aSamples_begin()

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

◆ aSamples_end()

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

◆ aSamples_size()

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

◆ bSamples_begin()

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

◆ bSamples_end()

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

◆ bSamples_size()

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

◆ clone()

MutableRawCALOROCHit edm4eic::RawCALOROCHit::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::RawCALOROCHit::getASamples ( ) const

◆ getASamples() [2/2]

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

◆ getBSamples() [1/2]

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

◆ getBSamples() [2/2]

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

◆ getCellID()

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

Access the Detector specific (geometrical) cell id.

◆ getObjectID()

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

◆ getSamplePhase()

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

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

◆ getTimeStamp()

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

Access the [TDC counts].

◆ id()

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

◆ isAvailable()

bool edm4eic::RawCALOROCHit::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

RawCALOROCHit edm4eic::RawCALOROCHit::makeEmpty ( )
static

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void edm4eic::RawCALOROCHit::unlink ( )
inline

disconnect from RawCALOROCHitObj instance

Friends And Related Symbol Documentation

◆ edm4eic::RawCALOROCHitCollectionData

◆ MutableRawCALOROCHit

friend class MutableRawCALOROCHit
friend

◆ podio::detail::getOrderKey

podio::detail::OrderKey podio::detail::getOrderKey ( const RawCALOROCHit & obj)
friend

◆ RawCALOROCHitCollection

friend class RawCALOROCHitCollection
friend

◆ RawCALOROCHitCollectionIterator

friend class RawCALOROCHitCollectionIterator
friend

◆ swap

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

Member Data Documentation

◆ typeName

std::string_view edm4eic::RawCALOROCHit::typeName = "edm4eic::RawCALOROCHit"
staticconstexpr

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