Public Member Functions | Public Attributes | List of all members
beamlinegeo::DetectorID Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/BeamlineUtils/BeamlineGeometry.h"

Inheritance diagram for beamlinegeo::DetectorID:
beamlinegeo::SystemID beamlinegeo::ChannelID

Public Member Functions

 DetectorID ()
 
 DetectorID (SystemID system, unsigned int detector)
 
 DetectorID (unsigned int system, unsigned int detector)
 
SystemID GetSystemID () const
 
bool operator== (const DetectorID &did) const
 
bool operator< (const DetectorID &did) const
 
bool operator> (const DetectorID &did) const
 
bool operator== (const SystemID &sid) const
 
bool operator< (const SystemID &sid) const
 
bool operator> (const SystemID &sid) const
 

Public Attributes

unsigned int Detector
 
unsigned int System
 

Detailed Description

Definition at line 49 of file BeamlineGeometry.h.

Constructor & Destructor Documentation

beamlinegeo::DetectorID::DetectorID ( )
inline

Definition at line 50 of file BeamlineGeometry.h.

beamlinegeo::DetectorID::DetectorID ( SystemID  system,
unsigned int  detector 
)
inline

Definition at line 51 of file BeamlineGeometry.h.

52  }
system("rm -rf microbeam.root")
beamlinegeo::DetectorID::DetectorID ( unsigned int  system,
unsigned int  detector 
)
inline

Definition at line 53 of file BeamlineGeometry.h.

54  }
system("rm -rf microbeam.root")

Member Function Documentation

SystemID beamlinegeo::DetectorID::GetSystemID ( ) const
inline

Definition at line 55 of file BeamlineGeometry.h.

55 { return *this; }
bool beamlinegeo::SystemID::operator< ( const SystemID sid) const
inlineinherited

Definition at line 33 of file BeamlineGeometry.h.

References beamlinegeo::SystemID::System.

33  {
34  if (sid.System >= System) return false;
35  return true;
36  }
bool beamlinegeo::DetectorID::operator< ( const DetectorID did) const
inline

Definition at line 59 of file BeamlineGeometry.h.

References Detector, and beamlinegeo::SystemID::System.

59  {
60  if (did.System >= System) return false;
61  if (did.Detector >= Detector) return false;
62  return true;
63  }
bool beamlinegeo::SystemID::operator== ( const SystemID sid) const
inlineinherited

Definition at line 30 of file BeamlineGeometry.h.

References beamlinegeo::SystemID::System.

30  {
31  return (sid.System == System);
32  }
bool beamlinegeo::DetectorID::operator== ( const DetectorID did) const
inline

Definition at line 56 of file BeamlineGeometry.h.

References Detector, and beamlinegeo::SystemID::System.

56  {
57  return (did.System == System and did.Detector == Detector);
58  }
bool beamlinegeo::SystemID::operator> ( const SystemID sid) const
inlineinherited

Definition at line 37 of file BeamlineGeometry.h.

References beamlinegeo::SystemID::System.

37  {
38  if (sid.System <= System) return false;
39  return true;
40  }
bool beamlinegeo::DetectorID::operator> ( const DetectorID did) const
inline

Definition at line 64 of file BeamlineGeometry.h.

References Detector, and beamlinegeo::SystemID::System.

64  {
65  if (did.System <= System) return false;
66  if (did.Detector <= Detector) return false;
67  return true;
68  }

Member Data Documentation

unsigned int beamlinegeo::DetectorID::Detector
unsigned int beamlinegeo::SystemID::System
inherited

The documentation for this struct was generated from the following file: