2 #ifndef ALICALOCONSTANTS_H
3 #define ALICALOCONSTANTS_H
5 /**************************************************************************
6 * This file is property of and copyright by *
7 * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 *
9 * Primary Author: Per Thomas Hille <perthomas.hille@yale.edu> *
11 * Contributors are mentioned in the code where appropriate. *
12 * Please report bugs to perthomas.hille@yale.edu *
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 **************************************************************************/
23 namespace CaloConstants
25 namespace FitAlgorithm
27 enum fitAlgorithm { kLMS = 0, kCrude = 1, kPeakFinder = 2, kNeuralNet = 3, kFastFit= 4,
28 kLogFit = 5, kStandard = 6, kNONE = 7};
33 enum kReturnCode {kFitPar=1, kDummy=-1, kCrude=-9, kNoFit=-99, kInvalid=-9999};// possible return values
36 namespace PeakFinderConstants
38 const int MAXSTART = 3;
39 const int SAMPLERANGE = 15;
45 namespace Algo = CaloConstants::FitAlgorithm;
46 namespace Ret = CaloConstants::ReturnCodes;
47 namespace PF = CaloConstants::PeakFinderConstants;