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

UgliDbiStructHash.cxx File Reference

#include "UgliGeometry/UgliDbiStructHash.h"
#include "MessageService/MsgService.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: UgliDbiStructHash.cxx,v 1.6 2005/08/26 19:00:02 rhatcher Exp $ CVSID_DBIRESULTPTR ")
UInt_t arbitraryPln (Detector::Detector_t det, PlaneView::PlaneView_t view, PlaneCoverage::PlaneCoverage_t cover)
bool operator== (const UgliDbiStructHash::viewcover_t &vc1, const UgliDbiStructHash::viewcover_t &vc2)


Function Documentation

UInt_t arbitraryPln Detector::Detector_t  det,
PlaneView::PlaneView_t  view,
PlaneCoverage::PlaneCoverage_t  cover
 

Definition at line 26 of file UgliDbiStructHash.cxx.

Referenced by UgliDbiStructHash::HashAsScintMdl(), and UgliDbiStructHash::HashAsStrip().

00028                                                         {
00029   // return an arbitrary plane ... execpt in case of veto stuff
00030   if (Detector::kFar != det) return 0;
00031   // more work if far
00032   if (view < PlaneView::kVSTopFlat && cover < PlaneCoverage::kVScN) return 0;
00033   // should check that both view,cover are veto related
00034   return 512;
00035 }

CVSID "$Id: UgliDbiStructHash cxx,
v 1.6 2005/08/26 19:00:02 rhatcher Exp $CVSID_DBIRESULTPTR" 
 

bool operator== const UgliDbiStructHash::viewcover_t vc1,
const UgliDbiStructHash::viewcover_t vc2
 

Definition at line 40 of file UgliDbiStructHash.cxx.

References UgliDbiStructHash::viewcover::cover, UgliDbiStructHash::viewcover::view, and UgliDbiStructHash::viewcover_t.

00041                                                          {
00042   if ( vc1.view  != vc2.view  ) return false;
00043   if ( vc1.cover != vc2.cover ) return false;
00044   return true;
00045 }


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