ATLAS Offline Software
CreateData.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // CreateData.h
8 // Header file for class CreateData
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHEXTHINNING_CREATEDATA_H
12 #define ATHEXTHINNING_CREATEDATA_H
13 
21 // STL includes
22 #include <string>
23 
24 
25 // FrameWork includes
27 
28 // Forward declaration
29 
30 namespace AthExThinning {
31 
32 class CreateData : public AthAlgorithm
33 {
34 
36  // Public methods:
38  public:
39 
40  // Copy constructor:
41 
43  CreateData( const std::string& name, ISvcLocator* pSvcLocator );
44 
46  virtual ~CreateData();
47 
48  // Assignment operator:
49  //CreateData &operator=(const CreateData &alg);
50 
51  // Athena algorithm's Hooks
52  virtual StatusCode initialize();
53  virtual StatusCode execute();
54  virtual StatusCode finalize();
55 
57  // Protected methods:
59  protected:
60 
63 
65  StatusCode makeData( const std::string& testName );
66 
68  // Protected data:
70  protected:
71 
73  std::vector<std::string> m_testNames;
74 
75  // Containers
76 
78  StringProperty m_particlesOutputName;
79 
81  UnsignedIntegerProperty m_nbrParticles;
82 
84  StringProperty m_decayOutputName;
85 
87  StringProperty m_elephantinoOutputName;
88 
89 
90 };
91 
92 } //> end namespace AthExThinning
93 
94 #endif //> ATHEXTHINNING_CREATEDATA_H
AthExThinning::CreateData::m_decayOutputName
StringProperty m_decayOutputName
Decay object output location.
Definition: CreateData.h:84
AthExThinning::CreateData::m_testNames
std::vector< std::string > m_testNames
list of test-names to create data for (default: test1,test2,test3)
Definition: CreateData.h:73
AthExThinning::CreateData::m_nbrParticles
UnsignedIntegerProperty m_nbrParticles
Number of particles to generate.
Definition: CreateData.h:81
AthExThinning::CreateData::m_particlesOutputName
StringProperty m_particlesOutputName
Particles output location.
Definition: CreateData.h:78
AthExThinning
Definition: CreateData.h:30
AthExThinning::CreateData::initialize
virtual StatusCode initialize()
Definition: CreateData.cxx:83
AthExThinning::CreateData::execute
virtual StatusCode execute()
Definition: CreateData.cxx:95
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthExThinning::CreateData::m_elephantinoOutputName
StringProperty m_elephantinoOutputName
Elephantino object output location.
Definition: CreateData.h:87
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
AthExThinning::CreateData::CreateData
CreateData()
Default constructor:
AthExThinning::CreateData
Definition: CreateData.h:33
AthExThinning::CreateData::makeData
StatusCode makeData(const std::string &testName)
make data for a test
Definition: CreateData.cxx:114
AthExThinning::CreateData::finalize
virtual StatusCode finalize()
Definition: CreateData.cxx:89
AthExThinning::CreateData::~CreateData
virtual ~CreateData()
Destructor:
Definition: CreateData.cxx:78