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.

References Detector::kFar, PlaneCoverage::kVScN, and PlaneView::kVSTopFlat.

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, and UgliDbiStructHash::viewcover::view.

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


Generated on 15 Nov 2018 for loon by  doxygen 1.6.1