Belle II Software
development
ADCCountTranslatorBase.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
#include <cdc/dataobjects/WireID.h>
12
13
#include <TMath.h>
14
15
namespace
Belle2
{
20
namespace
CDC {
22
class
ADCCountTranslatorBase
{
23
public
:
25
ADCCountTranslatorBase
() {}
26
28
virtual
~ADCCountTranslatorBase
() {};
29
38
virtual
float
getCharge
(
unsigned
short
adcCount = 0,
39
const
WireID
& wireID =
WireID
(),
40
bool
ambiguityDiscriminator =
false
,
41
float
z = 0,
float
theta =
static_cast<
float
>
(TMath::Pi() / 2.)) = 0;
42
};
43
}
45
}
Belle2::CDC::ADCCountTranslatorBase
Abstract Base class for the ADC count translator.
Definition:
ADCCountTranslatorBase.h:22
Belle2::CDC::ADCCountTranslatorBase::~ADCCountTranslatorBase
virtual ~ADCCountTranslatorBase()
Destructor is virtual, as this is supposed to be a base class.
Definition:
ADCCountTranslatorBase.h:28
Belle2::CDC::ADCCountTranslatorBase::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.))=0
Function, for which this actually was meant.
Belle2::CDC::ADCCountTranslatorBase::ADCCountTranslatorBase
ADCCountTranslatorBase()
Constructor.
Definition:
ADCCountTranslatorBase.h:25
Belle2::WireID
Class to identify a wire inside the CDC.
Definition:
WireID.h:34
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
cdc
translators
include
ADCCountTranslatorBase.h
Generated on Fri Nov 8 2024 02:34:55 for Belle II Software by
1.9.6