Skip to content

Commit b723c7e

Browse files
committed
Move Zorro into Common/Core
1 parent 1be224f commit b723c7e

File tree

81 files changed

+159
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+159
-178
lines changed

Common/Core/AnalysisCoreLinkDef.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@
2828

2929
#pragma link C++ class FFitWeights + ;
3030

31+
#pragma link C++ class ZorroHelper + ;
32+
#pragma link C++ class ZorroSummary + ;
33+
#pragma link C++ class std::vector < ZorroHelper> + ;
34+
3135
#endif // COMMON_CORE_ANALYSISCORELINKDEF_H_

Common/Core/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ o2physics_add_library(AnalysisCore
2222
MetadataHelper.cxx
2323
CollisionTypeHelper.cxx
2424
FFitWeights.cxx
25+
Zorro.cxx
26+
ZorroSummary.cxx
2527
PUBLIC_LINK_LIBRARIES O2::Framework O2::DataFormatsParameters ROOT::EG O2::CCDB ROOT::Physics O2::FT0Base O2::FV0Base O2::DataFormatsParamTOF)
2628

2729
o2physics_target_root_dictionary(AnalysisCore
@@ -38,6 +40,9 @@ o2physics_target_root_dictionary(AnalysisCore
3840
PID/PIDTOFParamService.h
3941
CollisionTypeHelper.h
4042
FFitWeights.h
43+
Zorro.h
44+
ZorroHelper.h
45+
ZorroSummary.h
4146
LINKDEF AnalysisCoreLinkDef.h)
4247

4348
o2physics_add_header_only_library(TPCDriftManager
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include "Zorro.h"
1414

15-
#include "EventFiltering/ZorroHelper.h"
15+
#include "Common/Core/ZorroHelper.h"
1616

1717
#include <CCDB/BasicCCDBManager.h>
1818
#include <CommonConstants/LHCConstants.h>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Zorro
7575

7676
ZorroSummary mZorroSummary{"ZorroSummary", "ZorroSummary"};
7777

78-
std::string mBaseCCDBPath = "EventFiltering/Zorro/";
78+
std::string mBaseCCDBPath = "Common/Core/Zorro/";
7979
int mRunNumber = 0;
8080
std::pair<int64_t, int64_t> mRunDuration;
8181
int64_t mOrbitResetTimestamp = 0;

EventFiltering/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,3 @@ o2physics_add_dpl_workflow(lf-f1proton-filter
106106
SOURCES PWGLF/filterdoublephi.cxx
107107
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase
108108
COMPONENT_NAME Analysis)
109-
110-
o2physics_add_library(EventFilteringUtils
111-
SOURCES Zorro.cxx ZorroSummary.cxx
112-
INSTALL_HEADERS ZorroHelper.h ZorroSummary.h
113-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore Arrow::arrow_shared)
114-
115-
o2physics_target_root_dictionary(EventFilteringUtils
116-
HEADERS ZorroHelper.h ZorroSummary.h
117-
LINKDEF EventFilteringUtilsLinkDef.h)

EventFiltering/EventFilteringUtilsLinkDef.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

EventFiltering/macros/uploadOTSobjects.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
#include "TTree.h"
2727

2828
#include "CCDB/BasicCCDBManager.h"
29-
#include "EventFiltering/ZorroHelper.h"
29+
#include "Common/Core/ZorroHelper.h"
3030
#include "CommonConstants/LHCConstants.h"
3131

3232
constexpr uint32_t chunkSize = 1000000;
3333

3434
void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien, bool chunkedProcessing = true)
3535
{
36-
const std::string kBaseCCDBPath = "EventFiltering/Zorro/";
36+
const std::string kBaseCCDBPath = "Common/Core/Zorro/";
3737
std::string baseCCDBpath = passName.empty() ? kBaseCCDBPath : kBaseCCDBPath + passName + "/";
3838
if (useAlien) {
3939
TGrid::Connect("alien://");

0 commit comments

Comments
 (0)