ATLAS Offline Software
ILArG4ShowerLibSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARG4SHOWERLIBSVC_ILIBLARSHOWERLIBSVC_H
6 #define LARG4SHOWERLIBSVC_ILIBLARSHOWERLIBSVC_H
7 
8 // #define DEBUG_FrozenShowers
9 
10 // Include Files
11 #include "GaudiKernel/IInterface.h"
12 
13 #include <string>
14 #include <vector>
15 
16 #include "G4FastTrack.hh"
17 #include "LArG4Code/EnergySpot.h"
18 
19 class ILArG4ShowerLibSvc : virtual public IInterface {
20 public:
21 
22  virtual ~ILArG4ShowerLibSvc() {}
23 
25 
26  virtual bool checkLibrary( G4int, int ) = 0;
27 
28 #ifdef DEBUG_FrozenShowers
29  virtual std::vector<EnergySpot> getShower(const G4FastTrack&, int ) = 0;
30 #else
31  virtual std::vector<EnergySpot> getShower(const G4FastTrack&, int ) const = 0;
32 #endif
33  virtual double getContainmentZ(const G4FastTrack&, int ) = 0;
34  virtual double getContainmentR(const G4FastTrack&, int ) = 0;
35 };
36 
37 #endif
ILArG4ShowerLibSvc::DeclareInterfaceID
DeclareInterfaceID(ILArG4ShowerLibSvc, 0, 0)
ILArG4ShowerLibSvc::getShower
virtual std::vector< EnergySpot > getShower(const G4FastTrack &, int) const =0
ILArG4ShowerLibSvc
Definition: ILArG4ShowerLibSvc.h:19
ILArG4ShowerLibSvc::getContainmentZ
virtual double getContainmentZ(const G4FastTrack &, int)=0
ILArG4ShowerLibSvc::checkLibrary
virtual bool checkLibrary(G4int, int)=0
EnergySpot.h
ILArG4ShowerLibSvc::~ILArG4ShowerLibSvc
virtual ~ILArG4ShowerLibSvc()
Definition: ILArG4ShowerLibSvc.h:22
ILArG4ShowerLibSvc::getContainmentR
virtual double getContainmentR(const G4FastTrack &, int)=0