Project
Loading...
Searching...
No Matches
o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType > Class Template Reference

#include <DigitBlockFIT.h>

Inherits o2::fit::DigitBlockBase< DigitType, ChannelDataType >.

Public Types

using DigitBlockFIT_t = DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >
 
typedef DigitBlockBase< DigitType, ChannelDataType > DigitBlockBase_t
 
typedef LookupTableType LookupTable_t
 
- Public Types inherited from o2::fit::DigitBlockBase< DigitType, ChannelDataType >
typedef DigitType Digit_t
 
typedef std::tuple< std::vector< DigitType >, std::vector< SubDigitTypes >... > TupleVecDigitObjs_t
 
typedef boost::mpl::vector< SubDigitTypes... > VecAllSubDigit_t
 
typedef DigitBlockHelper::GetVecSubDigit< VecAllSubDigit_tVecSubDigit_t
 
typedef DigitBlockHelper::GetVecSingleSubDigit< VecAllSubDigit_tVecSingleSubDigit_t
 
typedef DigitBlockHelper::GetSubDigitField< VecSubDigit_t >::vector_type SubDigit_t
 
typedef DigitBlockHelper::GetSubDigitField< VecSingleSubDigit_t >::type SingleSubDigit_t
 

Public Member Functions

template<typename... Args>
 DigitBlockFIT (Args &&... args)
 
 DigitBlockFIT ()=default
 
 DigitBlockFIT (const DigitBlockFIT &other)=default
 
 ~DigitBlockFIT ()=default
 
template<class DataBlockType , typename RawDataMetricType >
auto processDigits (const DataBlockType &dataBlock, RawDataMetricType &metric, int linkID, int ep) -> std::enable_if_t< DigitBlockHelper::IsSpecOfType< DataBlockPM, DataBlockType >::value >
 
template<class DataBlockType , typename RawDataMetricType >
auto processDigits (const DataBlockType &dataBlock, RawDataMetricType &metric, int linkID, int ep) -> std::enable_if_t< DigitBlockHelper::IsSpecOfType< DataBlockTCM, DataBlockType >::value >
 
template<class DataBlockType >
auto decomposeDigits (const typename RawDataMetric::Status_t &status) const -> std::enable_if_t< DigitBlockHelper::IsSpecOfType< DataBlockPM, DataBlockType >::value, std::map< typename LookupTable_t::Topo_t, DataBlockType > >
 
template<class DataBlockType >
auto decomposeDigits (const typename RawDataMetric::Status_t &status) const -> std::enable_if_t< DigitBlockHelper::IsSpecOfType< DataBlockTCM, DataBlockType >::value, std::pair< typename LookupTable_t::Topo_t, DataBlockType > >
 
template<typename VecDigitType , typename VecChannelDataType , typename VecDetTrigInputType >
void getDigits (VecDigitType &vecDigits, VecChannelDataType &vecChannelData, VecDetTrigInputType &vecTriggerInput)
 
template<typename VecDigitType , typename VecChannelDataType >
void getDigits (VecDigitType &vecDigits, VecChannelDataType &vecChannelData)
 
void print () const
 
- Public Member Functions inherited from o2::fit::DigitBlockBase< DigitType, ChannelDataType >
 DigitBlockBase (const o2::InteractionRecord &intRec)
 
 DigitBlockBase (const DigitType &digit)
 
 DigitBlockBase ()=default
 
 DigitBlockBase (const DigitBlockBase &other)=default
 
 ~DigitBlockBase ()=default
 
auto getSubDigits (VecDigit &vecDigits, VecSubDigits &... vecSubDigits) -> std::enable_if_t< sizeof...(VecSubDigits)==sNSubDigits >
 
auto getSingleSubDigits (T &... vecSingleSubDigits) -> std::enable_if_t< sizeof...(T)==sNSingleSubDigits >
 
auto getSubDigit (std::tuple< T... > tupleVecSubDigits) -> std::enable_if_t<(N_TOTAL > 1)>
 
auto getSubDigit (std::tuple< T... > tupleVecSubDigits) -> std::enable_if_t<(N_TOTAL==1)>
 
auto getSingleSubDigit (std::tuple< T... > tupleVecSingleSubDigits) -> std::enable_if_t<(N_TOTAL > 1)>
 
auto getSingleSubDigit (std::tuple< T... > tupleVecSingleSubDigits) -> std::enable_if_t<(N_TOTAL==1)>
 
void print () const
 

Static Public Member Functions

template<typename DigitBlockProcType >
static void processDigitBlocks (TTree *inputTree, DigitBlockProcType &digitBlockProc)
 
static void print (const std::vector< DigitType > &vecDigit, const std::vector< ChannelDataType > &vecChannelData)
 
- Static Public Member Functions inherited from o2::fit::DigitBlockBase< DigitType, ChannelDataType >
static auto makeDigitBlock (const std::vector< DigitT > &vecDigits, const std::vector< SubDigitT > &vecSubDigits) -> std::enable_if_t< DigitBlockHelper::GetDigitRefsN< DigitT >::value==1 &&DigitBlockHelper::IsSpecOfType< DigitBlockBase, typename DigitBlockType::DigitBlockBase_t >::value, std::vector< DigitBlockType > >
 
static auto makeDigitBlock (const std::vector< DigitT > &vecDigits, const std::vector< SubDigitT > &... vecSubDigits) -> std::enable_if_t<(DigitBlockHelper::GetDigitRefsN< DigitT >::value > 1) &&(DigitBlockHelper::IsSpecOfType< DigitBlockBase, typename DigitBlockType::DigitBlockBase_t >::value), std::vector< DigitBlockType > >
 
static void fillSubDigitTuple (const DigitT &digit, const std::tuple< T... > &tupleSrc, std::tuple< T... > &tupleDest)
 

Additional Inherited Members

- Public Attributes inherited from o2::fit::DigitBlockBase< DigitType, ChannelDataType >
Digit_t mDigit
 
SubDigit_t mSubDigit
 
SingleSubDigit_t mSingleSubDigit
 
- Static Public Attributes inherited from o2::fit::DigitBlockBase< DigitType, ChannelDataType >
static constexpr std::size_t sNSubDigits
 
static constexpr std::size_t sNSingleSubDigits
 

Detailed Description

template<typename LookupTableType, typename DigitType, typename ChannelDataType>
class o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >

Definition at line 147 of file DigitBlockFIT.h.

Member Typedef Documentation

◆ DigitBlockBase_t

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
typedef DigitBlockBase<DigitType, ChannelDataType> o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::DigitBlockBase_t

Definition at line 151 of file DigitBlockFIT.h.

◆ DigitBlockFIT_t

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
using o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::DigitBlockFIT_t = DigitBlockFIT<LookupTableType, DigitType, ChannelDataType>

Definition at line 150 of file DigitBlockFIT.h.

◆ LookupTable_t

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
typedef LookupTableType o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::LookupTable_t

Definition at line 152 of file DigitBlockFIT.h.

Constructor & Destructor Documentation

◆ DigitBlockFIT() [1/3]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<typename... Args>
o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::DigitBlockFIT ( Args &&...  args)
inline

Definition at line 154 of file DigitBlockFIT.h.

◆ DigitBlockFIT() [2/3]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::DigitBlockFIT ( )
default

◆ DigitBlockFIT() [3/3]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::DigitBlockFIT ( const DigitBlockFIT< LookupTableType, DigitType, ChannelDataType > &  other)
default

◆ ~DigitBlockFIT()

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::~DigitBlockFIT ( )
default

Member Function Documentation

◆ decomposeDigits() [1/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<class DataBlockType >
auto o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::decomposeDigits ( const typename RawDataMetric::Status_t status) const -> std::enable_if_t<DigitBlockHelper::IsSpecOfType<DataBlockPM, DataBlockType>::value, std::map<typename LookupTable_t::Topo_t, DataBlockType>>
inline

Definition at line 181 of file DigitBlockFIT.h.

◆ decomposeDigits() [2/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<class DataBlockType >
auto o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::decomposeDigits ( const typename RawDataMetric::Status_t status) const -> std::enable_if_t<DigitBlockHelper::IsSpecOfType<DataBlockTCM, DataBlockType>::value, std::pair<typename LookupTable_t::Topo_t, DataBlockType>>
inline

Definition at line 235 of file DigitBlockFIT.h.

◆ getDigits() [1/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<typename VecDigitType , typename VecChannelDataType >
void o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::getDigits ( VecDigitType &  vecDigits,
VecChannelDataType &  vecChannelData 
)
inline

Definition at line 287 of file DigitBlockFIT.h.

◆ getDigits() [2/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<typename VecDigitType , typename VecChannelDataType , typename VecDetTrigInputType >
void o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::getDigits ( VecDigitType &  vecDigits,
VecChannelDataType &  vecChannelData,
VecDetTrigInputType &  vecTriggerInput 
)
inline

Definition at line 281 of file DigitBlockFIT.h.

◆ print() [1/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
void o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::print ( ) const
inline

Definition at line 302 of file DigitBlockFIT.h.

◆ print() [2/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
static void o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::print ( const std::vector< DigitType > &  vecDigit,
const std::vector< ChannelDataType > &  vecChannelData 
)
inlinestatic

Definition at line 291 of file DigitBlockFIT.h.

◆ processDigitBlocks()

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<typename DigitBlockProcType >
static void o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::processDigitBlocks ( TTree *  inputTree,
DigitBlockProcType &  digitBlockProc 
)
inlinestatic

Definition at line 264 of file DigitBlockFIT.h.

◆ processDigits() [1/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<class DataBlockType , typename RawDataMetricType >
auto o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::processDigits ( const DataBlockType &  dataBlock,
RawDataMetricType &  metric,
int  linkID,
int  ep 
) -> std::enable_if_t<DigitBlockHelper::IsSpecOfType<DataBlockPM, DataBlockType>::value>
inline

Definition at line 162 of file DigitBlockFIT.h.

◆ processDigits() [2/2]

template<typename LookupTableType , typename DigitType , typename ChannelDataType >
template<class DataBlockType , typename RawDataMetricType >
auto o2::fit::DigitBlockFIT< LookupTableType, DigitType, ChannelDataType >::processDigits ( const DataBlockType &  dataBlock,
RawDataMetricType &  metric,
int  linkID,
int  ep 
) -> std::enable_if_t<DigitBlockHelper::IsSpecOfType<DataBlockTCM, DataBlockType>::value>
inline

Definition at line 172 of file DigitBlockFIT.h.


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