Project
Loading...
Searching...
No Matches
DataFormatsEMCALLinkDef.h
Go to the documentation of this file.
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#ifdef __CLING__
13
14#pragma link off all globals;
15#pragma link off all classes;
16#pragma link off all functions;
17
18#pragma link C++ class o2::emcal::TriggerRecord + ;
19#pragma link C++ class o2::dataformats::TimeStamp < Float16_t> + ;
20#pragma link C++ class o2::emcal::Cell + ;
21#pragma link C++ class o2::emcal::Digit + ;
22#pragma link C++ class o2::emcal::Cluster + ;
23#pragma link C++ class o2::emcal::AnalysisCluster + ;
24#pragma link C++ class o2::emcal::MCLabel + ;
25#pragma link C++ class o2::emcal::ErrorTypeFEE + ;
26
27#pragma read \
28 sourceClass = "o2::emcal::Cell" targetClass = "o2::emcal::Cell" source = "UShort_t mCellWords[3]" version = "[1]" include = "iostream" target = "mEnergy,mTimestamp,mTowerID,mChannelType" code = "{const char * oldwords = reinterpret_cast<const char *>(onfile.mCellWords); mEnergy=o2::emcal::Cell::getEnergyFromPackedBitfieldV0(oldwords); mTimestamp=o2::emcal::Cell::getTimeFromPackedBitfieldV0(oldwords); mTowerID=o2::emcal::Cell::getTowerFromPackedBitfieldV0(oldwords); mChannelType=o2::emcal::Cell::getCellTypeFromPackedBitfieldV0(oldwords);}"
29#pragma read \
30 sourceClass = "o2::emcal::Cell" targetClass = "o2::emcal::Cell" source = "char mCellWords[6]" version = "[2]" include = "iostream" target = "mEnergy,mTimestamp,mTowerID,mChannelType" code = "{mEnergy=o2::emcal::Cell::getEnergyFromPackedBitfieldV0(onfile.mCellWords); mTimestamp=o2::emcal::Cell::getTimeFromPackedBitfieldV0(onfile.mCellWords); mTowerID=o2::emcal::Cell::getTowerFromPackedBitfieldV0(onfile.mCellWords); mChannelType=o2::emcal::Cell::getCellTypeFromPackedBitfieldV0(onfile.mCellWords);}"
31
32#pragma link C++ class std::vector < o2::emcal::TriggerRecord> + ;
33#pragma link C++ class std::vector < o2::emcal::Cell> + ;
34#pragma link C++ class std::vector < o2::emcal::Digit> + ;
35#pragma link C++ class std::vector < o2::emcal::Cluster> + ;
36#pragma link C++ class std::vector < o2::emcal::AnalysisCluster> + ;
37#pragma link C++ class std::vector < o2::emcal::ErrorTypeFEE> + ;
38
40#pragma link C++ class o2::dataformats::MCTruthContainer < o2::emcal::MCLabel> + ;
41
42// For channel type in digits and cells
43#pragma link C++ enum o2::emcal::ChannelType_t + ;
44
45#pragma link C++ class o2::emcal::EventData < o2::emcal::Cell> + ;
46#pragma link C++ class o2::emcal::EventData < o2::emcal::Digit> + ;
47#pragma link C++ class o2::emcal::EventHandler < o2::emcal::Cell> + ;
48#pragma link C++ class o2::emcal::EventHandler < o2::emcal::Digit> + ;
49
50#pragma link C++ struct o2::emcal::CTFHeader + ;
51#pragma link C++ struct o2::emcal::CTF + ;
52#pragma link C++ class o2::ctf::EncodedBlocks < o2::emcal::CTFHeader, 8, uint32_t> + ;
53
54#endif
Definition of a container to keep Monte Carlo truth external to simulation objects.