Classes | Enumerations | Functions | Variables
beamlinegeo Namespace Reference

Classes

class  BeamlineGeometry
 
struct  BeamlineObject
 
struct  ChannelID
 
struct  DetectorID
 
struct  SystemID
 

Enumerations

enum  BeamlineCoordSystem { BeamlineCoordSystem::Beamline = 0, BeamlineCoordSystem::NOvADetector = 1 }
 
enum  BeamlineComponent {
  BeamlineComponent::Target = 0, BeamlineComponent::ToFUS = 1, BeamlineComponent::ToFDS = 2, BeamlineComponent::ToFDSSiPM = 3,
  BeamlineComponent::WC1 = 4, BeamlineComponent::WC2 = 5, BeamlineComponent::WC3 = 6, BeamlineComponent::WC4 = 7,
  Cherenkov = 8, BeamlineComponent::NOvA = 9, BeamlineComponent::Magnet = 10, BeamlineComponent::CollimatorUS = 11,
  BeamlineComponent::CollimatorDS = 12, BeamlineComponent::Shielding1 = 13, BeamlineComponent::Shielding2 = 14, BeamlineComponent::Shielding3 = 15,
  BeamlineComponent::HeliumPipe1 = 16, BeamlineComponent::HeliumPipe2 = 17, BeamlineComponent::HeliumPipe3 = 18, BeamlineComponent::HeliumPipe4 = 19,
  BeamlineComponent::TotalNumber = 20
}
 
enum  BeamlineSystem {
  Trigger = 0, Cherenkov = 1, Cherenkov = 8, ToF = 2,
  WC = 3, MuonStack = 4, Paddle = 5, WCDigit = 6,
  Other = 7
}
 
enum  ToFCounter { US = 0, DS = 1, DSSiPM = 2 }
 
enum  ToFChannel { UpperLeft = 0, LowerLeft = 1, LowerRight = 2, UpperRight = 3 }
 

Functions

std::ostream & operator<< (std::ostream &os, const SystemID &system)
 
std::ostream & operator<< (std::ostream &os, const DetectorID &detector)
 
std::ostream & operator<< (std::ostream &os, const ChannelID &channel)
 

Variables

const std::map< ToFCounter, std::stringToFCounterNames
 
const std::map< ToFChannel, std::stringToFChannelNames
 

Enumeration Type Documentation

Enumerator
Target 
ToFUS 
ToFDS 
ToFDSSiPM 
WC1 
WC2 
WC3 
WC4 
Cherenkov 
NOvA 
Magnet 
CollimatorUS 
CollimatorDS 
Shielding1 
Shielding2 
Shielding3 
HeliumPipe1 
HeliumPipe2 
HeliumPipe3 
HeliumPipe4 
TotalNumber 

Definition at line 116 of file BeamlineGeometry.h.

Enumerator
Beamline 
NOvADetector 

Definition at line 110 of file BeamlineGeometry.h.

Enumerator
Trigger 
Cherenkov 
Cherenkov 
ToF 
WC 
MuonStack 
Paddle 
WCDigit 
Other 

Definition at line 152 of file BeamlineGeometry.h.

Enumerator
UpperLeft 
LowerLeft 
LowerRight 
UpperRight 

Definition at line 178 of file BeamlineGeometry.h.

Enumerator
US 
DS 
DSSiPM 

Definition at line 164 of file BeamlineGeometry.h.

164  {
165  US = 0,
166  DS = 1,
167  DSSiPM = 2,
168  };

Function Documentation

std::ostream& beamlinegeo::operator<< ( std::ostream &  os,
const SystemID system 
)
inline

Definition at line 43 of file BeamlineGeometry.h.

References allTimeWatchdog::endl, and beamlinegeo::SystemID::System.

43  {
44  os << "SystemID: System " << system.System << std::endl;
45  return os;
46  }
system("rm -rf microbeam.root")
std::ostream& beamlinegeo::operator<< ( std::ostream &  os,
const DetectorID detector 
)
inline

Definition at line 71 of file BeamlineGeometry.h.

References beamlinegeo::DetectorID::Detector, allTimeWatchdog::endl, and beamlinegeo::SystemID::System.

71  {
72  os << "DetectorID: System " << detector.System
73  << ", Detector " << detector.Detector << std::endl;
74  return os;
75  }
std::ostream& beamlinegeo::operator<< ( std::ostream &  os,
const ChannelID channel 
)
inline

Definition at line 103 of file BeamlineGeometry.h.

References beamlinegeo::ChannelID::Channel, beamlinegeo::DetectorID::Detector, allTimeWatchdog::endl, and beamlinegeo::SystemID::System.

103  {
104  os << "ChannelID: System " << channel.System << ", Detector "
105  << channel.Detector << ", Channel " << channel.Channel << std::endl;
106  return os;
107  }

Variable Documentation

const std::map<ToFChannel, std::string> beamlinegeo::ToFChannelNames
const std::map<ToFCounter, std::string> beamlinegeo::ToFCounterNames