Belle II Software development
CDCMCManager.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#pragma once
9
10#include <framework/dataobjects/EventMetaData.h>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
18 class CDCMCTrackLookUp;
19 class CDCMCSegment3DLookUp;
20 class CDCMCSegment2DLookUp;
21 class CDCMCHitLookUp;
22
23 class CDCSimHitLookUp;
24 class CDCMCTrackStore;
25 class CDCMCMap;
26
27
30
31 public:
33 static CDCMCManager& getInstance();
34
37
40
42 static const CDCMCMap& getMCMap();
43
45 static const CDCMCTrackStore& getMCTrackStore();
46
48 static const CDCSimHitLookUp& getSimHitLookUp();
49
51 static const CDCMCHitLookUp& getMCHitLookUp();
52
55
58
60 static const CDCMCTrackLookUp& getMCTrackLookUp();
61
62 private:
64 CDCMCManager() = default;
65
66 public:
69
71 void clear();
72
74 void fill();
75
76 private:
79 };
80 }
82}
Store event, run, and experiment numbers.
Definition: EventMetaData.h:33
Interface class to the Monte Carlo information for individual hits.
Class to organize and present the monte carlo hit information.
Definition: CDCMCManager.h:29
static const CDCSimHitLookUp & getSimHitLookUp()
Getter for the singletone instance of the CDCSimHitLookUp.
Definition: CDCMCManager.cc:90
CDCMCManager()=default
Default constructor only accessable for getInstance()
static const CDCMCSegment2DLookUp & getMCSegment2DLookUp()
Getter for the singletone instance of the CDCMCSegment2DLookUp.
CDCMCManager(CDCMCManager &)=delete
Singleton: Delete copy constructor and assignment operator.
CDCMCManager & operator=(const CDCMCManager &)=delete
Operator =.
static const CDCMCSegment3DLookUp & getMCSegment3DLookUp()
Getter for the singletone instance of the CDCMCSegment3DLookUp.
static const CDCMCHitLookUp & getMCHitLookUp()
Getter for the singletone instance of the CDCMCHitLookUp.
Definition: CDCMCManager.cc:95
static const CDCMCTrackLookUp & getMCTrackLookUp()
Getter for the singletone instance of the CDCMCTrackLookUp.
static const CDCMCTrackStore & getMCTrackStore()
Getter for the singletone instance of the CDCMCTrackStore.
Definition: CDCMCManager.cc:85
EventMetaData m_eventMetaData
Memory for the event, run and experminent number corresponding to the currently stored data.
Definition: CDCMCManager.h:78
void requireTruthInformation()
Require the mc information store arrays.
void clear()
Clears all Monte Carlo information present in the last event.
static const CDCMCMap & getMCMap()
Getter for the singletone instance of the CDCMCMap.
Definition: CDCMCManager.cc:80
void fill()
Fill Monte Carlo look up maps from the DataStore.
static CDCMCManager & getInstance()
Getter for the singletone instance.
Definition: CDCMCManager.cc:74
Class to organize and present the monte carlo hit information.
Definition: CDCMCMap.h:28
Specialisation of the lookup for the truth values of two dimensional segments.
Specialisation of the lookup for the truth values of two dimensional segments.
Specialisation of the lookup for the truth values of reconstructed tracks.
Class to organize and present the monte carlo hit information.
Singletone class to gather local information about the hits.
Abstract base class for different kinds of events.