|
| 1 | +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. |
| 2 | +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. |
| 3 | +// All rights not expressly granted are reserved. |
| 4 | +// |
| 5 | +// This software is distributed under the terms of the GNU General Public |
| 6 | +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". |
| 7 | +// |
| 8 | +// In applying this license CERN does not waive the privileges and immunities |
| 9 | +// granted to it by virtue of its status as an Intergovernmental Organization |
| 10 | +// or submit itself to any jurisdiction. |
| 11 | + |
| 12 | +// **Hadronic Correction in the EMCAL framework: to avoid the double counting of the charged particles' contribution in jets** |
| 13 | +/// \author Archita Rani Dash <archita.rani.dash@cern.ch> |
| 14 | + |
| 15 | +#ifndef PWGJE_DATAMODEL_EMCALCLUSTERHADRONICCORRECTION_H_ |
| 16 | +#define PWGJE_DATAMODEL_EMCALCLUSTERHADRONICCORRECTION_H_ |
| 17 | + |
| 18 | +#include <string> |
| 19 | +#include "Framework/AnalysisDataModel.h" |
| 20 | +#include "EMCALClusterDefinition.h" |
| 21 | + |
| 22 | +namespace o2::aod |
| 23 | +{ |
| 24 | + |
| 25 | +namespace emcalhadroniccorrection |
| 26 | +{ |
| 27 | +// four different columns for the 'Cluster Energies after Hadronic Correction' to make it more flexible |
| 28 | +// 2 for the closest match and 2 for all matched tracks |
| 29 | + |
| 30 | +// cluster values |
| 31 | +// DECLARE_SOA_COLUMN(HadCorrEnergy, hadcorrEnergy, float); //! cluster energy (GeV) after hadronic correction |
| 32 | + |
| 33 | +// hadronic corrected energy values |
| 34 | +DECLARE_SOA_COLUMN(HadCorrOneTrack1, hadCorrOneTrack1, float); //! with hadronic correction fraction (100%) for one matched track |
| 35 | +DECLARE_SOA_COLUMN(HadCorrOneTrack2, hadCorrOneTrack2, float); //! with hadronic correction fraction (70%) for one matched track - systematic studies |
| 36 | +DECLARE_SOA_COLUMN(HadCorrAllTracks1, hadCorrAllTracks1, float); //! with hadronic correction fraction (100%) for all matched tracks |
| 37 | +DECLARE_SOA_COLUMN(HadCorrAllTracks2, hadCorrAllTracks2, float); //! with hadronic correction fraction (70%) for all matched tracks - for systematic studies |
| 38 | + |
| 39 | +} // namespace emcalhadroniccorrection |
| 40 | + |
| 41 | +// Table Definitions - define what needs to be written into the tables produced by this tableproducer task |
| 42 | +DECLARE_SOA_TABLE(EmcalHCs, "AOD", "EMCALHCS", //! |
| 43 | + o2::soa::Index<>, //! |
| 44 | + emcalhadroniccorrection::HadCorrOneTrack1, // corrected cluster energy for 1 matched track (f = 100%) |
| 45 | + emcalhadroniccorrection::HadCorrOneTrack2, // corrected cluster energy for 1 matched track (f = 70%) |
| 46 | + emcalhadroniccorrection::HadCorrAllTracks1, // corrected cluster energy for all matched tracks (f = 100%) |
| 47 | + emcalhadroniccorrection::HadCorrAllTracks2 // corrected cluster energy for all matched tracks (f = 70%) |
| 48 | +) |
| 49 | + |
| 50 | +using EmcalHC = EmcalHCs::iterator; |
| 51 | + |
| 52 | +} // namespace o2::aod |
| 53 | +#endif // PWGJE_DATAMODEL_EMCALCLUSTERHADRONICCORRECTION_H_ |
0 commit comments