PandaRoot
BSEmcMCDepositCaloDraw.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- BSEmcMCDepositCaloDraw header file -----
15 // ----- Created 03/01/09 by T. Stockmanns -----
16 // -------------------------------------------------------------------------
17 
18 #ifndef BSEMCHITCALODRAW_HH
19 #define BSEMCHITCALODRAW_HH
20 
21 #include "Rtypes.h"
22 #include "RtypesCore.h"
23 #include "TVector3.h"
24 
25 #include "PndCaloDraw.h"
26 
27 class FairDataSourceI;
28 class TBuffer;
29 class TClass;
30 class TMemberInspector;
31 class TObject;
32 
40 
41 public:
44 
49  BSEmcMCDepositCaloDraw(const char *name,
50  FairDataSourceI *dataSource = nullptr)
51  : PndCaloDraw(name, dataSource){};
52 
55 
56 protected:
57  virtual TVector3 GetVector(TObject *obj);
58  virtual Double_t GetEnergy(TObject *obj);
60 };
61 
62 #endif /*BSEMCHITCALODRAW_HH*/
virtual TVector3 GetVector(TObject *obj)
Task to display Emc MCHits.
ClassDef(BSEmcMCDepositCaloDraw, 1)
BSEmcMCDepositCaloDraw(const char *name, FairDataSourceI *dataSource=nullptr)
virtual Double_t GetEnergy(TObject *obj)