![]() |
ATLAS Offline Software
|
#include <BatchedMinbiasSvc.h>
Public Member Functions | |
| BatchedMinbiasSvc (const std::string &name, ISvcLocator *svc) | |
| Constructor. | |
| ~BatchedMinbiasSvc () | |
| Destructor. | |
| StatusCode | initialize () override |
| AthService initialize. | |
| StatusCode | beginHardScatter (const EventContext &ctx) override |
| StoreGateSvc * | getMinbias (const EventContext &ctx, std::uint64_t mb_id) override |
| std::size_t | getNumForBunch (const EventContext &ctx, int bunch) const override |
| virtual std::int64_t | get_hs_id (const EventContext &ctx) const override |
| StatusCode | endHardScatter (const EventContext &ctx) override |
Private Types | |
| using | SGHandle = ServiceHandle<StoreGateSvc> |
| using | SGHandleArray = std::vector<SGHandle> |
Private Member Functions | |
| int | event_to_batch (std::int64_t hs_id) |
| std::size_t | calcMBRequired (std::int64_t hs_id, std::size_t slot, unsigned int run, unsigned int lumi, std::uint64_t event) |
Private Attributes | |
| Gaudi::Property< std::uint64_t > | m_seed |
| Gaudi::Property< bool > | m_onDemandMB |
| Gaudi::Property< bool > | m_usePoisson |
| Gaudi::Property< bool > | m_useBeamInt |
| Gaudi::Property< bool > | m_useBeamLumi |
| Gaudi::Property< int > | m_MBBatchSize |
| Gaudi::Property< int > | m_NSimultaneousBatches |
| Gaudi::Property< int > | m_HSBatchSize |
| Gaudi::Property< int > | m_skippedHSEvents |
| Gaudi::Property< float > | m_nPerBunch |
| Gaudi::Property< int > | m_earliestDeltaBC |
| Gaudi::Property< int > | m_latestDeltaBC |
| Gaudi::Property< std::vector< int > > | m_actualNHSEventsPerBatch |
| ServiceHandle< ISkipEventIdxSvc > | m_skipEventIdxSvc |
| ServiceHandle< IEvtSelector > | m_bkgEventSelector |
| ServiceHandle< IBeamIntensity > | m_beamInt |
| ServiceHandle< IBeamLuminosity > | m_beamLumi |
| ServiceHandle< ActiveStoreSvc > | m_activeStoreSvc |
| SGHandle | m_spare_store |
| IEvtSelector::Context * | m_bkg_evt_sel_ctx |
| std::vector< std::vector< std::uint64_t > > | m_num_mb_by_bunch |
| std::vector< std::vector< std::uint64_t > > | m_idx_lists |
| std::map< int, std::unique_ptr< SGHandleArray > > | m_cache |
| std::map< int, std::mutex > | m_cache_mtxs |
| std::mutex | m_reading_batch_mtx |
| std::deque< std::unique_ptr< SGHandleArray > > | m_empty_caches |
| std::mutex | m_empty_caches_mtx |
| std::vector< std::unique_ptr< std::atomic_int > > | m_batch_use_count |
| std::atomic_int | m_last_loaded_batch |
Definition at line 28 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 49 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 50 of file BatchedMinbiasSvc.h.
| BatchedMinbiasSvc::BatchedMinbiasSvc | ( | const std::string & | name, |
| ISvcLocator * | svc ) |
Constructor.
Definition at line 32 of file BatchedMinbiasSvc.cxx.
| BatchedMinbiasSvc::~BatchedMinbiasSvc | ( | ) |
|
override |
Definition at line 286 of file BatchedMinbiasSvc.cxx.
|
private |
Definition at line 195 of file BatchedMinbiasSvc.cxx.
|
override |
Definition at line 416 of file BatchedMinbiasSvc.cxx.
|
private |
Definition at line 39 of file BatchedMinbiasSvc.cxx.
|
inlineoverridevirtual |
Definition at line 43 of file BatchedMinbiasSvc.h.
|
override |
Definition at line 397 of file BatchedMinbiasSvc.cxx.
|
override |
Definition at line 406 of file BatchedMinbiasSvc.cxx.
|
override |
AthService initialize.
Definition at line 43 of file BatchedMinbiasSvc.cxx.
|
private |
Definition at line 97 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 83 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 113 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 93 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 95 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 103 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 91 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 107 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 108 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 77 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 111 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 112 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 69 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 106 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 114 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 80 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 63 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 74 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 66 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 105 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 53 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 110 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 51 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 88 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 72 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 100 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 59 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 61 of file BatchedMinbiasSvc.h.
|
private |
Definition at line 56 of file BatchedMinbiasSvc.h.