Project
Loading...
Searching...
No Matches
GenCosmicsParam.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
12#ifndef ALICEO2_GENCOSMICSPARAM_H
13#define ALICEO2_GENCOSMICSPARAM_H
14
17
18// @file GenCosmicsParam
19// @author ruben.shahoyan@cern.ch
20// @brief Parameters for cosmics generation
21
22namespace o2
23{
24namespace eventgen
25{
26struct GenCosmicsParam : public o2::conf::ConfigurableParamHelper<GenCosmicsParam> {
27 enum GenParamType : int { ParamMI,
29 ParamTPC }; // source parameterizations
41 int nPart = 1;
42 int maxTrials = 10000000;
43 float maxAngle = 45.;
44 float origin = 550.;
45 float pmin = 0.5;
46 float pmax = 100;
47 float customAccX = 250;
48 float customAccZ = 250;
49
50 // boilerplate stuff + make principal key
52};
53
54} // namespace eventgen
55} // namespace o2
56
57#endif
GLenum GLfloat param
Definition glcorearb.h:271
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
float pmin
min total momentum
int nPart
number of particles per event
float customAccX
require particle to pass within this |X| at Y=0 if AccType=custom is selected
int maxTrials
number of failed trials to abandon generation
O2ParamDef(GenCosmicsParam, "cosmics")
float pmax
max total momentum
float customAccZ
require particle to pass within this |Z| at Y=0 if AccType=custom is selected
float maxAngle
max angle wrt azimuth to generate (in degrees)
float origin
create particle at this radius