Belle II Software development
|
Class to store unpacked raw data (hits in feature-extraction format) It provides also calculation of 50% CFD leading and falling edge times and errors. More...
#include <TOPRawDigit.h>
Public Types | |
enum | ErrorFlags { c_HeadMagic = 0x0001 , c_TailMagic = 0x0002 , c_HitMagic = 0x0004 , c_HitChecksum = 0x0008 } |
Enum for error flags; bits set if corresponding data not consistent. More... | |
enum | EDataTypes { c_Undefined = 0 , c_MC = 1 , c_Interim = 2 , c_Production = 3 , c_ProductionDebug = 4 , c_Other = 99 } |
Enum for data types needed to steer time conversion in TOPRawDigitConverter. More... | |
enum | { c_WindowSize = 64 } |
Various constants. More... | |
Public Member Functions | |
TOPRawDigit () | |
Default constructor. | |
TOPRawDigit (unsigned short scrodID, EDataTypes dataType) | |
Usefull constructor. | |
void | setCarrierNumber (unsigned short carrier) |
Sets carrier board number. | |
void | setASICNumber (unsigned short asic) |
Sets ASIC number. | |
void | setASICChannel (unsigned short channel) |
Sets ASIC channel number. | |
void | setASICWindow (unsigned short window) |
Sets first storage window number (logical window number) | |
void | setStorageWindows (const std::vector< unsigned short > &windows) |
Sets storage windows of waveform segments. | |
void | setLastWriteAddr (unsigned short window) |
Sets current (reference) window number. | |
void | setTFine (unsigned short tfine) |
Sets fine timing for 50% CFD at rising edge (within two samples) | |
void | setSampleRise (unsigned short sample) |
Sets sample number just before 50% CFD crossing at leading edge. | |
void | setDeltaSamplePeak (unsigned short dsample) |
Sets peak position relative to m_sampleRise. | |
void | setDeltaSampleFall (unsigned short dsample) |
Sets falling edge sample number just before 50% CFD crossing relative to m_sampleRise. | |
void | setValueRise0 (short adc) |
Sets ADC value at m_sampleRise. | |
void | setValueRise1 (short adc) |
Sets ADC value at m_sampleRise + 1. | |
void | setValuePeak (short adc) |
Sets ADC value at m_sampleRise + m_dSamplePeak (e.g. | |
void | setValueFall0 (short adc) |
Sets ADC value at m_sampleRise + m_dSampleFall. | |
void | setValueFall1 (short adc) |
Sets ADC value at m_sampleRise + m_dSampleFall + 1. | |
void | setIntegral (int integral) |
Sets integral of a pulse (e.g. | |
void | setRevo9Counter (unsigned short revo9Counter) |
Sets number of global clock tics since last revo9 flag (production firmware only) | |
void | setPhase (unsigned short phase) |
Sets beam orbit synchronisation phase (production firmware only) 9-state count: valid values are 0 - 8. | |
void | setLookBackWindows (unsigned short lookBack) |
Sets number of look-back windows. | |
void | setErrorFlags (unsigned short flags) |
Sets error flags. | |
void | setOfflineFlag () |
Sets offline flag: telling that this digit was extracted offline in basf2. | |
EDataTypes | getDataType () const |
Returns data type. | |
unsigned | getScrodID () const |
Returns SCROD ID. | |
unsigned | getCarrierNumber () const |
Returns carrier board number. | |
unsigned | getASICNumber () const |
Returns ASIC number. | |
unsigned | getASICChannel () const |
Returns ASIC channel number. | |
unsigned | getScrodChannel () const |
Returns channel number within SCROD (in the range 0 - 127) | |
unsigned | getASICWindow () const |
Returns ASIC storage window number. | |
const std::vector< unsigned short > & | getStorageWindows () const |
Returns storage window numbers of waveform segments (not always available!) | |
unsigned | getLastWriteAddr () const |
Returns current (reference) ASIC window number. | |
unsigned | getTFine () const |
Returns fine timing for 50% CFD (within two samples) | |
unsigned | getSampleRise () const |
Returns sample number at leading edge just before 50% CFD crossing. | |
unsigned | getDeltaSamplePeak () const |
Returns peak position relative to m_sampleRise. | |
unsigned | getSamplePeak () const |
Returns peak position. | |
unsigned | getDeltaSampleFall () const |
Returns sample number at falling edge just before 50% CFD relative to m_sampleRise. | |
unsigned | getSampleFall () const |
Returns sample number at falling edge just before 50% CFD crossing. | |
int | getValueRise0 () const |
Returns ADC value at leading edge (at m_sampleRise) | |
int | getValueRise1 () const |
Returns ADC value at leading edge (at m_sampleRise + 1) | |
int | getValuePeak () const |
Returns ADC value at peak (e.g. | |
int | getValueFall0 () const |
Returns ADC value at falling edge (at m_sampleRise + m_dSampleFall) | |
int | getValueFall1 () const |
Returns ADC value at falling edge (at m_sampleRise + m_dSampleFall + 1) | |
int | getIntegral () const |
Returns integral of a pulse (e.g. | |
unsigned short | getRevo9Counter () const |
Returns 127 MHz clock ticks since last revo9 marker. | |
unsigned short | getLookBackWindows () const |
Returns number of look-back windows. | |
unsigned short | getPhase () const |
Returns beam orbit synchronisation phase (9-state count: valid values are 0 - 8) | |
unsigned short | getErrorFlags () const |
Returns error flags. | |
double | getLeadingSlope () const |
Returns leading edge slope. | |
double | getFallingSlope () const |
Returns falling edge slope. | |
double | getCFDLeadingTime () const |
Returns leading edge CFD time. | |
double | getCFDFallingTime () const |
Returns falling edge CFD time. | |
double | getCFDLeadingTimeError (double rmsNoise) const |
Returns leading edge CFD time uncertainty (assuming uncorrelated noise) | |
double | getCFDFallingTimeError (double rmsNoise) const |
Returns falling edge CFD time uncertainty (assuming uncorrelated noise) | |
double | getFWHM () const |
Returns signal full width half maximum. | |
bool | isLeadingEdgeValid () const |
Checks if leading edge is consistently defined. | |
bool | isFallingEdgeValid () const |
Checks if falling edge is consistently defined. | |
bool | isFEValid () const |
Checks if feature extraction points make sense. | |
bool | isPedestalJump () const |
Checks if feature extraction finds a pedestal jump. | |
bool | isAtWindowDiscontinuity (unsigned short storageDepth=508) const |
Checks if feature extraction points are at window discontinuity (e.g. | |
bool | areWindowsInOrder (unsigned short storageDepth=508) const |
Checks if storage windows come in the consecutive order before the last sample (no gaps before the last sample) Note: returns true if m_windows is empty. | |
double | correctTime (double time, unsigned short storageDepth=508) const |
Corrects time after window discontinuity by adding missing samples. | |
bool | isWindowConsistent () const |
Checks if the first window number is the same as the first one in m_windows Note: returns true if m_windows is empty. | |
bool | isMadeOffline () const |
Returns offline flag. | |
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). | |
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). | |
void | copyRelations (const RelationsInterface< BASE > *sourceObj) |
Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights). | |
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. | |
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. | |
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. | |
template<class TO > | |
TO * | getRelatedTo (const std::string &name="", const std::string &namedRelation="") const |
Get the object to which this object has a relation. | |
template<class FROM > | |
FROM * | getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const |
Get the object from which this object has a relation. | |
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. | |
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. | |
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. | |
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. | |
virtual std::string | getName () const |
Return a short name that describes this object, e.g. | |
virtual std::string | getInfoHTML () const |
Return a short summary of this object's contents in HTML format. | |
std::string | getInfo () const |
Return a short summary of this object's contents in raw text format. | |
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 | |
double | timeCFDCrossing (int sample, int value, double slope) const |
calculates time of 50% CFD crossing | |
double | timeErrorCoefficient (double y1, double y2) const |
Calculate the coefficient of time error. | |
bool | checkEdge (int v1, int v2, int vp) const |
Checks if values v1, v2 and vp are consistent. | |
ClassDef (TOPRawDigit, 6) | |
ClassDef. | |
Private Attributes | |
unsigned short | m_scrodID = 0 |
SCROD ID. | |
unsigned short | m_carrier = 0 |
carrier board number | |
unsigned short | m_asic = 0 |
ASIC number. | |
unsigned short | m_channel = 0 |
ASIC channel number. | |
unsigned short | m_window = 0 |
first ASIC storage window number | |
unsigned short | m_TFine = 0 |
fine timing for 50% CFD (within two samples) | |
unsigned short | m_sampleRise = 0 |
sample number just before 50% CFD crossing | |
unsigned short | m_dSamplePeak = 0 |
peak position relative to m_sampleRise | |
unsigned short | m_dSampleFall = 0 |
same for falling edge, rel. | |
short | m_VRise0 = 0 |
ADC value at m_sampleRise. | |
short | m_VRise1 = 0 |
ADC value at m_sampleRise + 1. | |
short | m_VPeak = 0 |
ADC value at m_sampleRise + m_dSamplePeak. | |
short | m_VFall0 = 0 |
ADC value at m_sampleRise + m_dSampleFall. | |
short | m_VFall1 = 0 |
ADC value at m_sampleRise + m_dSampleFall + 1. | |
int | m_integral = 0 |
integral of a pulse (proportional to charge) | |
unsigned short | m_revo9Counter = 0 |
number of clock ticks since last revo9 flag | |
unsigned short | m_phase = 0 |
carrier phase | |
unsigned short | m_lookBackWindows = 0 |
number of look-back windows | |
unsigned short | m_errorFlags = 0 |
feature extraction error flags (see enum) | |
unsigned short | m_lastWriteAddr = 0 |
current (reference) window number | |
std::vector< unsigned short > | m_windows |
storage windows of waveform segments | |
bool | m_offline = false |
feature extraction flag: by firmware or software | |
EDataTypes | m_dataType = c_Undefined |
data type | |
DataStore::StoreEntry * | m_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. | |
Class to store unpacked raw data (hits in feature-extraction format) It provides also calculation of 50% CFD leading and falling edge times and errors.
Definition at line 24 of file TOPRawDigit.h.
anonymous enum |
Various constants.
Enumerator | |
---|---|
c_WindowSize | number of samples per window |
Definition at line 53 of file TOPRawDigit.h.
enum EDataTypes |
Enum for data types needed to steer time conversion in TOPRawDigitConverter.
Definition at line 41 of file TOPRawDigit.h.
enum ErrorFlags |
Enum for error flags; bits set if corresponding data not consistent.
Enumerator | |
---|---|
c_HeadMagic | if magic number not 0xA |
c_TailMagic | if magic bits not '101' = 0x5 |
c_HitMagic | if magic number not 0xB |
c_HitChecksum | if sum of 16-bit words not zero |
Definition at line 30 of file TOPRawDigit.h.
|
inline |
|
inline |
Usefull constructor.
scrodID | SCROD ID |
dataType | data type |
Definition at line 68 of file TOPRawDigit.h.
|
inlineinherited |
Add a relation from this object to another object (with caching).
object | The object to which the relation should point. |
weight | The weight of the relation. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 142 of file RelationsObject.h.
|
inlineinherited |
Add a relation from this object to another object (no caching, can be quite slow).
object | The object to which the relation should point. |
weight | The weight of the relation. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 155 of file RelationsObject.h.
|
inlineprivate |
Checks if values v1, v2 and vp are consistent.
Definition at line 505 of file TOPRawDigit.h.
|
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.
|
inlineinherited |
Returns this object's array index (in StoreArray), or -1 if not found.
Definition at line 385 of file RelationsObject.h.
|
inlineinherited |
Get name of array this object is stored in, or "" if not found.
Definition at line 377 of file RelationsObject.h.
|
inlineprotectedinherited |
Returns the pointer to the raw DataStore array holding this object (protected since these arrays are easy to misuse).
Definition at line 418 of file RelationsObject.h.
|
inline |
Returns ASIC channel number.
Definition at line 230 of file TOPRawDigit.h.
|
inline |
|
inline |
Returns ASIC storage window number.
Definition at line 243 of file TOPRawDigit.h.
|
inline |
Returns carrier board number.
Definition at line 218 of file TOPRawDigit.h.
|
inline |
Returns falling edge CFD time.
Definition at line 378 of file TOPRawDigit.h.
|
inline |
Returns falling edge CFD time uncertainty (assuming uncorrelated noise)
rmsNoise | r.m.s of the pedestal fluctuations [ADC counts] |
Definition at line 398 of file TOPRawDigit.h.
|
inline |
Returns leading edge CFD time.
Definition at line 369 of file TOPRawDigit.h.
|
inline |
Returns leading edge CFD time uncertainty (assuming uncorrelated noise)
rmsNoise | r.m.s of the pedestal fluctuations [ADC counts] |
Definition at line 388 of file TOPRawDigit.h.
|
inline |
|
inline |
Returns sample number at falling edge just before 50% CFD relative to m_sampleRise.
Definition at line 285 of file TOPRawDigit.h.
|
inline |
Returns peak position relative to m_sampleRise.
Definition at line 273 of file TOPRawDigit.h.
|
inline |
Returns error flags.
Definition at line 351 of file TOPRawDigit.h.
|
inline |
Returns falling edge slope.
Definition at line 363 of file TOPRawDigit.h.
|
inline |
Returns signal full width half maximum.
Definition at line 407 of file TOPRawDigit.h.
|
inlineinherited |
Return a short summary of this object's contents in raw text format.
Returns the contents of getInfoHTML() while translating line-breaks etc.
Definition at line 370 of file RelationsObject.h.
|
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:
Reimplemented in Particle, Cluster, MCParticle, PIDLikelihood, SoftwareTriggerResult, Track, TrackFitResult, TRGSummary, and RecoTrack.
Definition at line 362 of file RelationsObject.h.
|
inline |
Returns integral of a pulse (e.g.
a value proportional to charge)
Definition at line 327 of file TOPRawDigit.h.
|
inline |
Returns current (reference) ASIC window number.
Definition at line 255 of file TOPRawDigit.h.
|
inline |
Returns leading edge slope.
Definition at line 357 of file TOPRawDigit.h.
|
inline |
Returns number of look-back windows.
Definition at line 339 of file TOPRawDigit.h.
|
inlinevirtualinherited |
Return a short name that describes this object, e.g.
pi+ for an MCParticle.
Reimplemented in Particle, MCParticle, and SpacePoint.
Definition at line 344 of file RelationsObject.h.
|
inline |
Returns beam orbit synchronisation phase (9-state count: valid values are 0 - 8)
Definition at line 345 of file TOPRawDigit.h.
|
inlineinherited |
Get the object to or from which this object has a relation.
T | The class of objects to or from which the relation points. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 278 of file RelationsObject.h.
|
inlineinherited |
Get the object from which this object has a relation.
FROM | The class of objects from which the relation points. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 263 of file RelationsObject.h.
|
inlineinherited |
Get first related object & weight of relation pointing from an array.
FROM | The class of objects from which the relation points. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 314 of file RelationsObject.h.
|
inlineinherited |
Get the object to which this object has a relation.
TO | The class of objects to which the relation points. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 248 of file RelationsObject.h.
|
inlineinherited |
Get first related object & weight of relation pointing to an array.
TO | The class of objects to which the relation points. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 297 of file RelationsObject.h.
|
inlineinherited |
Get first related object & weight of relation pointing from/to an array.
T | The class of objects to or from which the relation points. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 331 of file RelationsObject.h.
|
inlineinherited |
Get the relations that point from another store array to this object.
FROM | The class of objects from which the relations point. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 212 of file RelationsObject.h.
|
inlineinherited |
Get the relations that point from this object to another store array.
TO | The class of objects to which the relations point. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 197 of file RelationsObject.h.
|
inlineinherited |
Get the relations between this object and another store array.
Relations in both directions are returned.
T | The class of objects to or from which the relations point. |
name | The 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. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 230 of file RelationsObject.h.
|
inline |
Returns 127 MHz clock ticks since last revo9 marker.
Definition at line 333 of file TOPRawDigit.h.
|
inline |
Returns sample number at falling edge just before 50% CFD crossing.
Definition at line 291 of file TOPRawDigit.h.
|
inline |
|
inline |
Returns sample number at leading edge just before 50% CFD crossing.
Definition at line 267 of file TOPRawDigit.h.
|
inline |
Returns channel number within SCROD (in the range 0 - 127)
Definition at line 237 of file TOPRawDigit.h.
|
inline |
|
inline |
Returns storage window numbers of waveform segments (not always available!)
Definition at line 249 of file TOPRawDigit.h.
|
inline |
Returns fine timing for 50% CFD (within two samples)
Definition at line 261 of file TOPRawDigit.h.
|
inline |
Returns ADC value at falling edge (at m_sampleRise + m_dSampleFall)
Definition at line 315 of file TOPRawDigit.h.
|
inline |
Returns ADC value at falling edge (at m_sampleRise + m_dSampleFall + 1)
Definition at line 321 of file TOPRawDigit.h.
|
inline |
Returns ADC value at peak (e.g.
pulse height)
Definition at line 309 of file TOPRawDigit.h.
|
inline |
Returns ADC value at leading edge (at m_sampleRise)
Definition at line 297 of file TOPRawDigit.h.
|
inline |
Returns ADC value at leading edge (at m_sampleRise + 1)
Definition at line 303 of file TOPRawDigit.h.
|
inline |
Checks if falling edge is consistently defined.
Definition at line 419 of file TOPRawDigit.h.
|
inline |
Checks if feature extraction points make sense.
Definition at line 425 of file TOPRawDigit.h.
|
inline |
|
inline |
Returns offline flag.
Definition at line 477 of file TOPRawDigit.h.
|
inline |
Checks if the first window number is the same as the first one in m_windows Note: returns true if m_windows is empty.
Definition at line 467 of file TOPRawDigit.h.
|
inline |
Sets ASIC channel number.
channel | number |
Definition at line 88 of file TOPRawDigit.h.
|
inline |
Sets ASIC number.
asic | number |
Definition at line 82 of file TOPRawDigit.h.
|
inline |
Sets first storage window number (logical window number)
window | number |
Definition at line 94 of file TOPRawDigit.h.
|
inline |
Sets carrier board number.
carrier | number |
Definition at line 76 of file TOPRawDigit.h.
|
inline |
Sets falling edge sample number just before 50% CFD crossing relative to m_sampleRise.
dsample | sample difference |
Definition at line 134 of file TOPRawDigit.h.
|
inline |
Sets peak position relative to m_sampleRise.
dsample | sample difference |
Definition at line 127 of file TOPRawDigit.h.
|
inline |
Sets error flags.
flags | error flags |
Definition at line 195 of file TOPRawDigit.h.
|
inline |
Sets integral of a pulse (e.g.
a value proportional to charge)
integral |
Definition at line 170 of file TOPRawDigit.h.
|
inline |
Sets current (reference) window number.
window | number |
Definition at line 109 of file TOPRawDigit.h.
|
inline |
Sets number of look-back windows.
lookBack | number of look-back windows |
Definition at line 189 of file TOPRawDigit.h.
|
inline |
Sets offline flag: telling that this digit was extracted offline in basf2.
Definition at line 200 of file TOPRawDigit.h.
|
inline |
Sets beam orbit synchronisation phase (production firmware only) 9-state count: valid values are 0 - 8.
phase | beam orbit sunchronisation phase |
Definition at line 183 of file TOPRawDigit.h.
|
inline |
Sets number of global clock tics since last revo9 flag (production firmware only)
revo9Counter | counter state |
Definition at line 176 of file TOPRawDigit.h.
|
inline |
Sets sample number just before 50% CFD crossing at leading edge.
sample | number |
Definition at line 121 of file TOPRawDigit.h.
|
inline |
Sets storage windows of waveform segments.
windows | window numbers |
Definition at line 100 of file TOPRawDigit.h.
|
inline |
Sets fine timing for 50% CFD at rising edge (within two samples)
tfine | fine timing |
Definition at line 115 of file TOPRawDigit.h.
|
inline |
Sets ADC value at m_sampleRise + m_dSampleFall.
adc | value |
Definition at line 158 of file TOPRawDigit.h.
|
inline |
Sets ADC value at m_sampleRise + m_dSampleFall + 1.
adc | value |
Definition at line 164 of file TOPRawDigit.h.
|
inline |
Sets ADC value at m_sampleRise + m_dSamplePeak (e.g.
pulse height)
adc | value |
Definition at line 152 of file TOPRawDigit.h.
|
inline |
Sets ADC value at m_sampleRise.
adc | value |
Definition at line 140 of file TOPRawDigit.h.
|
inline |
Sets ADC value at m_sampleRise + 1.
adc | value |
Definition at line 146 of file TOPRawDigit.h.
|
inlineprivate |
calculates time of 50% CFD crossing
sample | sample number |
value | ADC value at sample number |
slope | slope of a line |
Definition at line 488 of file TOPRawDigit.h.
|
private |
ASIC number.
Definition at line 513 of file TOPRawDigit.h.
|
mutableprivateinherited |
Cache of the index in the TClonesArray to which this object belongs.
Definition at line 432 of file RelationsObject.h.
|
mutableprivateinherited |
Cache of the data store entry to which this object belongs.
Definition at line 429 of file RelationsObject.h.
|
private |
carrier board number
Definition at line 512 of file TOPRawDigit.h.
|
private |
ASIC channel number.
Definition at line 514 of file TOPRawDigit.h.
|
private |
data type
Definition at line 533 of file TOPRawDigit.h.
|
private |
|
private |
peak position relative to m_sampleRise
Definition at line 518 of file TOPRawDigit.h.
|
private |
feature extraction error flags (see enum)
Definition at line 529 of file TOPRawDigit.h.
|
private |
integral of a pulse (proportional to charge)
Definition at line 525 of file TOPRawDigit.h.
|
private |
current (reference) window number
Definition at line 530 of file TOPRawDigit.h.
|
private |
number of look-back windows
Definition at line 528 of file TOPRawDigit.h.
|
private |
feature extraction flag: by firmware or software
Definition at line 532 of file TOPRawDigit.h.
|
private |
carrier phase
Definition at line 527 of file TOPRawDigit.h.
|
private |
number of clock ticks since last revo9 flag
Definition at line 526 of file TOPRawDigit.h.
|
private |
sample number just before 50% CFD crossing
Definition at line 517 of file TOPRawDigit.h.
|
private |
SCROD ID.
Definition at line 511 of file TOPRawDigit.h.
|
private |
fine timing for 50% CFD (within two samples)
Definition at line 516 of file TOPRawDigit.h.
|
private |
ADC value at m_sampleRise + m_dSampleFall.
Definition at line 523 of file TOPRawDigit.h.
|
private |
ADC value at m_sampleRise + m_dSampleFall + 1.
Definition at line 524 of file TOPRawDigit.h.
|
private |
ADC value at m_sampleRise + m_dSamplePeak.
Definition at line 522 of file TOPRawDigit.h.
|
private |
ADC value at m_sampleRise.
Definition at line 520 of file TOPRawDigit.h.
|
private |
ADC value at m_sampleRise + 1.
Definition at line 521 of file TOPRawDigit.h.
|
private |
first ASIC storage window number
Definition at line 515 of file TOPRawDigit.h.
|
private |
storage windows of waveform segments
Definition at line 531 of file TOPRawDigit.h.