StupidGeomHandle Class Reference

#include <StupidGeomHandle.h>

List of all members.

Public Member Functions

 StupidGeomHandle (void)
StupidGeomHandleoperator= (const StupidGeomHandle &sgh)
 StupidGeomHandle (const VldContext &context, Ugli::EModifyMode mmode=Ugli::kUseGlobal)
virtual ~StupidGeomHandle ()
virtual Bool_t IsValid () const
virtual Bool_t IsFrozen () const
virtual Bool_t IsAlgorithmic () const
virtual StupidStripHandle GetStripHandle (void)
virtual StupidStripHandle GetStripHandle (PlexStripEndId seid)
Detector::Detector_t GetDetector (void) const
void ReportIAmStupid (void) const

Private Attributes

VldContext fContext

Friends

class StupidStripHandle

Detailed Description

Definition at line 31 of file StupidGeomHandle.h.


Constructor & Destructor Documentation

StupidGeomHandle::StupidGeomHandle ( void   ) 
StupidGeomHandle::StupidGeomHandle ( const VldContext context,
Ugli::EModifyMode  mmode = Ugli::kUseGlobal 
)

Definition at line 23 of file StupidGeomHandle.cxx.

References StupidStripHandle::BuildVetoData(), fContext, and ReportIAmStupid().

00025 {
00026   ReportIAmStupid();
00027   fContext = context; 
00028   StupidStripHandle::BuildVetoData();
00029 }

virtual StupidGeomHandle::~StupidGeomHandle (  )  [inline, virtual]

Definition at line 42 of file StupidGeomHandle.h.

00042 {};


Member Function Documentation

Detector::Detector_t StupidGeomHandle::GetDetector ( void   )  const [inline]

Definition at line 58 of file StupidGeomHandle.h.

References fContext, and VldContext::GetDetector().

00058 { return fContext.GetDetector(); };

StupidStripHandle StupidGeomHandle::GetStripHandle ( PlexStripEndId  seid  )  [virtual]

Definition at line 36 of file StupidGeomHandle.cxx.

References StupidStripHandle.

00037 {
00038   return StupidStripHandle(seid);
00039 }

StupidStripHandle StupidGeomHandle::GetStripHandle ( void   )  [virtual]

Definition at line 32 of file StupidGeomHandle.cxx.

References StupidStripHandle.

00032                                                         {
00033   return StupidStripHandle();
00034 }

virtual Bool_t StupidGeomHandle::IsAlgorithmic (  )  const [inline, virtual]

Definition at line 47 of file StupidGeomHandle.h.

00047 { return true; };

virtual Bool_t StupidGeomHandle::IsFrozen (  )  const [inline, virtual]

Definition at line 46 of file StupidGeomHandle.h.

00046 { return true; };

virtual Bool_t StupidGeomHandle::IsValid (  )  const [inline, virtual]

Definition at line 45 of file StupidGeomHandle.h.

00045 { return true; };

StupidGeomHandle & StupidGeomHandle::operator= ( const StupidGeomHandle sgh  ) 

Definition at line 16 of file StupidGeomHandle.cxx.

References StupidStripHandle::BuildVetoData(), fContext, and ReportIAmStupid().

00017 { 
00018   ReportIAmStupid();
00019   fContext = sgh.fContext; return *this; 
00020   StupidStripHandle::BuildVetoData();
00021 }

void StupidGeomHandle::ReportIAmStupid ( void   )  const

Definition at line 42 of file StupidGeomHandle.cxx.

References Msg::kWarning, and MSG.

Referenced by operator=(), and StupidGeomHandle().

00043 {
00044   static int havereported = 0;
00045   if(havereported==0) {
00046     havereported=1;
00047     MSG("Stupid",Msg::kWarning) << "***** Warning! ******" << endl;
00048     MSG("Stupid",Msg::kWarning) << "This process is making use of StupidGeometry, which will give" << endl;
00049     MSG("Stupid",Msg::kWarning) << "incorrect results if used for reconstruction!" << endl;
00050     MSG("Stupid",Msg::kWarning) << "It is recommended to use this only for event viewers." << endl;
00051   }
00052 }


Friends And Related Function Documentation

friend class StupidStripHandle [friend]

Definition at line 32 of file StupidGeomHandle.h.

Referenced by GetStripHandle().


Member Data Documentation

Definition at line 62 of file StupidGeomHandle.h.

Referenced by GetDetector(), operator=(), and StupidGeomHandle().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1