PandaRoot
BSEmcDigiCaloDraw.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 // ----- BSEmcDigiCaloDraw header file -----
15 // ----- Created 03/01/09 by T. Stockmanns -----
16 // -------------------------------------------------------------------------
17 
18 #ifndef BSEMCDIGICALODRAW_HH
19 #define BSEMCDIGICALODRAW_HH
20 
21 #include "Rtypes.h"
22 #include "RtypesCore.h"
23 #include "TString.h"
24 #include "TVector3.h"
25 
26 #include "PndCaloDraw.h"
27 
29 
31 class TBuffer;
32 class TClass;
33 class TMemberInspector;
34 class TObject;
35 
44 
45  public:
48 
53  BSEmcDigiCaloDraw(const char *name) : PndCaloDraw(name, nullptr){};
54 
56  virtual ~BSEmcDigiCaloDraw(){};
57 
58  void SetPositionParName(const TString &t_parName) { fPosParName = t_parName; }
59 
60  protected:
61  virtual TVector3 GetVector(TObject *obj) /*override*/;
62  virtual Double_t GetEnergy(TObject *obj) /*override*/;
63  virtual void SetParContainers() /*override*/;
64 
65  TString fPosParName{""};
68 };
69 
70 #endif /*BSEMCDIGICALODRAW_HH*/
virtual Double_t GetEnergy(TObject *obj)
virtual void SetParContainers()
Parameter for crystal positions.
ClassDef(BSEmcDigiCaloDraw, 1)
void SetPositionParName(const TString &t_parName)
BSEmcCrystalPositionPar * fPositionPar
virtual TVector3 GetVector(TObject *obj)
virtual ~BSEmcDigiCaloDraw()
BSEmcDigiCaloDraw(const char *name)