12#include <klm/dataobjects/bklm/BKLMElementNumbers.h>
13#include <klm/dataobjects/bklm/BKLMStatus.h>
14#include <klm/dataobjects/KLMDigit.h>
17#include <framework/datastore/RelationsObject.h>
39 explicit BKLMHit1d(
const std::vector<std::pair<const KLMDigit*, double>>& digitsWithTime);
static int getSectorByModule(int module)
Get sector number by module identifier.
static int getStripByModule(int module)
Get strip number by module identifier.
static int getPlaneByModule(int module)
Get plane number (0 = z, 1 = phi) by module identifier.
@ c_FirstRPCLayer
First RPC layer.
static int getLayerByModule(int module)
Get layer number by module identifier.
static int getSectionByModule(int module)
Get section number by module identifier.
Store one reconstructed BKLM 1D hit as a ROOT object.
bool inRPC() const
Determine whether this 1D hit is in RPC or scintillator.
int getStripMin() const
Get lowest strip number of this 1D hit.
int getLayer() const
Get layer number.
BKLMHit1d()
Empty constructor for ROOT IO (needed to make the class storable)
float m_Time
reconstructed hit time (ns)
float getTime() const
Get reconstructed hit time.
int getSection() const
Get section number.
int getPlane() const
Get plane number.
void setTime(double time)
Set reconstructed hit time.
float m_EnergyDeposit
reconstructed pulse height (MeV)
int getSector() const
Get sector number.
int getModuleID() const
Get detector-module identifier.
bool isPhiReadout() const
Get readout coordinate.
int m_ModuleID
detector-module identifier
float getEnergyDeposit() const
Get energy deposition.
BKLMHit1d & operator=(const BKLMHit1d &)
Assignment operator.
int getStripMax() const
Get highest strip number of this 1D hit.
double getStripAve() const
Get average strip number.
static int getMaximalStrip(int module)
Get maximal strip number.
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.