Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
DecayFinder.cc
DecayFinder.h
DecayFinderContainer_v1.cc
DecayFinderContainer_v1.h
DecayFinderContainer_v1LinkDef.h
DecayFinderContainerBase.cc
DecayFinderContainerBase.h
DecayFinderContainerBaseLinkDef.h
DecayFinderContainerLinkDef.h
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DecayFinderContainer_v1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DecayFinderContainer_v1.h
1
#ifndef DECAYFINDER_DECAYFINDERCONTAINERV1_H
2
#define DECAYFINDER_DECAYFINDERCONTAINERV1_H
3
4
#include "
DecayFinderContainerBase.h
"
5
6
#include <cstddef>
// for size_t
7
#include <iostream>
// for cout, ostream
8
15
class
PHObject
;
16
17
class
DecayFinderContainer_v1
:
public
DecayFinderContainerBase
18
{
19
public
:
20
DecayFinderContainer_v1
();
21
DecayFinderContainer_v1
(
const
DecayFinderContainer_v1
& decayfindermap);
22
DecayFinderContainer_v1
&
operator=
(
const
DecayFinderContainer_v1
& decayfindermap);
23
~DecayFinderContainer_v1
()
override
;
24
25
void
identify
(std::ostream&
os
= std::cout)
const override
;
26
// cppcheck-suppress virtualCallInConstructor
27
void
Reset
()
override
;
28
int
isValid
()
const override
{
return
1; }
29
PHObject
*
CloneMe
()
const override
{
return
new
DecayFinderContainerBase
(*
this
); }
30
31
bool
empty
()
const override
{
return
m_decaymap
.empty(); }
32
size_t
size
()
const override
{
return
m_decaymap
.size(); }
33
size_t
count
(
unsigned
int
key)
const override
{
return
m_decaymap
.count(key); }
34
void
clear
()
override
{
Reset
(); }
35
36
const
Decay
get
(
unsigned
int
key)
const
override
;
37
Decay
get
(
unsigned
int
key)
override
;
38
39
ConstIter
begin
()
const override
{
return
m_decaymap
.begin(); }
40
ConstIter
find
(
unsigned
int
key)
const override
{
return
m_decaymap
.find(key); }
41
ConstIter
end
()
const override
{
return
m_decaymap
.end(); }
42
43
Iter
begin
()
override
{
return
m_decaymap
.begin(); }
44
Iter
find
(
unsigned
int
key)
override
{
return
m_decaymap
.find(key); }
45
Iter
end
()
override
{
return
m_decaymap
.end(); }
46
47
Decay
insert
(
const
Decay
& decay)
override
;
48
49
// Use the PDG MC ID to return a subset of the DecayFinder container, if those particle exist in the container
50
Map
returnDecaysByPDGid
(
int
PDGid)
override
;
51
52
size_t
erase
(
unsigned
int
key)
override
;
53
54
private
:
55
Map
m_decaymap
;
56
57
ClassDefOverride
(
DecayFinderContainer_v1
, 1);
58
};
59
60
#endif // DECAYFINDER_DECAYFINDERCONTAINERV1_H
coresoftware
blob
master
offline
packages
decayfinder
DecayFinderContainer_v1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration