![]() |
Project
|
#include <InteractionSampler.h>
Inherits o2::steer::InteractionSampler.
Public Member Functions | |
| FixedSkipBC_InteractionSampler (int every_n, int mult) | |
Public Member Functions inherited from o2::steer::InteractionSampler | |
| const o2::InteractionTimeRecord & | generateCollisionTime () |
| void | generateCollisionTimes (std::vector< o2::InteractionTimeRecord > &dest) |
| void | init () |
| void | setInteractionRate (float rateHz) |
| float | getInteractionRate () const |
| void | setFirstIR (const o2::InteractionRecord &ir) |
| const o2::InteractionRecord & | getFirstIR () const |
| void | setMuPerBC (float mu) |
| float | getMuPerBC () const |
| void | setBCTimeRMS (float tNS=0.2) |
| float | getBCTimeRMS () const |
| const BunchFilling & | getBunchFilling () const |
| BunchFilling & | getBunchFilling () |
| void | setBunchFilling (const BunchFilling &bc) |
| void | setBunchFilling (const std::string &bcFillingFile) |
| void | print () const |
Protected Member Functions | |
| int | simulateInteractingBC () override |
Protected Member Functions inherited from o2::steer::InteractionSampler | |
| void | nextCollidingBC (int n) |
| ClassDef (InteractionSampler, 1) | |
Additional Inherited Members | |
Static Public Attributes inherited from o2::steer::InteractionSampler | |
| static constexpr float | Sec2NanoSec = 1.e9 |
Protected Attributes inherited from o2::steer::InteractionSampler | |
| o2::math_utils::RandomRing< 10000 > | mBCJumpGenerator |
| o2::math_utils::RandomRing< 1000 > | mNCollBCGenerator |
| o2::math_utils::RandomRing< 1000 > | mCollTimeGenerator |
| o2::InteractionTimeRecord | mIR {{0, 0}, 0.} |
| o2::InteractionTimeRecord | mFirstIR {{4, 0}, 0.} |
| int | mIntBCCache = 0 |
| N interactions left for current BC. | |
| float | mIntRate = -1. |
| total interaction rate in Hz | |
| float | mBCTimeRMS = 0.2 |
| BC time spread in NANOSECONDS. | |
| double | mMuBC = -1. |
| interaction probability per BC | |
| o2::BunchFilling | mBCFilling |
| patter of active BCs | |
| std::vector< float > | mTimeInBC |
| interaction times within single BC | |
| std::vector< uint16_t > | mInteractingBCs |
| int | mCurrBCIdx = 0 |
| counter for current interacting bunch | |
Static Protected Attributes inherited from o2::steer::InteractionSampler | |
| static constexpr float | DefIntRate = 50e3 |
| default interaction rate | |
Definition at line 118 of file InteractionSampler.h.
|
inline |
Definition at line 122 of file InteractionSampler.h.
|
overrideprotectedvirtual |
Reimplemented from o2::steer::InteractionSampler.
Definition at line 134 of file InteractionSampler.cxx.