CbmRoot
Loading...
Searching...
No Matches
CbmTimeslicePixelHitSetDraw.h
Go to the documentation of this file.
1/* Copyright (C) 2023 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau[committer] */
4
5#ifndef CbmTimeslicePixelHitSetDraw_H_
6#define CbmTimeslicePixelHitSetDraw_H_
7
8#include <CbmDefs.h> // For ECbmDataType
9
10#include <FairPointSetDraw.h> // for FairPointSetDraw
11
12#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
13#include <RtypesCore.h> // for Color_t, Int_t, Style_t
14
15class TClonesArray;
16class TObject;
17class TVector3;
18
23class CbmTimeslicePixelHitSetDraw : public FairPointSetDraw {
24public:
29 CbmTimeslicePixelHitSetDraw(const char* name, Color_t color, Style_t mstyle, Int_t iVerbose = 1);
30 virtual ~CbmTimeslicePixelHitSetDraw() = default;
31
32 virtual InitStatus Init();
33 virtual void Exec(Option_t* option);
34 void Reset();
35
39 void GotoEvent(uint32_t uEventIdx);
40
41protected:
42 TVector3 GetVector(TObject* obj);
43
44private:
45 FairDataSourceI* fLocalDataSourcePtr = nullptr;
46 TClonesArray* fCbmEvents = nullptr;
48 uint32_t fEventIdx = 0;
49
51};
52
53#endif /* CbmTimeslicePixelHitSetDraw_H_ */
ECbmDataType
Definition CbmDefs.h:90
void GotoEvent(uint32_t uEventIdx)
Load hits from selected event in timeslice. RESERVED FOR GUI CALLS!
CbmTimeslicePixelHitSetDraw(const char *name, Color_t color, Style_t mstyle, Int_t iVerbose=1)
Constructor.
virtual ~CbmTimeslicePixelHitSetDraw()=default
ClassDef(CbmTimeslicePixelHitSetDraw, 1)
virtual void Exec(Option_t *option)