GeomAnalyzerI.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::GeomAnalyzerI
5 
6 \brief Defines the GENIE Geometry Analyzer Interface
7 
8 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
9  University of Liverpool & STFC Rutherford Appleton Lab
10 
11 \created July 13, 2005
12 
13 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _GEOMETRY_ANALYZER_I_H_
20 #define _GEOMETRY_ANALYZER_I_H_
21 
22 class TLorentzVector;
23 class TVector3;
24 
25 namespace genie {
26 
27 class PDGCodeList;
28 class PathLengthList;
29 
31 
32 public :
33 
34  virtual ~GeomAnalyzerI();
35 
36  // define the GeomAnalyzerI interface
37 
38  virtual const PDGCodeList &
39  ListOfTargetNuclei (void) = 0;
40 
41  virtual const PathLengthList &
42  ComputeMaxPathLengths (void) = 0;
43  virtual const PathLengthList &
45  const TLorentzVector & x, const TLorentzVector & p) = 0;
46  virtual const TVector3 &
48  const TLorentzVector & x, const TLorentzVector & p, int tgtpdg) = 0;
49 
50 protected:
51 
52  GeomAnalyzerI();
53 };
54 
55 } // genie namespace
56 
57 #endif // _GEOMETRY_ANALYZER_I_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
const char * p
Definition: xmltok.h:285
virtual const TVector3 & GenerateVertex(const TLorentzVector &x, const TLorentzVector &p, int tgtpdg)=0
A list of PDG codes.
Definition: PDGCodeList.h:33
Object to be filled with the neutrino path-length, for all detector geometry materials, when starting from a position x and travelling along the direction of the neutrino 4-momentum.
virtual const PathLengthList & ComputeMaxPathLengths(void)=0
virtual const PathLengthList & ComputePathLengths(const TLorentzVector &x, const TLorentzVector &p)=0
Defines the GENIE Geometry Analyzer Interface.
Definition: GeomAnalyzerI.h:30
virtual const PDGCodeList & ListOfTargetNuclei(void)=0