File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111o2_add_library (SimConfig
1212 SOURCES src/SimConfig.cxx src/ConfigurableParam.cxx
13- src/ConfigurableParamHelper.cxx src/SimCutParams.cxx
14- src/G4Params.cxx
13+ src/ConfigurableParamHelper.cxx src/SimCutParams.cxx
14+ src/DigiParams.cxx src/ G4Params.cxx
1515 PUBLIC_LINK_LIBRARIES O2::CommonUtils
1616 O2::DetectorsCommonDataFormats
1717 FairRoot::Base Boost::program_options
@@ -20,6 +20,7 @@ o2_add_library(SimConfig
2020o2_target_root_dictionary (SimConfig
2121 HEADERS include /SimConfig/SimConfig.h
2222 include /SimConfig/SimCutParams.h
23+ include /SimConfig/DigiParams.h
2324 include /SimConfig/ConfigurableParam.h
2425 include /SimConfig/ConfigurableParamHelper.h
2526 include /SimConfig/G4Params.h )
Original file line number Diff line number Diff line change 1+ // Copyright CERN and copyright holders of ALICE O2. This software is
2+ // distributed under the terms of the GNU General Public License v3 (GPL
3+ // Version 3), copied verbatim in the file "COPYING".
4+ //
5+ // See http://alice-o2.web.cern.ch/license for full licensing information.
6+ //
7+ // In applying this license CERN does not waive the privileges and immunities
8+ // granted to it by virtue of its status as an Intergovernmental Organization
9+ // or submit itself to any jurisdiction.
10+
11+ #ifndef O2_CONF_DIGIPARAMS_H_
12+ #define O2_CONF_DIGIPARAMS_H_
13+
14+ // Global parameters for digitization
15+
16+ #include " SimConfig/ConfigurableParam.h"
17+ #include " SimConfig/ConfigurableParamHelper.h"
18+ #include < string>
19+
20+ namespace o2
21+ {
22+ namespace conf
23+ {
24+ // Global parameters for digitization
25+
26+ struct DigiParams : public o2 ::conf::ConfigurableParamHelper<DigiParams> {
27+
28+ std::string ccdb = " http://ccdb-test.cern.ch:8080" ; // URL for CCDB acces
29+
30+ O2ParamDef (DigiParams, " DigiParams" );
31+ };
32+
33+ } // namespace conf
34+ } // namespace o2
35+
36+ #endif
Original file line number Diff line number Diff line change 1+ // Copyright CERN and copyright holders of ALICE O2. This software is
2+ // distributed under the terms of the GNU General Public License v3 (GPL
3+ // Version 3), copied verbatim in the file "COPYING".
4+ //
5+ // See http://alice-o2.web.cern.ch/license for full licensing information.
6+ //
7+ // In applying this license CERN does not waive the privileges and immunities
8+ // granted to it by virtue of its status as an Intergovernmental Organization
9+ // or submit itself to any jurisdiction.
10+
11+ #include " SimConfig/DigiParams.h"
12+
13+ O2ParamImpl (o2::conf::DigiParams);
Original file line number Diff line number Diff line change 1919#pragma link C++ class o2::conf::SimCutParams + ;
2020#pragma link C++ class o2::conf::ConfigurableParamHelper < o2::conf::SimCutParams> + ;
2121
22+ #pragma link C++ class o2::conf::DigiParams + ;
23+ #pragma link C++ class o2::conf::ConfigurableParamHelper < o2::conf::DigiParams> + ;
24+
2225#pragma link C++ enum o2::conf::EG4Physics;
2326#pragma link C++ struct o2::conf::G4Params + ;
2427#pragma link C++ class o2::conf::ConfigurableParamHelper < o2::conf::G4Params> + ;
You can’t perform that action at this time.
0 commit comments