Skip to content

Commit aec692a

Browse files
author
wpierozak
committed
FT0: Updated CMakeLists for calibration
1 parent eb60797 commit aec692a

File tree

2 files changed

+50
-30
lines changed

2 files changed

+50
-30
lines changed

Detectors/FIT/FT0/calibration/CMakeLists.txt

Lines changed: 46 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,50 @@
1010
# or submit itself to any jurisdiction.
1111

1212
o2_add_library(FT0Calibration
13-
SOURCES
14-
src/FT0TimeOffsetSlotContainer.cxx
15-
PUBLIC_LINK_LIBRARIES
16-
O2::DataFormatsFT0
17-
O2::CommonDataFormat
18-
O2::DetectorsCalibration
19-
)
20-
o2_target_root_dictionary(FT0Calibration
21-
HEADERS
22-
include/FT0Calibration/FT0TimeOffsetSlotContainer.h
23-
)
24-
o2_add_executable(ft0-time-offset-calib
25-
COMPONENT_NAME calibration
26-
SOURCES workflow/FT0TimeOffsetCalibration-Workflow.cxx
27-
PUBLIC_LINK_LIBRARIES
28-
O2::FT0Calibration O2::FITCalibration
29-
)
30-
o2_add_executable(ft0-time-spectra-processor
31-
COMPONENT_NAME calibration
32-
SOURCES workflow/FT0TimeSpectraProcessor-Workflow.cxx
33-
PUBLIC_LINK_LIBRARIES
34-
O2::FT0Calibration
35-
)
36-
o2_add_executable(ft0-events-per-bc-processor
37-
COMPONENT_NAME calibration
38-
SOURCES workflow/FT0EventsPerBcProcessor-Workflow.cxx
39-
src/EventsPerBcCalibrator.cxx
40-
PUBLIC_LINK_LIBRARIES
41-
O2::FT0Calibration
42-
)
13+
SOURCES
14+
src/FT0TimeOffsetSlotContainer.cxx
15+
src/EventsPerBcCalibrator.cxx
16+
PUBLIC_LINK_LIBRARIES
17+
O2::DetectorsCalibration
18+
O2::Framework
19+
O2::CommonUtils
20+
Microsoft.GSL::GSL
21+
O2::DataFormatsFT0
22+
O2::CommonDataFormat
23+
O2::Steer
24+
O2::CCDB
25+
ROOT::Minuit
26+
)
27+
28+
o2_target_root_dictionary(FT0Calibration
29+
HEADERS
30+
include/FT0Calibration/FT0TimeOffsetSlotContainer.h
31+
include/FT0Calibration/EventsPerBcCalibrator.h
32+
)
33+
34+
o2_add_executable(ft0-time-offset-calib
35+
COMPONENT_NAME calibration
36+
SOURCES
37+
workflow/FT0TimeOffsetCalibration-Workflow.cxx
38+
PUBLIC_LINK_LIBRARIES
39+
O2::FT0Calibration O2::FITCalibration
40+
)
41+
42+
o2_add_executable(ft0-time-spectra-processor
43+
COMPONENT_NAME calibration
44+
SOURCES
45+
workflow/FT0TimeSpectraProcessor-Workflow.cxx
46+
PUBLIC_LINK_LIBRARIES
47+
O2::FT0Calibration
48+
)
49+
50+
o2_add_executable(ft0-events-per-bc-processor
51+
COMPONENT_NAME calibration
52+
SOURCES
53+
workflow/FT0EventsPerBcProcessor-Workflow.cxx
54+
PUBLIC_LINK_LIBRARIES
55+
O2::FT0Calibration
56+
O2::Framework
57+
O2::CCDB
58+
)
4359

Detectors/FIT/FT0/calibration/include/FT0Calibration/EventsPerBcCalibrator.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ namespace o2::ft0
2727
size_t entries{0};
2828
long startTimeStamp{0};
2929
long stopTimeStamp{0};
30+
31+
ClassDefNV(EventsPerBc, 1);
3032
};
3133

3234
class EventsPerBcCalibrator final : public o2::calibration::TimeSlotCalibration<o2::ft0::EventsPerBc>
@@ -48,6 +50,8 @@ namespace o2::ft0
4850
private:
4951
std::vector<std::unique_ptr<TH1F>> mTvxPerBcs;
5052
std::vector<std::unique_ptr<o2::ccdb::CcdbObjectInfo>> mTvxPerBcInfos;
53+
54+
ClassDefOverride(EventsPerBcCalibrator, 1);
5155
};
5256
}
5357

0 commit comments

Comments
 (0)