Belle II Software  release-08-01-10
SVDTransparentDigit Class Reference

The SVD digit class. More...

#include <SVDTransparentDigit.h>

Inheritance diagram for SVDTransparentDigit:
Collaboration diagram for SVDTransparentDigit:

Public Member Functions

 SVDTransparentDigit (const VxdID sensorID, const bool isU, const unsigned short fadcID, const unsigned short apvID, const unsigned short nSample=0, const short **adc=nullptr, const short *cmc1=nullptr, const short *cmc2=nullptr, const short **corradc=nullptr, const short **fine_cmc1=nullptr, const short **fine_cmc2=nullptr, const short **fine_corradc=nullptr)
 Useful Constructor. More...
 
 SVDTransparentDigit ()
 Default constructor for the ROOT IO.
 
VxdID getSensorID () const
 Get the sensor ID. More...
 
bool isUStrip () const
 Get strip direction. More...
 
unsigned short getFadcID () const
 Get FADC ID. More...
 
unsigned short getApvID () const
 Get APV ID. More...
 
unsigned short getNSample () const
 Get number of samples. More...
 
const short * getADC (short channel) const
 Get ADC value. More...
 
short getADC (short channel, short index) const
 Get ADC value. More...
 
const short * getCMC1 () const
 Get 1st commom-mode correction value. More...
 
short getCMC1 (short index) const
 Get 1st commom-mode correction value. More...
 
const short * getCMC2 () const
 Get 2nd commom-mode correction value. More...
 
short getCMC2 (short index) const
 Get 2nd commom-mode correction value. More...
 
const short * getCMC () const
 Get total commom-mode correction value. More...
 
short getCMC (short index) const
 Get total commom-mode correction value. More...
 
const short * getFineCMC1 (short channel) const
 Get 1st fine commom-mode correction value. More...
 
short getFineCMC1 (short channel, short index) const
 Get 1st fine commom-mode correction value. More...
 
const short * getFineCMC2 (short channel) const
 Get 2nd fine commom-mode correction value. More...
 
short getFineCMC2 (short channel, short index) const
 Get 2nd fine commom-mode correction value. More...
 
const short * getFineCMC (short channel) const
 Get total fine commom-mode correction value. More...
 
short getFineCMC (short channel, short index) const
 Get total fine commom-mode correction value. More...
 
const short * getCorrADC (short channel) const
 Get corrected ADC value with pedestal and common-mode. More...
 
short getCorrADC (short channel, short index) const
 Get corrected ADC value with pedestal and common-mode. More...
 
const short * getFineCorrADC (short channel) const
 Get precisely corrected ADC value with pedestal and fine common-mode. More...
 
short getFineCorrADC (short channel, short index) const
 Get precisely corrected ADC value with pedestal and fine common-mode. More...
 
void setSensorID (VxdID vxdid)
 Set the sensor ID.
 
void setUStrip (bool isu)
 Set strip direction.
 
void setFadcID (unsigned short fadcID)
 Set FADC ID.
 
void setApvID (unsigned short apvID)
 Set APV ID.
 
void setNSample (unsigned short nSample)
 Set number of samples.
 
void setADC (short **adc)
 Set ADC values.
 
void setADC (short *adc, short channel)
 Set ADC values.
 
void setADC (short adc, short channel, short index)
 Set ADC values.
 
void setCMC1 (short *cmc1)
 Set 1st commom-mode correction value.
 
void setCMC1 (short cmc1, int index)
 Set 1st commom-mode correction value.
 
void setCMC2 (short *cmc2)
 Set 2nd commom-mode correction value.
 
void setCMC2 (short cmc2, int index)
 Set 2nd commom-mode correction value.
 
void setCMC (short *cmc)
 Set Total commom-mode correction value.
 
void setCMC (short cmc, int index)
 Set Total commom-mode correction value.
 
void setFineCMC1 (short **fine_cmc1)
 Set channel-dependent 1st CMC values.
 
void setFineCMC1 (short *fine_cmc1, short channel)
 Set channel-dependent 1st CMC values.
 
void setFineCMC1 (short fine_cmc1, short channel, short index)
 Set channel-dependent 1st CMC values.
 
void setFineCMC2 (short **fine_cmc2)
 Set channel-dependent 2nd CMC values.
 
void setFineCMC2 (short *fine_cmc2, short channel)
 Set channel-dependent 2nd CMC values.
 
void setFineCMC2 (short fine_cmc2, short channel, short index)
 Set channel-dependent 2nd CMC values.
 
void setFineCMC (short **fine_cmc)
 Set CMC values.
 
void setFineCMC (short *fine_cmc, short channel)
 Set channel-dependent CMC values.
 
void setFineCMC (short fine_cmc, short channel, short index)
 Set channel-dependent CMC values.
 
void setCorrADC (short **corradc)
 Set corrected ADC values.
 
void setCorrADC (short *corradc, short channel)
 Set corrected ADC values.
 
void setCorrADC (short corradc, short channel, short index)
 Set corrected ADC values.
 
void setFineCorrADC (short **corradc)
 Set precisely corrected ADC values.
 
void setFineCorrADC (short *corradc, short channel)
 Set precisely corrected ADC values.
 
void setFineCorrADC (short corradc, short channel, short index)
 Set precisely corrected ADC values.
 
std::string print ()
 Display main parameters in this object.
 
void addRelationTo (const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (with caching). More...
 
void addRelationTo (const TObject *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (no caching, can be quite slow). More...
 
void copyRelations (const RelationsInterface< BASE > *sourceObj)
 Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights). More...
 
template<class TO >
RelationVector< TO > getRelationsTo (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from this object to another store array. More...
 
template<class FROM >
RelationVector< FROM > getRelationsFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from another store array to this object. More...
 
template<class T >
RelationVector< T > getRelationsWith (const std::string &name="", const std::string &namedRelation="") const
 Get the relations between this object and another store array. More...
 
template<class TO >
TO * getRelatedTo (const std::string &name="", const std::string &namedRelation="") const
 Get the object to which this object has a relation. More...
 
template<class FROM >
FROM * getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the object from which this object has a relation. More...
 
template<class T >
T * getRelated (const std::string &name="", const std::string &namedRelation="") const
 Get the object to or from which this object has a relation. More...
 
template<class TO >
std::pair< TO *, float > getRelatedToWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing to an array. More...
 
template<class FROM >
std::pair< FROM *, float > getRelatedFromWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from an array. More...
 
template<class T >
std::pair< T *, float > getRelatedWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from/to an array. More...
 
virtual std::string getName () const
 Return a short name that describes this object, e.g. More...
 
virtual std::string getInfoHTML () const
 Return a short summary of this object's contents in HTML format. More...
 
std::string getInfo () const
 Return a short summary of this object's contents in raw text format. More...
 
std::string getArrayName () const
 Get name of array this object is stored in, or "" if not found.
 
int getArrayIndex () const
 Returns this object's array index (in StoreArray), or -1 if not found.
 

Protected Member Functions

TClonesArray * getArrayPointer () const
 Returns the pointer to the raw DataStore array holding this object (protected since these arrays are easy to misuse).
 

Private Member Functions

 ClassDef (RelationsInterface, 0)
 defines interface for accessing relations of objects in StoreArray.
 

Private Attributes

unsigned short m_sensorID
 Compressed sensor identifier.
 
bool m_isU
 True if U, false if V.
 
unsigned short m_fadcID
 FADC ID.
 
unsigned short m_apvID
 APV25 ID.
 
unsigned short m_nSample
 Number of samples.
 
short m_ADC [128][6]
 ADC values of strip signal. More...
 
short m_cmc1 [6]
 1st common-mode correction values. More...
 
short m_cmc2 [6]
 2nd common-mode correction values. More...
 
short m_cmc [6]
 total common-mode correction values. More...
 
short m_fine_cmc1 [128][6]
 Channel-dependent 1st common-mode correction values. More...
 
short m_fine_cmc2 [128][6]
 Channel-dependent 2nd common-mode correction values. More...
 
short m_fine_cmc [128][6]
 Channel-dependent total common-mode correction values. More...
 
short m_corrADC [128][6]
 ADC values of strip signal corrected by pedestal and commom-mode. More...
 
short m_fine_corrADC [128][6]
 ADC values of strip signal precisely corrected by pedestal and fine commom-mode. More...
 
DataStore::StoreEntrym_cacheDataStoreEntry
 Cache of the data store entry to which this object belongs.
 
int m_cacheArrayIndex
 Cache of the index in the TClonesArray to which this object belongs.
 

Detailed Description

The SVD digit class.

The SVDTransparentDigit is an APV25 signal sample. This is a development implementation which is intentionally kept somewhat bulky. I record strip coordinates that won't be kept in future. Also the sensor and ncell IDs could be somewhat compressed, if desired.

Definition at line 34 of file SVDTransparentDigit.h.

Constructor & Destructor Documentation

◆ SVDTransparentDigit()

SVDTransparentDigit ( const VxdID  sensorID,
const bool  isU,
const unsigned short  fadcID,
const unsigned short  apvID,
const unsigned short  nSample = 0,
const short **  adc = nullptr,
const short *  cmc1 = nullptr,
const short *  cmc2 = nullptr,
const short **  corradc = nullptr,
const short **  fine_cmc1 = nullptr,
const short **  fine_cmc2 = nullptr,
const short **  fine_corradc = nullptr 
)
inline

Useful Constructor.

Parameters
sensorIDSensor compact ID.
isUTrue if u strip, false if v.
fadcID
apvID
nSample
adc
cmc1
cmc2
corradc
fine_cmc1
fine_cmc2
fine_corradc

Definition at line 52 of file SVDTransparentDigit.h.

63  : m_sensorID(sensorID), m_isU(isU),
64  m_fadcID(fadcID), m_apvID(apvID), m_nSample(nSample)
65  {
66  if (adc != nullptr) {
67  for (int channel = 0; channel < 128; channel++) {
68  //for(int index=0;index<SVDPar::maxSample;index++) {
69  for (int index = 0; index < 6; index++) {
70  m_ADC[channel][index] = adc[channel][index];
71  }
72  }
73  } else {
74  memset(m_ADC, 0, sizeof(m_ADC));
75  }
76 
77  if (cmc1 != nullptr) {
78  //for(int index=0;index<SVDPar::maxSample;index++) {
79  for (int index = 0; index < 6; index++) {
80  m_cmc1[index] = cmc1[index];
81  }
82  } else {
83  memset(m_cmc1, 0, sizeof(m_cmc1));
84  }
85 
86  if (cmc2 != nullptr) {
87  //for(int index=0;index<SVDPar::maxSample;index++) {
88  for (int index = 0; index < 6; index++) {
89  m_cmc2[index] = cmc2[index];
90  }
91  } else {
92  memset(m_cmc2, 0, sizeof(m_cmc2));
93  }
94 
95  if (corradc != nullptr) {
96  for (int channel = 0; channel < 128; channel++) {
97  //for(int index=0;index<SVDPar::maxSample;index++) {
98  for (int index = 0; index < 6; index++) {
99  m_corrADC[channel][index] = corradc[channel][index];
100  }
101  }
102  } else {
103  memset(m_corrADC, 0, sizeof(m_corrADC));
104  }
105 
106  if (fine_cmc1 != nullptr) {
107  for (int channel = 0; channel < 128; channel++) {
108  //for(int index=0;index<SVDPar::maxSample;index++) {
109  for (int index = 0; index < 6; index++) {
110  m_fine_cmc1[channel][index] = fine_cmc1[channel][index];
111  }
112  }
113  } else {
114  memset(m_fine_cmc1, 0, sizeof(m_fine_cmc1));
115  }
116 
117  if (fine_cmc2 != nullptr) {
118  for (int channel = 0; channel < 128; channel++) {
119  //for(int index=0;index<SVDPar::maxSample;index++) {
120  for (int index = 0; index < 6; index++) {
121  m_fine_cmc2[channel][index] = fine_cmc2[channel][index];
122  }
123  }
124  } else {
125  memset(m_fine_cmc2, 0, sizeof(m_fine_cmc2));
126  }
127 
128  if (fine_corradc != nullptr) {
129  for (int channel = 0; channel < 128; channel++) {
130  //for(int index=0;index<SVDPar::maxSample;index++) {
131  for (int index = 0; index < 6; index++) {
132  m_fine_corrADC[channel][index] = fine_corradc[channel][index];
133  }
134  }
135  } else {
136  memset(m_fine_corrADC, 0, sizeof(m_fine_corrADC));
137  }
138  memset(m_cmc, 0, sizeof(m_cmc));
139  memset(m_fine_cmc, 0, sizeof(m_fine_cmc));
140  }
short m_fine_cmc[128][6]
Channel-dependent total common-mode correction values.
unsigned short m_apvID
APV25 ID.
unsigned short m_nSample
Number of samples.
short m_cmc2[6]
2nd common-mode correction values.
bool m_isU
True if U, false if V.
unsigned short m_sensorID
Compressed sensor identifier.
short m_fine_cmc1[128][6]
Channel-dependent 1st common-mode correction values.
unsigned short m_fadcID
FADC ID.
short m_corrADC[128][6]
ADC values of strip signal corrected by pedestal and commom-mode.
short m_fine_corrADC[128][6]
ADC values of strip signal precisely corrected by pedestal and fine commom-mode.
short m_ADC[128][6]
ADC values of strip signal.
short m_cmc1[6]
1st common-mode correction values.
short m_fine_cmc2[128][6]
Channel-dependent 2nd common-mode correction values.
short m_cmc[6]
total common-mode correction values.

Member Function Documentation

◆ addRelationTo() [1/2]

void addRelationTo ( const RelationsInterface< BASE > *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (with caching).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 142 of file RelationsObject.h.

◆ addRelationTo() [2/2]

void addRelationTo ( const TObject *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (no caching, can be quite slow).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 155 of file RelationsObject.h.

◆ copyRelations()

void copyRelations ( const RelationsInterface< BASE > *  sourceObj)
inlineinherited

Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).

Useful if you want to make a complete copy of a StoreArray object to make modifications to it, but retain all information on linked objects.

Note: this only works if sourceObj inherits from the same base (e.g. RelationsObject), and only for related objects that also inherit from the same base.

Definition at line 170 of file RelationsObject.h.

◆ getADC() [1/2]

const short* getADC ( short  channel) const
inline

Get ADC value.

Returns
charge collected in the strip.

Definition at line 175 of file SVDTransparentDigit.h.

◆ getADC() [2/2]

short getADC ( short  channel,
short  index 
) const
inline

Get ADC value.

Returns
charge collected in the strip.

Definition at line 184 of file SVDTransparentDigit.h.

◆ getApvID()

unsigned short getApvID ( ) const
inline

Get APV ID.

Returns
APV ID value.

Definition at line 165 of file SVDTransparentDigit.h.

◆ getCMC() [1/2]

const short* getCMC ( ) const
inline

Get total commom-mode correction value.

Returns
total commom-mode correction value

Definition at line 222 of file SVDTransparentDigit.h.

◆ getCMC() [2/2]

short getCMC ( short  index) const
inline

Get total commom-mode correction value.

Returns
total commom-mode correction value

Definition at line 226 of file SVDTransparentDigit.h.

◆ getCMC1() [1/2]

const short* getCMC1 ( ) const
inline

Get 1st commom-mode correction value.

Returns
1st commom-mode correction value

Definition at line 195 of file SVDTransparentDigit.h.

◆ getCMC1() [2/2]

short getCMC1 ( short  index) const
inline

Get 1st commom-mode correction value.

Returns
1st commom-mode correction value

Definition at line 200 of file SVDTransparentDigit.h.

◆ getCMC2() [1/2]

const short* getCMC2 ( ) const
inline

Get 2nd commom-mode correction value.

Returns
2nd commom-mode correction value

Definition at line 209 of file SVDTransparentDigit.h.

◆ getCMC2() [2/2]

short getCMC2 ( short  index) const
inline

Get 2nd commom-mode correction value.

Returns
2nd commom-mode correction value

Definition at line 213 of file SVDTransparentDigit.h.

◆ getCorrADC() [1/2]

const short* getCorrADC ( short  channel) const
inline

Get corrected ADC value with pedestal and common-mode.

Returns
ADC value corrected with pedestal and common-mode

Definition at line 290 of file SVDTransparentDigit.h.

◆ getCorrADC() [2/2]

short getCorrADC ( short  channel,
short  index 
) const
inline

Get corrected ADC value with pedestal and common-mode.

Returns
ADC value corrected with pedestal and common-mode

Definition at line 298 of file SVDTransparentDigit.h.

◆ getFadcID()

unsigned short getFadcID ( ) const
inline

Get FADC ID.

Returns
FADC ID value.

Definition at line 160 of file SVDTransparentDigit.h.

◆ getFineCMC() [1/2]

const short* getFineCMC ( short  channel) const
inline

Get total fine commom-mode correction value.

Returns
total fine commom-mode correction value

Definition at line 271 of file SVDTransparentDigit.h.

◆ getFineCMC() [2/2]

short getFineCMC ( short  channel,
short  index 
) const
inline

Get total fine commom-mode correction value.

Returns
total fine commom-mode correction value

Definition at line 279 of file SVDTransparentDigit.h.

◆ getFineCMC1() [1/2]

const short* getFineCMC1 ( short  channel) const
inline

Get 1st fine commom-mode correction value.

Returns
1st fine commom-mode correction value

Definition at line 235 of file SVDTransparentDigit.h.

◆ getFineCMC1() [2/2]

short getFineCMC1 ( short  channel,
short  index 
) const
inline

Get 1st fine commom-mode correction value.

Returns
1st fine commom-mode correction value

Definition at line 243 of file SVDTransparentDigit.h.

◆ getFineCMC2() [1/2]

const short* getFineCMC2 ( short  channel) const
inline

Get 2nd fine commom-mode correction value.

Returns
2nd fine commom-mode correction value

Definition at line 253 of file SVDTransparentDigit.h.

◆ getFineCMC2() [2/2]

short getFineCMC2 ( short  channel,
short  index 
) const
inline

Get 2nd fine commom-mode correction value.

Returns
2nd fine commom-mode correction value

Definition at line 261 of file SVDTransparentDigit.h.

◆ getFineCorrADC() [1/2]

const short* getFineCorrADC ( short  channel) const
inline

Get precisely corrected ADC value with pedestal and fine common-mode.

Returns
ADC value precisely corrected with pedestal and fine common-mode

Definition at line 309 of file SVDTransparentDigit.h.

◆ getFineCorrADC() [2/2]

short getFineCorrADC ( short  channel,
short  index 
) const
inline

Get precisely corrected ADC value with pedestal and fine common-mode.

Returns
ADC value precisely corrected with pedestal and fine common-mode

Definition at line 317 of file SVDTransparentDigit.h.

◆ getInfo()

std::string getInfo ( ) const
inlineinherited

Return a short summary of this object's contents in raw text format.

Returns the contents of getInfoHTML() while translating line-breaks etc.

Note
: You don't need to implement this function (it's not virtual), getInfoHTML() is enough.

Definition at line 370 of file RelationsObject.h.

◆ getInfoHTML()

virtual std::string getInfoHTML ( ) const
inlinevirtualinherited

Return a short summary of this object's contents in HTML format.

Reimplement this in your own class to provide useful output for display or debugging purposes. For example, you might do something like:

std::stringstream out;
out << "<b>PDG</b>: " << m_pdg << "<br>";
out << "<b>Covariance Matrix</b>: " << HTML::getString(getCovariance5()) << "<br>";
return out.str();
std::string getString(const TMatrixFBase &matrix, int precision=2, bool color=true)
get HTML table representing a matrix.
Definition: HTML.cc:24
See also
Particle::getInfoHTML() for a more complex example.
HTML for some utility functions.
Use getInfo() to get a raw text version of this output.

Reimplemented in RecoTrack, TRGSummary, TrackFitResult, Track, SoftwareTriggerResult, PIDLikelihood, MCParticle, Cluster, and Particle.

Definition at line 362 of file RelationsObject.h.

◆ getName()

virtual std::string getName ( ) const
inlinevirtualinherited

Return a short name that describes this object, e.g.

pi+ for an MCParticle.

Reimplemented in SpacePoint, MCParticle, and Particle.

Definition at line 344 of file RelationsObject.h.

◆ getNSample()

unsigned short getNSample ( ) const
inline

Get number of samples.

Returns
number of samples (1~6).

Definition at line 170 of file SVDTransparentDigit.h.

◆ getRelated()

T* getRelated ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to or from which this object has a relation.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 278 of file RelationsObject.h.

◆ getRelatedFrom()

FROM* getRelatedFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object from which this object has a relation.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 263 of file RelationsObject.h.

◆ getRelatedFromWithWeight()

std::pair<FROM*, float> getRelatedFromWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from an array.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 314 of file RelationsObject.h.

◆ getRelatedTo()

TO* getRelatedTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to which this object has a relation.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 248 of file RelationsObject.h.

◆ getRelatedToWithWeight()

std::pair<TO*, float> getRelatedToWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing to an array.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 297 of file RelationsObject.h.

◆ getRelatedWithWeight()

std::pair<T*, float> getRelatedWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from/to an array.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 331 of file RelationsObject.h.

◆ getRelationsFrom()

RelationVector<FROM> getRelationsFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from another store array to this object.

Template Parameters
FROMThe class of objects from which the relations point.
Parameters
nameThe name of the store array from which the relations point. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 212 of file RelationsObject.h.

◆ getRelationsTo()

RelationVector<TO> getRelationsTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from this object to another store array.

Template Parameters
TOThe class of objects to which the relations point.
Parameters
nameThe name of the store array to which the relations point. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 197 of file RelationsObject.h.

◆ getRelationsWith()

RelationVector<T> getRelationsWith ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations between this object and another store array.

Relations in both directions are returned.

Template Parameters
TThe class of objects to or from which the relations point.
Parameters
nameThe name of the store array to or from which the relations point. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 230 of file RelationsObject.h.

◆ getSensorID()

VxdID getSensorID ( void  ) const
inline

Get the sensor ID.

Returns
ID of the sensor.

Definition at line 150 of file SVDTransparentDigit.h.

◆ isUStrip()

bool isUStrip ( ) const
inline

Get strip direction.

Returns
true if u, false if v.

Definition at line 155 of file SVDTransparentDigit.h.

Member Data Documentation

◆ m_ADC

short m_ADC[128][6]
private

ADC values of strip signal.

Index represents channel index (0~127) and sample index (0~5).

Definition at line 620 of file SVDTransparentDigit.h.

◆ m_cmc

short m_cmc[6]
private

total common-mode correction values.

Index represents sample index (0~5).

Definition at line 624 of file SVDTransparentDigit.h.

◆ m_cmc1

short m_cmc1[6]
private

1st common-mode correction values.

Index represents sample index (0~5).

Definition at line 622 of file SVDTransparentDigit.h.

◆ m_cmc2

short m_cmc2[6]
private

2nd common-mode correction values.

Index represents sample index (0~5).

Definition at line 623 of file SVDTransparentDigit.h.

◆ m_corrADC

short m_corrADC[128][6]
private

ADC values of strip signal corrected by pedestal and commom-mode.

Index represents channel index (0~127) and sample index (0~5).

Definition at line 630 of file SVDTransparentDigit.h.

◆ m_fine_cmc

short m_fine_cmc[128][6]
private

Channel-dependent total common-mode correction values.

Index represents channel index (0~127) and sample index (0~5).

Definition at line 628 of file SVDTransparentDigit.h.

◆ m_fine_cmc1

short m_fine_cmc1[128][6]
private

Channel-dependent 1st common-mode correction values.

Index represents channel index (0~127) and sample index (0~5).

Definition at line 626 of file SVDTransparentDigit.h.

◆ m_fine_cmc2

short m_fine_cmc2[128][6]
private

Channel-dependent 2nd common-mode correction values.

Index represents channel index (0~127) and sample index (0~5).

Definition at line 627 of file SVDTransparentDigit.h.

◆ m_fine_corrADC

short m_fine_corrADC[128][6]
private

ADC values of strip signal precisely corrected by pedestal and fine commom-mode.

Index represents channel index (0~127) and sample index (0~5).

Definition at line 631 of file SVDTransparentDigit.h.


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