ATLAS Offline Software
LArCalorimeter
LArG4
LArG4GenShowerLib
LArG4GenShowerLib
StepInfoCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARG4GENSHOWERLIB_STEPINFOCOLLECTION_H
6
#define LARG4GENSHOWERLIB_STEPINFOCOLLECTION_H
7
8
// athena includes
9
#include "
AthContainers/DataVector.h
"
10
11
// local include
12
#include "
LArG4GenShowerLib/StepInfo.h
"
13
//#include <string>
14
16
namespace
ShowerLib
17
{
18
31
class
StepInfoCollection
:
public
DataVector
<StepInfo>
32
{
33
34
public
:
35
36
StepInfoCollection
() :
detector
(),
invalid_energy
(0) {}
37
38
char
detector
[10];
//10 should be enough
39
float
invalid_energy
;
//the amount of energy deposited outside the region
40
41
};
42
43
}
// namespace ShowerLib
44
45
#include "
AthenaKernel/CLASS_DEF.h
"
46
47
CLASS_DEF
(
ShowerLib::StepInfoCollection
, 1151967000 , 1 )
48
49
#endif // LARG4GENSHOWERLIB_STEPINFOCOLLECTION_H
StepInfo.h
ShowerLib::StepInfoCollection::detector
char detector[10]
Definition:
StepInfoCollection.h:38
ShowerLib::StepInfoCollection
Class for collection of StepInfo class (G4 hits)
Definition:
StepInfoCollection.h:32
ShowerLib::StepInfoCollection::StepInfoCollection
StepInfoCollection()
Definition:
StepInfoCollection.h:36
ShowerLib::StepInfoCollection::invalid_energy
float invalid_energy
Definition:
StepInfoCollection.h:39
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
ShowerLib
Namespace for the ShowerLib related classes.
Definition:
LArG4GenShowerLib.h:19
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Jul 4 2024 21:27:20 for ATLAS Offline Software by
1.8.18