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

static Bool_t MatchPrimSec (const TObject *p, const TObject *s)
static Bool_t MatchSecPrim (const TObject *s, const TObject *p)
static Long_t PrimaryKey (const TObject *p)
static 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.

typedef VectorID::const_iterator IDItr

Definition at line 44 of file LatValidate.cxx.

typedef LatticeLink Link

Definition at line 45 of file LatValidate.cxx.

Definition at line 43 of file LatValidate.cxx.


Function Documentation

CVSID ( "$Id: LatValidate.  cxx,
v 1.4 2003/03/25 07:20:58 west Exp $"   
)
static 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 }

static 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 }

static 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 }

static 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 11 Jan 2018 for loon by  doxygen 1.6.1