Project
Loading...
Searching...
No Matches
HitAnalysis.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//
13// HitAnalysis.h
14// ALICEO2
15//
16// Created by Markus Fasel on 28.07.15.
17//
18//
19
20#ifndef __ALICEO2__HitAnalysis__
21#define __ALICEO2__HitAnalysis__
22
23#include <map>
24#include "FairTask.h" // for FairTask, InitStatus
25#include "Rtypes.h" // for Bool_t, HitAnalysis::Class, ClassDef, etc
27#include <vector>
28
29class TH1; // lines 16-16
30namespace o2
31{
32namespace its
33{
34class GeometryTGeo;
35}
36} // namespace o2
37
38class TH1;
39
40namespace o2
41{
42namespace itsmft
43{
44class Chip;
45}
46} // namespace o2
47
48namespace o2
49{
50namespace its
51{
52
53class HitAnalysis : public FairTask
54{
55 public:
57
58 ~HitAnalysis() override;
59
60 InitStatus Init() override;
61
62 void Exec(Option_t* option) override;
63
64 void FinishTask() override;
65
66 protected:
67 void ProcessHits();
68
69 private:
70 Bool_t mIsInitialized;
71 const std::vector<o2::itsmft::Hit>* mHits;
72 const GeometryTGeo* mGeometry;
73 TH1* mLineSegment;
74 TH1* mLocalX0;
75 TH1* mLocalX1;
76 TH1* mLocalY0;
77 TH1* mLocalY1;
78 TH1* mLocalZ0;
79 TH1* mLocalZ1;
80 TH1* mHitCounter;
81
82 ClassDefOverride(HitAnalysis, 1);
83};
84} // namespace its
85} // namespace o2
86
87#endif /* defined(__ALICEO2__HitAnalysis__) */
Definition of the ITSMFT Hit class.
void FinishTask() override
void Exec(Option_t *option) override
InitStatus Init() override
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...