 |
Belle II Software
release-05-02-19
|
14 #include <vxd/dataobjects/VxdID.h>
15 #include <svd/dbobjects/SVDCalibrationsBase.h>
16 #include <svd/dbobjects/SVDCalibrationsVector.h>
17 #include <framework/database/DBObjPtr.h>
18 #include <svd/calibration/SVDPulseShapeCalibrations.h>
37 class SVDNoiseCalibrations {
39 static std::string
name;
40 typedef SVDCalibrationsBase< SVDCalibrationsVector< float > >
46 m_aDBObjPtr.addCallback([
this ](
const std::string&) ->
void {
47 B2INFO(
"SVDNoiseCalibrations: from now on we are using " <<
62 inline float getNoise(
const VxdID& sensorID,
const bool& isU ,
const unsigned short& strip)
const
Class to uniquely identify a any structure of the PXD and SVD.
DBObjPtr< t_payload > m_aDBObjPtr
the SVDNoiseCalibrations pyaload
SVDCalibrationsBase< SVDCalibrationsVector< float > > t_payload
typedef of the SVDNoiseCalibrations payload of all SVD strips
SVDNoiseCalibrations()
Constructor, no input argument is required.
baseType getLadderNumber() const
Get the ladder id.
TString getUniqueID()
returns the unique ID of the payload
static std::string name
name of the SVDNoiseCalibrations payload
double getChargeFromADC(const Belle2::VxdID &sensorID, const bool &isU, const unsigned short &strip, const double &pulseADC) const
Return the charge (number of electrons/holes) collected on a specific strip, given the number of ADC ...
Class for accessing objects in the database.
Abstract base class for different kinds of events.
baseType getSensorNumber() const
Get the sensor id.
float getNoise(const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
This is the method for getting the noise.
bool isValid()
returns true if the m_aDBObtPtr is valid in the requested IoV
baseType getLayerNumber() const
Get the layer id.
float getNoiseInElectrons(const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
This method provides the correct noise conversion into electrons, taking into account that the noise ...
This class defines the dbobject and the methods to access the SVD calibrations from the local runs pr...