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
15namespace Belle2 {
20 namespace CDC {
23 public:
26
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}
Abstract Base class for the ADC count translator.
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.
Class to identify a wire inside the CDC.
Definition: WireID.h:34
Abstract base class for different kinds of events.