diff --git a/Modules/FIT/FT0/CMakeLists.txt b/Modules/FIT/FT0/CMakeLists.txt
index 4ae5f80d72..8ae5c2bc4f 100644
--- a/Modules/FIT/FT0/CMakeLists.txt
+++ b/Modules/FIT/FT0/CMakeLists.txt
@@ -2,8 +2,7 @@
add_library(O2QcFT0)
-target_sources(O2QcFT0 PRIVATE src/TH1ReductorLaser.cxx
- src/DigitQcTaskLaser.cxx
+target_sources(O2QcFT0 PRIVATE src/AgingLaserTask.cxx
src/DigitQcTask.cxx
src/GenericCheck.cxx
src/CFDEffCheck.cxx
@@ -32,8 +31,7 @@ install(TARGETS O2QcFT0
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
add_root_dictionary(O2QcFT0
- HEADERS include/FT0/TH1ReductorLaser.h
- include/FT0/DigitQcTaskLaser.h
+ HEADERS include/FT0/AgingLaserTask.h
include/FT0/DigitQcTask.h
include/FT0/PostProcTask.h
include/FT0/CFDEffCheck.h
@@ -70,7 +68,6 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/FT0
# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
#)
-
# ---- Test(s) ----
#set(TEST_SRCS test/testQcFT0.cxx) # uncomment to reenable the test which was empty
@@ -91,6 +88,7 @@ endforeach()
# ----- Configs -------
install(FILES
ft0-reconstruction-config.json
+ etc/ft0-aging-laser.json
DESTINATION etc)
get_property(dirs
diff --git a/Modules/FIT/FT0/README.md b/Modules/FIT/FT0/README.md
new file mode 100644
index 0000000000..a96c101768
--- /dev/null
+++ b/Modules/FIT/FT0/README.md
@@ -0,0 +1,33 @@
+# FT0 quality control
+
+## Aging monitoring
+
+The aging monitoring of FT0 is performed by 1 minute long laser runs that should be launched after each beam dump. A dedicated QC task is analyzing the laser data: `o2::quality_control_modules::ft0::AgingLaserTask`.
+
+At the moment the QC task is adapted to the FT0 laser calibration system (LCS) and the monitoring of the FT0 aging. If needed, the task can be generalized to work with other FIT detectors.
+
+### Monitoring principles
+
+The schematics of the LCS is shown below. Per laser pulse, there will be two signals in each reference channel and one signal in each detector channel. The signals are separated in time by well defined delays, so one can identify them by BC ID.
+
+
+
+More information about the LCS and the hardware side of the aging monitoring can be found [here](https://indico.cern.ch/event/1229241/contributions/5172798/attachments/2561719/4420583/Ageing-related%20tasks.pdf).
+
+### `AgingLaserTask` configuration
+
+An example configuration can be found in `etc/ft0-aging-laser.json`. The task parameters are:
+
+- `detectorChannelIDs`: list of detector channels to be monitored. Omit this parameter to use all.
+- `referenceChannelIDs`: the reference channel IDs, should be: "208, 209, 210, 211".
+- `detectorAmpCut`: Lower cut on the detector amplitude in ADC ch, default "0". **TODO**: this has no effect at the moment.
+- `referenceAmpCut`: Lower cut on the reference channel amplitude in ADC ch to ignore cross talk, default "100".
+- `laserTriggerBCs`: list of BCs when the laser fires, should be "0, 1783".
+- `detectorBCdelay`: amount of BCs after the laser trigger BCs when the laser pulse is expected in the detector, should be "131".
+- `referencePeak1BCdelays`: amount of BCs after the laser trigger BCs when the first laser pulse is expected in the reference channels, should be "115, 115, 115, 115". One value per reference channel, even though they will be the same with the current LCS setup.
+- `referencePeak2BCdelays`: amount of BCs after the laser trigger BCs when the second laser pulse is expected in the reference channels, should be "136, 142, 135, 141". One value per reference channel.
+- `debug`: If true, an additional set of plots can be produced for debugging purposes, default "false".
+
+The channel ID and BC values delays are rather fixed and should not change unless the LCS changes significantly.
+
+**TODO**: should we apply the amplitude cuts in the SliceTrendingTask instead?
diff --git a/Modules/FIT/FT0/etc/ft0-aging-laser.json b/Modules/FIT/FT0/etc/ft0-aging-laser.json
new file mode 100644
index 0000000000..3686779058
--- /dev/null
+++ b/Modules/FIT/FT0/etc/ft0-aging-laser.json
@@ -0,0 +1,51 @@
+{
+ "qc": {
+ "config": {
+ "database": {
+ "implementation": "CCDB",
+ "#host": "ccdb-test.cern.ch:8080",
+ "host": "http://localhost:8080",
+ "username": "not_applicable",
+ "password": "not_applicable",
+ "name": "not_applicable"
+ },
+ "monitoring": {
+ "url": "infologger:///debug?qc"
+ },
+ "consul": {
+ "url": ""
+ },
+ "conditionDB": {
+ "url": "alice-ccdb.cern.ch"
+ },
+ "bookkeeping": {
+ "url": ""
+ }
+ },
+ "tasks": {
+ "AgingLaser": {
+ "active": "true",
+ "className": "o2::quality_control_modules::ft0::AgingLaserTask",
+ "moduleName": "QcFT0",
+ "detectorName": "FT0",
+ "cycleDurationSeconds": "300",
+ "maxNumberCycles": "-1",
+ "dataSource": {
+ "type": "direct",
+ "query": "digits:FT0/DIGITSBC/0;channels:FT0/DIGITSCH/0"
+ },
+ "taskParameters": {
+ "#detectorChannelIDs": "omit to use all",
+ "referenceChannelIDs": "208, 209, 210, 211",
+ "detectorAmpCut": "0",
+ "referenceAmpCut": "100",
+ "laserTriggerBCs": "0, 1783",
+ "detectorBCdelay": "131",
+ "referencePeak1BCdelays": "115, 115, 115, 115",
+ "referencePeak2BCdelays": "136, 142, 135, 141",
+ "debug": "false"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/Modules/FIT/FT0/images/lcs.png b/Modules/FIT/FT0/images/lcs.png
new file mode 100644
index 0000000000..90b5432a3c
Binary files /dev/null and b/Modules/FIT/FT0/images/lcs.png differ
diff --git a/Modules/FIT/FT0/include/FT0/AgingLaserTask.h b/Modules/FIT/FT0/include/FT0/AgingLaserTask.h
new file mode 100644
index 0000000000..37172b56bb
--- /dev/null
+++ b/Modules/FIT/FT0/include/FT0/AgingLaserTask.h
@@ -0,0 +1,171 @@
+// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
+// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
+// All rights not expressly granted are reserved.
+//
+// This software is distributed under the terms of the GNU General Public
+// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
+//
+// In applying this license CERN does not waive the privileges and immunities
+// granted to it by virtue of its status as an Intergovernmental Organization
+// or submit itself to any jurisdiction.
+
+///
+/// \file AgingLaserTask.h
+/// \author Andreas Molander , Sandor Lokos , Edmundo Garcia-Solis
+///
+
+#ifndef QC_MODULE_FT0_AGINGLASERTASK_H
+#define QC_MODULE_FT0_AGINGLASERTASK_H
+
+#include "QualityControl/TaskInterface.h"
+
+#include
+#include
+
+#include
+#include
+
+#include
+#include
+#include