Belle II Software development
TTDOffsets.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
11namespace Belle2 {
18 class TTDOffsets: public TObject {
19 public:
20
27 { }
28
31
33 void setInjectionDelayHER(int delay) { m_injectionDelayHER = delay; }
35 void setInjectionDelayLER(int delay) { m_injectionDelayLER = delay; }
40
49
50
51 private:
52
58
64
68
72
74 };
75
77} //Belle2 namespace
This class contains information to correct the information obtained from the TTD (simple offsets)
Definition: TTDOffsets.h:18
int getInjectionDelayHER() const
Get the delay between the pre-kick signal and arrival of bunch at IP for HER in clock ticks.
Definition: TTDOffsets.h:42
~TTDOffsets()
Destructor.
Definition: TTDOffsets.h:30
void setInjectionDelayLER(int delay)
Set the delay between the pre-kick signal and arrival of bunch at IP for LER in clock ticks.
Definition: TTDOffsets.h:35
void setTriggeredBunchOffsetHER(int offset)
Set the offset between triggered bunch nr and SKB bunch nr for HER.
Definition: TTDOffsets.h:37
ClassDef(TTDOffsets, 1)
ROOTification.
int m_injectionDelayHER
The delay between the time of the injection pre-kick signal and the time the noisy bunch passes by th...
Definition: TTDOffsets.h:57
int getInjectionDelayLER() const
Get the delay between the pre-kick signal and arrival of bunch at IP for LER in clock ticks.
Definition: TTDOffsets.h:44
void setTriggeredBunchOffsetLER(int offset)
Set the offset between triggered bunch nr and SKB bunch nr for LER.
Definition: TTDOffsets.h:39
int m_triggeredBunchOffsetHER
The number of the triggered bunch provided by the TriggerTimeDistribution (TTD) may be offset by some...
Definition: TTDOffsets.h:67
int m_triggeredBunchOffsetLER
The number of the triggered bunch provided by the TriggerTimeDistribution (TTD) may be offset by some...
Definition: TTDOffsets.h:71
int getTriggeredBunchOffsetHER() const
Get the offset between triggered bunch nr and SKB bunch nr for HER.
Definition: TTDOffsets.h:46
TTDOffsets()
default constructor all offsets set to 0, use corresponding setters
Definition: TTDOffsets.h:24
int m_injectionDelayLER
The delay between the time of the injection pre-kick signal and the time the noisy bunch passes by th...
Definition: TTDOffsets.h:63
int getTriggeredBunchOffsetLER() const
Get the offset between triggered bunch nr and SKB bunch nr for LER.
Definition: TTDOffsets.h:48
void setInjectionDelayHER(int delay)
Set the delay between the pre-kick signal and arrival of bunch at IP for HER in clock ticks.
Definition: TTDOffsets.h:33
Abstract base class for different kinds of events.