Project
Loading...
Searching...
No Matches
GeneratorTGenerator.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
13
14#ifndef ALICEO2_EVENTGEN_GENERATORTGENERATOR_H_
15#define ALICEO2_EVENTGEN_GENERATORTGENERATOR_H_
16
18
19class TGenerator;
20class TClonesArray;
21
22namespace o2
23{
24namespace eventgen
25{
26
27/*****************************************************************/
28/*****************************************************************/
29
31{
32
33 public:
37 GeneratorTGenerator(const Char_t* name, const Char_t* title = "ALICEo2 TGenerator Generator");
39 ~GeneratorTGenerator() override;
40
42 Bool_t generateEvent() override;
43 Bool_t importParticles() override;
44
46 void setTGenerator(TGenerator* val) { mTGenerator = val; };
47 const TGenerator* getTGenerator() const { return mTGenerator; }
49 Bool_t Init() override;
50
51 protected:
56
58 TGenerator* mTGenerator;
59 TClonesArray* mCloneParticles;
60
62
63};
65/*****************************************************************/
66/*****************************************************************/
67
68} // namespace eventgen
69} // namespace o2
70
71#endif /* ALICEO2_EVENTGEN_GENERATORTGENERATOR_H_ */
const TGenerator * getTGenerator() const
GeneratorTGenerator & operator=(const GeneratorTGenerator &)
GeneratorTGenerator(const GeneratorTGenerator &)
ClassDefOverride(GeneratorTGenerator, 1)
GLuint const GLchar * name
Definition glcorearb.h:781
GLuint GLfloat * val
Definition glcorearb.h:1582
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...