Belle II Software development
SVDCrossTalkFinderHelperFunctions.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 <framework/datastore/StoreArray.h>
12#include <framework/datastore/StoreObjPtr.h>
13
14#include <vxd/dataobjects/VxdID.h>
15
16namespace Belle2 {
27 inline void occupancyPDFName(const VxdID& sensor, int side, std::string& PDFName)
28 {
29
30 int layer = sensor.getLayerNumber();
31 int ladder = sensor.getLadderNumber();
32 int sens = sensor.getSensorNumber();
33
34
35 PDFName = std::to_string(layer) + "." + std::to_string(ladder) + "." + std::to_string(sens) + "." + std::to_string(side);
36
37
38 }
40} //Belle2 namespace
Class to uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:33
void occupancyPDFName(const VxdID &sensor, int side, std::string &PDFName)
Function to maintain common naming convention between calibration occupancy file generation and occup...
Abstract base class for different kinds of events.