lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
XtcData::NameInfo Class Reference

mechanism for the DataName to point to the correct DetInfo. More...

#include <ShapesData.hh>

Public Member Functions

 NameInfo (const char *detname, Alg &alg0, const char *dettype, const char *detid, uint32_t segment0, uint32_t numarr=0)
 Copy alg0, segment0 and numarr into the fields, and copy detname, dettype and detid truncated to MaxNameSize-1 characters and NUL-terminated.
 

Public Attributes

uint32_t numArrays
 Number of array fields; Names::add() increments it for each added Name with rank > 0.
 
char detType [MaxNameSize]
 Copy of the constructor's dettype argument, truncated to MaxNameSize-1 characters and NUL-terminated.
 
char detName [MaxNameSize]
 Copy of the constructor's detname argument, truncated to MaxNameSize-1 characters and NUL-terminated.
 
char detId [MaxNameSize]
 Copy of the constructor's detid argument, truncated to MaxNameSize-1 characters and NUL-terminated.
 
Alg alg
 Copy of the constructor's alg0 argument.
 
uint32_t segment
 Copy of the constructor's segment0 argument.
 

Detailed Description

mechanism for the DataName to point to the correct DetInfo.

Constructor & Destructor Documentation

◆ NameInfo()

XtcData::NameInfo::NameInfo ( const char *  detname,
Alg &  alg0,
const char *  dettype,
const char *  detid,
uint32_t  segment0,
uint32_t  numarr = 0 
)
inline

Copy alg0, segment0 and numarr into the fields, and copy detname, dettype and detid truncated to MaxNameSize-1 characters and NUL-terminated.

Member Data Documentation

◆ alg

Alg XtcData::NameInfo::alg

Copy of the constructor's alg0 argument.

◆ detId

char XtcData::NameInfo::detId[MaxNameSize]

Copy of the constructor's detid argument, truncated to MaxNameSize-1 characters and NUL-terminated.

◆ detName

char XtcData::NameInfo::detName[MaxNameSize]

Copy of the constructor's detname argument, truncated to MaxNameSize-1 characters and NUL-terminated.

◆ detType

char XtcData::NameInfo::detType[MaxNameSize]

Copy of the constructor's dettype argument, truncated to MaxNameSize-1 characters and NUL-terminated.

◆ numArrays

uint32_t XtcData::NameInfo::numArrays

Number of array fields; Names::add() increments it for each added Name with rank > 0.

◆ segment

uint32_t XtcData::NameInfo::segment

Copy of the constructor's segment0 argument.


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