#include <TpcData.h>
Public Types | |
using | Index = unsigned int |
using | Name = std::string |
using | Tpc2dRoiVector = std::vector< Tpc2dRoi > |
using | TpcDataMap = std::map< Name, TpcData > |
using | TpcDataVector = std::vector< TpcData * > |
using | AdcData = AdcChannelDataMap |
using | AdcDataPtr = std::shared_ptr< AdcChannelDataMap > |
using | AdcDataVector = std::vector< AdcDataPtr > |
Public Member Functions | |
TpcData () | |
TpcData (Index npla) | |
TpcData (const AdcDataVector &adcs) | |
TpcData (const TpcData &rhs)=delete | |
TpcData * | getParent () |
const TpcData * | getParent () const |
TpcDataMap & | getData () |
const TpcDataMap & | getData () const |
AdcDataVector & | getAdcData () |
const AdcDataVector & | getAdcData () const |
Tpc2dRoiVector & | get2dRois () |
const Tpc2dRoiVector & | get2dRois () const |
TpcData * | addTpcData (Name nam, bool copyAdcData=true) |
TpcData * | getTpcData (Name nam) |
const TpcData * | getTpcData (Name nam) const |
Index | getTpcData (Name nam, TpcDataVector &out) |
AdcDataPtr | createAdcData (bool updateParent=true) |
AdcDataPtr | addAdcData (AdcDataPtr padc, bool updateParent=true) |
void | clearAdcData () |
std::ostream & | print (Name prefix, Index depth=10) const |
Private Attributes | |
TpcData * | m_parent |
TpcDataMap | m_dat |
AdcDataVector | m_adcs |
Tpc2dRoiVector | m_2drois |
using TpcData::AdcData = AdcChannelDataMap |
using TpcData::AdcDataPtr = std::shared_ptr<AdcChannelDataMap> |
using TpcData::AdcDataVector = std::vector<AdcDataPtr> |
using TpcData::Index = unsigned int |
using TpcData::Name = std::string |
using TpcData::Tpc2dRoiVector = std::vector<Tpc2dRoi> |
using TpcData::TpcDataMap = std::map<Name, TpcData> |
using TpcData::TpcDataVector = std::vector<TpcData*> |
TpcData::TpcData | ( | ) |
Definition at line 10 of file TpcData.cxx.
TpcData::TpcData | ( | Index | npla | ) |
Definition at line 14 of file TpcData.cxx.
TpcData::TpcData | ( | const AdcDataVector & | adcs | ) |
Definition at line 20 of file TpcData.cxx.
|
delete |
TpcData::AdcDataPtr TpcData::addAdcData | ( | AdcDataPtr | padc, |
bool | updateParent = true |
||
) |
Definition at line 105 of file TpcData.cxx.
Definition at line 24 of file TpcData.cxx.
void TpcData::clearAdcData | ( | ) |
Definition at line 113 of file TpcData.cxx.
TpcData::AdcDataPtr TpcData::createAdcData | ( | bool | updateParent = true | ) |
Definition at line 99 of file TpcData.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 42 of file TpcData.cxx.
Definition at line 84 of file TpcData.cxx.
TpcData::Index TpcData::getTpcData | ( | Name | nam, |
TpcDataVector & | out | ||
) |
Definition at line 54 of file TpcData.cxx.
Definition at line 119 of file TpcData.cxx.
|
private |
|
private |
|
private |