ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
30
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
CLASS_DEF.h
macros to associate a CLID to a type
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:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
StepInfo.h
DataVector< StepInfo >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
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
ShowerLib::StepInfoCollection::detector
char detector[10]
Definition
StepInfoCollection.h:38
ShowerLib
Namespace for the ShowerLib related classes.
Definition
StepInfo.h:17
Generated on
for ATLAS Offline Software by
1.17.0