source: trunk/source/geometry/navigation/include/G4GeomTestOvershootList.hh @ 1350

Last change on this file since 1350 was 1347, checked in by garnier, 14 years ago

geant4 tag 9.4

File size: 3.1 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4GeomTestOvershootList.hh,v 1.3 2006/06/29 18:35:45 gunter Exp $
28// GEANT4 tag $Name: geant4-09-04-ref-00 $
29//
30// --------------------------------------------------------------------
31// GEANT 4 class header file
32//
33// G4GeomTestOvershootList
34//
35// Class description:
36//
37// A list of line segments inside a specific volume daughter
38// but outside its mother volume, indicating a geometry error
39
40// Author: D.C.Williams, UCSC (davidw@scipp.ucsc.edu)
41// --------------------------------------------------------------------
42#ifndef G4GeomTestOvershootList_hh
43#define G4GeomTestOvershootList_hh
44
45#include "G4GeomTestErrorList.hh"
46
47class G4GeomTestOvershootList : public G4GeomTestErrorList
48{
49  public:  // with description
50 
51    G4GeomTestOvershootList();
52    G4GeomTestOvershootList( const G4VPhysicalVolume *theMother,
53                                   G4int theDaughter );
54    virtual ~G4GeomTestOvershootList();
55      // Constructors and virtual destructor
56
57    G4bool operator==( const G4GeomTestOvershootList &other ) const;
58    G4bool operator< ( const G4GeomTestOvershootList &other ) const;
59      // Comparison operators, based on daughter index
60
61    const G4VPhysicalVolume *GetDaughter() const;
62    G4int GetDaughterIndex() const;
63      // Return pointers to volumes
64
65    void GetDaughtPoints( G4int i, G4ThreeVector &s1, G4ThreeVector &s2 ) const;
66      // Return start and end points in various
67      // coordinate systems
68
69  private:
70
71    G4int daughter;
72};
73
74#endif
Note: See TracBrowser for help on using the repository browser.