Project
Loading...
Searching...
No Matches
Hit.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
17
18// History
19//
20#ifndef DETECTORS_HMPID_BASE_INCLUDE_HMPIDDATAFORMAT_HIT_H_
21#define DETECTORS_HMPID_BASE_INCLUDE_HMPIDDATAFORMAT_HIT_H_
22
23#include "SimulationDataFormat/BaseHits.h" // for BasicXYZEHit
25
26namespace o2
27{
28namespace hmpid
29{
30
31// define HMPID hit type
32// class Hit : public o2::BasicXYZQHit<float>
33class HitType : public o2::BasicXYZEHit<float>
34{
35 public:
36 using BasicXYZEHit<float>::BasicXYZEHit;
37
39};
40
41} // namespace hmpid
42} // namespace o2
43
44#ifdef USESHM
45namespace std
46{
47template <>
48class allocator<o2::hmpid::HitType> : public o2::utils::ShmAllocator<o2::hmpid::HitType>
49{
50};
51} // namespace std
52#endif
53
54#endif /* DETECTORS_HMPID_BASE_INCLUDE_HMPIDDATAFORMAT_HIT_H_ */
ClassDefNV(HitType, 1)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.