Belle II Software development
PXDOccupancyEvent.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/RelationsObject.h>
12
13namespace Belle2 {
27
28 public:
29
32 m_posU(0.0), m_posV(0.0), m_size(0), m_charge(0.0),
33 m_occupancy(0.0)
34 {}
35
46 PXDOccupancyEvent(unsigned short layer, unsigned short ladder, unsigned short sensor,
47 float posU, float posV, unsigned short size, float charge,
48 float occupancy):
49 m_layer(layer), m_ladder(ladder), m_sensor(sensor), m_posU(posU), m_posV(posV),
50 m_size(size), m_charge(charge), m_occupancy(occupancy)
51 {}
52
53 unsigned short m_layer;
54 unsigned short m_ladder;
55 unsigned short m_sensor;
56 float m_posU;
57 float m_posV;
58 unsigned short m_size;
59 float m_charge;
63 };
65} // end namespace Belle2
Class PXDOccupancyEvent: PXDCluster data container for background studies.
unsigned short m_sensor
sensor number
float m_occupancy
contribution to occupancy
float m_posU
local coordinate of cluster
unsigned short m_layer
layer number
unsigned short m_size
Cluster size.
float m_charge
cluster charge
unsigned short m_ladder
ladder number
float m_posV
local coordinate of cluster
PXDOccupancyEvent()
default constructor for ROOT
PXDOccupancyEvent(unsigned short layer, unsigned short ladder, unsigned short sensor, float posU, float posV, unsigned short size, float charge, float occupancy)
Standard constructor.
Defines interface for accessing relations of objects in StoreArray.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.