Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LatValidate.cxx File Reference

#include <string.h>
#include "TList.h"
#include "MessageService/MsgService.h"
#include "Lattice/Lattice.h"
#include "Lattice/LatticeBuilder.h"
#include "Lattice/LatticeLink.h"
#include "Lattice/LatticeMaker.h"
#include "Lattice/test/LatValidate.h"

Go to the source code of this file.

Classes

class  Primary
class  Secondary

Typedefs

typedef Lattice::ID ID
typedef Lattice::VectorID VectorID
typedef VectorID::const_iterator IDItr
typedef LatticeLink Link
typedef Bool_t AssociateFunc (const TObject *, const TObject *)

Functions

Bool_t MatchPrimSec (const TObject *p, const TObject *s)
Bool_t MatchSecPrim (const TObject *s, const TObject *p)
Long_t PrimaryKey (const TObject *p)
Long_t SecondaryKey (const TObject *s)
 CVSID ("$Id: LatValidate.cxx,v 1.4 2003/03/25 07:20:58 west Exp $")


Typedef Documentation

typedef Bool_t AssociateFunc(const TObject *, const TObject *)
 

Definition at line 51 of file LatValidate.cxx.

typedef Lattice::ID ID
 

Definition at line 42 of file LatValidate.cxx.

Referenced by BFLInterpolation::CNInterpolation(), NueExpGenerator::GenerateExperimentSet(), BFLWingedEdge::Load(), BFLInterpolation::NNInterpolation(), NueAnalysisCuts::ReportOnRecord(), LatValidate::Test_1(), and LatValidate::Test_2().

typedef VectorID::const_iterator IDItr
 

Definition at line 44 of file LatValidate.cxx.

Referenced by LatValidate::Test_2(), and LatValidate::Test_3().

typedef LatticeLink Link
 

Definition at line 45 of file LatValidate.cxx.

typedef Lattice::VectorID VectorID
 

Definition at line 43 of file LatValidate.cxx.

Referenced by LatValidate::Test_1(), NavValidate::Test_2(), LatValidate::Test_2(), and LatValidate::Test_3().


Function Documentation

CVSID "$Id: LatValidate cxx,
v 1.4 2003/03/25 07:20:58 west Exp $" 
 

Bool_t MatchPrimSec const TObject *  p,
const TObject *  s
[static]
 

Definition at line 71 of file LatValidate.cxx.

References Primary::GetId(), and Secondary::GetIdPrimary().

Referenced by LatValidate::Test_3().

00071                                                               {
00072   const Primary*   pp = dynamic_cast<const Primary*>(p);
00073   const Secondary* ps = dynamic_cast<const Secondary*>(s);
00074   return ( pp && ps ) ? pp->GetId() == ps->GetIdPrimary() : kFALSE;
00075 }

Bool_t MatchSecPrim const TObject *  s,
const TObject *  p
[static]
 

Definition at line 77 of file LatValidate.cxx.

References Primary::GetId(), and Secondary::GetIdPrimary().

Referenced by LatValidate::Test_3().

00077                                                               {
00078   const Primary*   pp = dynamic_cast<const Primary*>(p);
00079   const Secondary* ps = dynamic_cast<const Secondary*>(s);
00080   return ( pp && ps ) ? pp->GetId() == ps->GetIdPrimary() : kFALSE;
00081 }

Long_t PrimaryKey const TObject *  p  )  [static]
 

Definition at line 83 of file LatValidate.cxx.

References Primary::GetId().

Referenced by LatValidate::Test_3().

00083                                            {
00084   const Primary*   pp = dynamic_cast<const Primary*>(p);
00085   return ( pp ) ?  pp->GetId() : 0;
00086 }

Long_t SecondaryKey const TObject *  s  )  [static]
 

Definition at line 88 of file LatValidate.cxx.

References Secondary::GetIdPrimary().

Referenced by LatValidate::Test_3().

00088                                              {
00089   const Secondary* ps = dynamic_cast<const Secondary*>(s);
00090   return ( ps ) ? ps->GetIdPrimary() : kFALSE;
00091 }


Generated on Mon Feb 15 11:08:01 2010 for loon by  doxygen 1.3.9.1