ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleClipboard.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// ParticleClipboard.h, (c) ATLAS Detector software
8
9#ifndef ISF_EVENT_PARTICLECLIPBOARD_H
10#define ISF_EVENT_PARTICLECLIPBOARD_H
11
13
14namespace ISF {
15
16 // forward declarations
17 class ISFParticle;
18
32
33 class ATLAS_NOT_THREAD_SAFE ParticleClipboard { // mostly obsolete: ATLASSIM-128
34
35 public:
37 inline static ParticleClipboard& getInstance();
38
40 inline void setParticle(const ISF::ISFParticle &p);
42 inline const ISF::ISFParticle *getParticle() const;
43
44 private :
51
54 };
55
56 //
57 // inlined methods
58 //
59
62 static ParticleClipboard staticClipboard;
63 return staticClipboard;
64 }
65
70
75
76} // end of namespace
77
78#endif // ISF_EVENT_PARTICLECLIPBOARD_H
79
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
The generic ISF particle definition,.
Definition ISFParticle.h:42
This singleton is used to pass current particle information between different namespaces,...
ParticleClipboard(ParticleClipboard const &)
empty copy constructor
void operator=(ParticleClipboard const &)
empty assignemtn operator
ParticleClipboard()
private constructor
const ISFParticle * m_particle
the actual particle in the clipboard
static ParticleClipboard & getInstance()
get the singleton instance
const ISF::ISFParticle * getParticle() const
get the particle from the clipboard
void setParticle(const ISF::ISFParticle &p)
save a particle on the clipboard
ISFParticleOrderedQueue.
#define private