Project
Loading...
Searching...
No Matches
GeneratorGeantinos.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_GENERATORGEANTINOS_H
15#define ALICEO2_GENERATORGEANTINOS_H
16
18// //
19// //
20// Utility class to compute and draw Radiation Length Map //
21// //
22// //
24
25#include "FairGenerator.h"
26namespace o2
27{
28namespace eventgen
29{
31{
32
33 public:
35 GeneratorGeantinos(Int_t mode, Int_t nc1, Float_t c1min, Float_t c1max,
36 Int_t nc2, Float_t c2min, Float_t c2max,
37 Float_t rmin, Float_t rmax, Float_t zmax);
38 ~GeneratorGeantinos() override = default;
39 Bool_t ReadEvent(FairPrimaryGenerator* primGen) override;
40 // Getters
41 Float_t ZMax() const { return mZMax; }
42 Float_t RadMax() const { return mRadMax; }
43 Int_t NCoor1() const { return mNCoor1; }
44 Int_t NCoor2() const { return mNCoor2; }
45 // Helpers
47
48 protected:
49 Int_t mMode; // generation mode
50 Float_t mRadMin; // Generation radius
51 Float_t mRadMax; // Maximum tracking radius
52 Float_t mZMax; // Maximum tracking Z
53 Int_t mNCoor1; // Number of bins in Coor1
54 Int_t mNCoor2; // Number of bins in Coor2
55
56 Float_t mCoor1Min; // Minimum Coor1
57 Float_t mCoor1Max; // Maximum Coor1
58 Float_t mCoor2Min; // Minimum Coor2
59 Float_t mCoor2Max; // Maximum Coor2
60};
61} // namespace eventgen
62} // namespace o2
63#endif
static Float_t PropagateCylinder(Float_t *x, Float_t *v, Float_t r, Float_t z)
Bool_t ReadEvent(FairPrimaryGenerator *primGen) override
~GeneratorGeantinos() override=default
GLint GLenum GLint x
Definition glcorearb.h:403
GLenum mode
Definition glcorearb.h:266
const GLdouble * v
Definition glcorearb.h:832
GLboolean r
Definition glcorearb.h:1233
GLdouble GLdouble GLdouble z
Definition glcorearb.h:843
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...