Analysis Software
Documentation for sPHENIX simulation software
|
buffer for full event data More...
#include <prototype/blob/master/offline/packages/tpc2019/TpcPrototypeUnpacker.h>
Classes | |
struct | SampleID |
Public Member Functions | |
PadPlaneData () | |
void | Reset () |
std::vector< int > & | getPad (const int pad_x, const int pad_y) |
int | getSample (const SampleID &id) |
void | Clustering (int zero_suppression, bool verbosity=false) |
3-D Graph clustering based on PHMakeGroups() | |
const std::vector< std::vector < std::vector< int > > > & | getData () const |
const std::multimap< int, SampleID > & | getGroups () const |
Static Public Member Functions | |
static bool | IsValidPad (const int pad_x, const int pad_y) |
Private Attributes | |
std::vector< std::vector < std::vector< int > > > | m_data |
full event data in index order of m_data[pad_azimuth][pad_radial][sample] | |
std::multimap< int, SampleID > | m_groups |
buffer for full event data
Definition at line 98 of file TpcPrototypeUnpacker.h.
View newest version in sPHENIX GitHub at line 98 of file TpcPrototypeUnpacker.h
TpcPrototypeUnpacker::PadPlaneData::PadPlaneData | ( | ) |
Definition at line 1024 of file TpcPrototypeUnpacker.cc.
View newest version in sPHENIX GitHub at line 1024 of file TpcPrototypeUnpacker.cc
void TpcPrototypeUnpacker::PadPlaneData::Clustering | ( | int | zero_suppression, |
bool | verbosity = false |
||
) |
3-D Graph clustering based on PHMakeGroups()
Definition at line 1091 of file TpcPrototypeUnpacker.cc.
View newest version in sPHENIX GitHub at line 1091 of file TpcPrototypeUnpacker.cc
References TpcPrototypeUnpacker::PadPlaneData::SampleID::adjust(), assert, mvtx_utils::comp(), G, i, it, TPCDaqDefs::FEEv1::kMaxPadX, TPCDaqDefs::FEEv1::kMaxPadY, TPCDaqDefs::FEEv1::kSAMPLE_LENGTH, TpcPrototypeUnpacker::PadPlaneData::SampleID::pad_azimuth, and testSigmaEff::v.
Referenced by TpcPrototypeUnpacker::Clustering().
|
inline |
Definition at line 126 of file TpcPrototypeUnpacker.h.
View newest version in sPHENIX GitHub at line 126 of file TpcPrototypeUnpacker.h
References m_data.
Referenced by TpcPrototypeUnpacker::exportDSTHits().
|
inline |
Definition at line 131 of file TpcPrototypeUnpacker.h.
View newest version in sPHENIX GitHub at line 131 of file TpcPrototypeUnpacker.h
References m_groups.
Referenced by TpcPrototypeUnpacker::Clustering().
vector< int > & TpcPrototypeUnpacker::PadPlaneData::getPad | ( | const int | pad_x, |
const int | pad_y | ||
) |
Definition at line 1050 of file TpcPrototypeUnpacker.cc.
View newest version in sPHENIX GitHub at line 1050 of file TpcPrototypeUnpacker.cc
References assert, TPCDaqDefs::FEEv1::kMaxPadX, and TPCDaqDefs::FEEv1::kMaxPadY.
Referenced by TpcPrototypeUnpacker::Clustering(), and TpcPrototypeUnpacker::process_event().
int TpcPrototypeUnpacker::PadPlaneData::getSample | ( | const SampleID & | id | ) |
|
static |
Definition at line 1042 of file TpcPrototypeUnpacker.cc.
View newest version in sPHENIX GitHub at line 1042 of file TpcPrototypeUnpacker.cc
References TPCDaqDefs::FEEv1::kMaxPadX, and TPCDaqDefs::FEEv1::kMaxPadY.
Referenced by TpcPrototypeUnpacker::Clustering().
void TpcPrototypeUnpacker::PadPlaneData::Reset | ( | ) |
Definition at line 1029 of file TpcPrototypeUnpacker.cc.
View newest version in sPHENIX GitHub at line 1029 of file TpcPrototypeUnpacker.cc
Referenced by TpcPrototypeUnpacker::ResetEvent().
|
private |
full event data in index order of m_data[pad_azimuth][pad_radial][sample]
Definition at line 138 of file TpcPrototypeUnpacker.h.
View newest version in sPHENIX GitHub at line 138 of file TpcPrototypeUnpacker.h
Referenced by getData().
|
private |
Definition at line 140 of file TpcPrototypeUnpacker.h.
View newest version in sPHENIX GitHub at line 140 of file TpcPrototypeUnpacker.h
Referenced by getGroups().