CbmRoot
Loading...
Searching...
No Matches
CbmTaskInspectDigiEvents.h
Go to the documentation of this file.
1/* Copyright (C) 2024 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
5#pragma once
6
7
8#include "CbmDefs.h"
9#include "CbmDigiEvent.h"
10
11#include <FairTask.h>
12
13#include <vector>
14
15
23class CbmTaskInspectDigiEvents : public FairTask {
24
25 public:
28
29
32
33
36
37
39 virtual void Exec(Option_t* opt);
40
41
43 virtual void Finish();
44
45
48
49
50 private: // methods
52 virtual InitStatus Init();
53
54
55 private: // members
56 const std::vector<CbmDigiEvent>* fEvents = nullptr;
57 size_t fNumTs = 0;
58 size_t fNumEvents = 0;
59
60
62};
Demonstrator class to look at digi events in the ROOT tree.
const std::vector< CbmDigiEvent > * fEvents
size_t fNumTs
Input data (events)
CbmTaskInspectDigiEvents(const CbmTaskInspectDigiEvents &)=delete
Copy constructor (disabled)
size_t fNumEvents
Number of analysed events.
virtual void Finish()
Finish timeslice.
ClassDef(CbmTaskInspectDigiEvents, 1)
virtual void Exec(Option_t *opt)
Task execution.
virtual InitStatus Init()
Task initialisation.
virtual ~CbmTaskInspectDigiEvents()
Destructor.
CbmTaskInspectDigiEvents & operator=(const CbmTaskInspectDigiEvents &)=delete
Assignment operator (disabled)