Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
sPHElectronPairContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file sPHElectronPairContainer.h
1
#ifndef __SPHELECTRONPAIRCONTAINER_H__
2
#define __SPHELECTRONPAIRCONTAINER_H__
3
4
#include <
phool/PHObject.h
>
5
#include <iostream>
6
#include <map>
7
8
#include "
sPHElectronPair.h
"
9
10
class
sPHElectronPairContainer
:
public
PHObject
11
{
12
public
:
13
// typedef std::map<unsigned int, sPHElectronPair*> PairMap;
14
// typedef std::map<unsigned int, sPHElectronPair*>::const_iterator ConstIter;
15
// typedef std::map<unsigned int, sPHElectronPair*>::iterator Iter;
16
17
virtual
~sPHElectronPairContainer
() {}
18
19
virtual
void
identify
(std::ostream&
os
= std::cout)
const
20
{
os
<<
"sPHElectronPairContainer base class"
<< std::endl; }
21
22
virtual
void
Reset
() {}
23
virtual
void
clear
() {}
24
virtual
int
isValid
()
const
{
return
0; }
25
virtual
size_t
size
()
const
{
return
0; }
26
virtual
bool
empty
()
const
{
return
true
; }
// returns true if container empty
27
virtual
PHObject
*
CloneMe
()
const
{
return
nullptr
; }
28
29
// virtual const sPHElectronPair* get(unsigned int id) const {return nullptr;}
30
// virtual sPHElectronPair* get(unsigned int id) {return nullptr;}
31
// virtual void insert(const sPHElectronPair* pair) {return nullptr;}
32
// virtual size_t erase(unsigned int id) {return 0;}
33
34
// virtual ConstIter begin() const { return PairMap().end(); }
35
// virtual ConstIter find(unsigned int id) const { return PairMap().end(); }
36
// virtual ConstIter end() const { return PairMap().end(); }
37
38
// virtual Iter begin() { return PairMap().end(); }
39
// virtual Iter find(unsigned int id) { return PairMap().end(); }
40
// virtual Iter end() { return PairMap().end(); }
41
42
protected
:
43
sPHElectronPairContainer
() {}
44
ClassDef
(
sPHElectronPairContainer
, 1);
45
};
46
47
#endif
48
analysis
blob
master
EventMix
src
sPHElectronPairContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration