Belle II Software development
ADCCountTranslatorBase Class Referenceabstract

Abstract Base class for the ADC count translator. More...

#include <ADCCountTranslatorBase.h>

Inheritance diagram for ADCCountTranslatorBase:
LinearGlobalADCCountTranslator

Public Member Functions

 ADCCountTranslatorBase ()
 Constructor.
 
virtual ~ADCCountTranslatorBase ()
 Destructor is virtual, as this is supposed to be a base class.
 
virtual float getCharge (unsigned short adcCount=0, const WireID &wireID=WireID(), bool ambiguityDiscriminator=false, float z=0, float theta=static_cast< float >(TMath::Pi()/2.))=0
 Function, for which this actually was meant.
 

Detailed Description

Abstract Base class for the ADC count translator.

Definition at line 22 of file ADCCountTranslatorBase.h.

Constructor & Destructor Documentation

◆ ADCCountTranslatorBase()

Constructor.

Definition at line 25 of file ADCCountTranslatorBase.h.

25{}

◆ ~ADCCountTranslatorBase()

virtual ~ADCCountTranslatorBase ( )
inlinevirtual

Destructor is virtual, as this is supposed to be a base class.

Definition at line 28 of file ADCCountTranslatorBase.h.

28{};

Member Function Documentation

◆ getCharge()

virtual float getCharge ( unsigned short  adcCount = 0,
const WireID wireID = WireID(),
bool  ambiguityDiscriminator = false,
float  z = 0,
float  theta = static_cast< float >(TMath::Pi()/2.) 
)
pure virtual

Function, for which this actually was meant.

Parameters
adcCountADC count as measured from the hardware. This is the sum of several flash-ADC measurements.
wireIDWireID, that uniquely identifies the wire for which the current translation is to be done.
ambiguityDiscriminatorInformation to resolve left/right ambiguity.
zz-position of the point, where the charge hit the wire.
thetaAngle under which the track moves in the drift cell in r-phi direction.

Implemented in LinearGlobalADCCountTranslator.


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