BOSS
7.0.4
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
InstallArea/include/SimHelpers/SimHelpers/AthenaHitsCollectionHelper.h
Go to the documentation of this file.
1
#ifndef AthenaHitsCollectionHelper_H
2
#define AthenaHitsCollectionHelper_H
3
4
#include <string>
5
// Generic interface to a hit collection. it should be used to
6
// remove any dependency between sensitive detectors and the
7
// underlying storing system..
8
#include "GaudiKernel/ISvcLocator.h"
9
#include "GaudiKernel/Bootstrap.h"
10
#include "GaudiKernel/MsgStream.h"
11
#include "GaudiKernel/IMessageSvc.h"
12
13
// #include "StoreGate/StoreGateSvc.h"
14
15
class
AthenaHitsCollectionHelper
{
16
public
:
17
AthenaHitsCollectionHelper
();
18
virtual
~AthenaHitsCollectionHelper
();
19
// following can't be virtual
20
/*
21
template <typename collectionType>
22
void ExportCollection(collectionType* collection)
23
{
24
StatusCode status = m_storeGate->record(collection,collection->Name(),false);
25
if (status.isFailure())
26
{
27
std::cout
28
<< "Failed to record and lock HitCollection in StoreGate!"
29
<< std::endl;
30
}
31
else
32
{
33
}
34
}
35
*/
36
/*
37
template <typename collectionType>
38
const DataHandle< collectionType > RetrieveCollection(std::string name="")
39
{
40
const DataHandle< collectionType > collMDT;
41
if (name.empty())
42
StatusCode status = m_storeGate->retrieve( collMDT );
43
else
44
StatusCode status = m_storeGate->retrieve( collMDT , name);
45
return collMDT;
46
}
47
*/
48
private
:
49
// StoreGateSvc* m_storeGate;
50
};
51
52
#endif
53
AthenaHitsCollectionHelper
Definition:
InstallArea/include/SimHelpers/SimHelpers/AthenaHitsCollectionHelper.h:15
AthenaHitsCollectionHelper::~AthenaHitsCollectionHelper
virtual ~AthenaHitsCollectionHelper()
Definition:
AthenaHitsCollectionHelper.cxx:15
AthenaHitsCollectionHelper::AthenaHitsCollectionHelper
AthenaHitsCollectionHelper()
Definition:
AthenaHitsCollectionHelper.cxx:4
source
InstallArea
include
SimHelpers
SimHelpers
AthenaHitsCollectionHelper.h
Generated by
1.9.6