Skip to content

Commit ef07cfe

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

File tree

81 files changed

+184
-202
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

+184
-202
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>

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: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
// or submit itself to any jurisdiction.
1111
//
1212

13-
#include <fstream>
14-
#include <iostream>
15-
#include <vector>
16-
#include <string>
17-
#include <map>
18-
#include <array>
19-
#include <cmath>
13+
#include "Common/Core/ZorroHelper.h"
14+
15+
#include "CCDB/BasicCCDBManager.h"
16+
#include "CommonConstants/LHCConstants.h"
2017

2118
#include "TFile.h"
2219
#include "TGrid.h"
@@ -25,9 +22,13 @@
2522
#include "TSystem.h"
2623
#include "TTree.h"
2724

28-
#include "CCDB/BasicCCDBManager.h"
29-
#include "EventFiltering/ZorroHelper.h"
30-
#include "CommonConstants/LHCConstants.h"
25+
#include <array>
26+
#include <cmath>
27+
#include <fstream>
28+
#include <iostream>
29+
#include <map>
30+
#include <string>
31+
#include <vector>
3132

3233
constexpr uint32_t chunkSize = 1000000;
3334

0 commit comments

Comments
 (0)