Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcPrototypeUnpacker::PadPlaneData Class Reference

buffer for full event data More...

#include <prototype/blob/master/offline/packages/tpc2019/TpcPrototypeUnpacker.h>

+ Collaboration diagram for TpcPrototypeUnpacker::PadPlaneData:

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, SampleIDm_groups
 

Detailed Description

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

Constructor & Destructor Documentation

TpcPrototypeUnpacker::PadPlaneData::PadPlaneData ( )

Definition at line 1024 of file TpcPrototypeUnpacker.cc.

View newest version in sPHENIX GitHub at line 1024 of file TpcPrototypeUnpacker.cc

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector<std::vector<std::vector<int> > >& TpcPrototypeUnpacker::PadPlaneData::getData ( ) const
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().

+ Here is the caller graph for this function:

const std::multimap<int, SampleID>& TpcPrototypeUnpacker::PadPlaneData::getGroups ( ) const
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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

int TpcPrototypeUnpacker::PadPlaneData::getSample ( const SampleID id)
bool TpcPrototypeUnpacker::PadPlaneData::IsValidPad ( const int  pad_x,
const int  pad_y 
)
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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<std::vector<std::vector<int> > > TpcPrototypeUnpacker::PadPlaneData::m_data
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().

std::multimap<int, SampleID> TpcPrototypeUnpacker::PadPlaneData::m_groups
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().


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