Belle II Software
release-05-01-25
ADCCountTranslatorBase.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2012 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Martin Heck *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#ifndef ADCCOUNTTRANSLATORBASE_H
12
#define ADCCOUNTTRANSLATORBASE_H
13
14
#include <cdc/dataobjects/WireID.h>
15
16
#include <TMath.h>
17
18
namespace
Belle2
{
23
namespace
CDC {
25
class
ADCCountTranslatorBase {
26
public
:
28
ADCCountTranslatorBase
() {}
29
31
virtual
~ADCCountTranslatorBase
() {};
32
41
virtual
float
getCharge
(
unsigned
short
adcCount = 0,
42
const
WireID& wireID = WireID(),
43
bool
ambiguityDiscrimiator =
false
,
44
float
z = 0,
float
theta =
static_cast<
float
>
(TMath::Pi() / 2.)) = 0;
45
};
46
}
48
}
49
#endif
/* ADCCOUNTTRANSLATORBASE_H */
Belle2::CDC::ADCCountTranslatorBase::getCharge
virtual float getCharge(unsigned short adcCount=0, const WireID &wireID=WireID(), bool ambiguityDiscrimiator=false, float z=0, float theta=static_cast< float >(TMath::Pi()/2.))=0
Function, for which this actually was meant.
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::CDC::ADCCountTranslatorBase::ADCCountTranslatorBase
ADCCountTranslatorBase()
Constructor.
Definition:
ADCCountTranslatorBase.h:36
Belle2::CDC::ADCCountTranslatorBase::~ADCCountTranslatorBase
virtual ~ADCCountTranslatorBase()
Destructor is virtual, as this is supposed to be a base class.
Definition:
ADCCountTranslatorBase.h:39
cdc
dataobjects
include
ADCCountTranslatorBase.h
Generated on Fri Nov 5 2021 03:48:33 for Belle II Software by
1.8.17