]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliCaloConstants.h
monte carlo flag
[u/mrichter/AliRoot.git] / EMCAL / AliCaloConstants.h
CommitLineData
168c7b3c 1// -*- mode: c++ -*-
2#ifndef ALICALOCONSTANTS_H
3#define ALICALOCONSTANTS_H
4
5/**************************************************************************
6 * This file is property of and copyright by *
7 * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 *
8 * *
9 * Primary Author: Per Thomas Hille <perthomas.hille@yale.edu> *
10 * *
11 * Contributors are mentioned in the code where appropriate. *
12 * Please report bugs to perthomas.hille@yale.edu *
13 * *
14 * Permission to use, copy, modify and distribute this software and its *
15 * documentation strictly for non-commercial purposes is hereby granted *
16 * without fee, provided that the above copyright notice appears in all *
17 * copies and that both the copyright notice and this permission notice *
18 * appear in the supporting documentation. The authors make no claims *
19 * about the suitability of this software for any purpose. It is *
20 * provided "as is" without express or implied warranty. *
21 **************************************************************************/
22
23namespace CaloConstants
24{
25 namespace FitAlgorithm
26 {
27 enum fitAlgorithm { kLMS = 0, kCrude = 1, kPeakFinder = 2, kNeuralNet = 3, kFastFit= 4,
28 kLogFit = 5, kStandard = 6, kNONE = 7};
29 };
30
31 namespace ReturnCodes
32 {
33 enum kReturnCode {kFitPar=1, kDummy=-1, kCrude=-9, kNoFit=-99, kInvalid=-9999};// possible return values
34 };
35
36 namespace PeakFinderConstants
37 {
38 const int MAXSTART = 3;
39 const int SAMPLERANGE = 15;
40 };
41};
42
43
44//For easier notation
45namespace Algo = CaloConstants::FitAlgorithm;
46namespace Ret = CaloConstants::ReturnCodes;
47namespace PF = CaloConstants::PeakFinderConstants;
48
49#endif