EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eicsmeardetectors.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file eicsmeardetectors.hh
1 #ifndef EICSMEARDETECTORS_HH
2 #define EICSMEARDETECTORS_HH
3 
4 #include <string>
5 #include <iostream>
6 #include <cctype>
7 
9 // #include "eicsmear/smear/NumSigmaPid.h"
10 // #include "piddetectors/TofBarrelSmearer.h"
11 // #include "piddetectors/tofBarrel.h"
12 
16 Smear::Detector BuildMatrixDetector_0_1_FF( const int beam_mom_nn=100 );
25 Smear::Detector BuildePHENIX_0_0(bool multipleScattering=true);
26 
27 // experimental
28 // Smear::Detector BuildMatrixDetector_0_1_TOF();
31 
32 // experimental
34 Smear::Detector BuildCore_0_1( const double Bfield );
35 
36 
37 
45 // We could probably pull some tricks with variadic arguments,
46 // https://en.cppreference.com/w/cpp/utility/variadic
47 // But it's probably safer and more readable to
48 // overload below for scripts that need parameters
49 // Note that if you allow a default parameter, the detector needs
50 // to appear here here as well
51 // Notes:
52 // - If we put it in the Smear namespace, for some reason it doesn't get picked up by the autoloader
53 // - Tab completion for plain functions isn't supported by root (modules are the future, but that doesn't help)
54 
55 Smear::Detector BuildByName (std::string dname);
56 
60 Smear::Detector BuildByName ( std::string dname, const double d);
61 
62 #endif //EICSMEARDETECTORS_HH