Overlay
0.16.0
|
OverlayTiming processor for overlaying background to each bunch crossing of a bunch train. More...
#include <OverlayTiming.h>
Protected Types | |
typedef std::map< long long, EVENT::SimCalorimeterHit * > | DestMap |
typedef std::map< std::string, DestMap > | CollDestMap |
OverlayTiming processor for overlaying background to each bunch crossing of a bunch train.
A physics event is placed at a random or fixed position of the bunch train. Then background events are overlayed to each bunch crossing of the train and merged into the physics event.
For the merging, integration times can be given for each collection or subdetector, respectively. Then only hits are added to the physics event's collections, which fall into the integration time window of the specific subdetector
BackgroundFileNames | (StringVec) The names (with absolute or relative pathes) of the files from which the background should be read. It is the users responsibility to provide sufficient statistics for the signal sample under study. |
Delta_t | [ns] (float) - default 0.5 (0.5 ns) (CliC default) – Time difference between BXs in the BXtrain |
NBunchtrain | (int) - default 1 – Number of bunches in the bunch train |
TPCDriftvelocity | [mm/s] (float) - default 5.0e+7 (5cm/us) |
PhysicsBX | - default 1 – BX of the physics event. Is overwritten if Random number is chosen |
NumberBackground | - default 1 – Number of background events to overlay to one BX. This is either fixed (if Poisson_random_NOverlay = false) of the mean value if (if Poisson_random_NOverlay = true) |
Poisson_random_NOverlay | - default false – Overlay a random number of background events to each BX. If t, the number is pulled from a Poisson distribution. |
RandomBx | - default false – Put the physics event at a random number of the bunch train |
RandomSeed | (int) random seed - default 42 |