9 #ifndef BeamlineGeometry_H 10 #define BeamlineGeometry_H 72 os <<
"DetectorID: System " << detector.
System 104 os <<
"ChannelID: System " << channel.
System <<
", Detector " 205 unsigned int NumToFs()
const;
208 unsigned int NumWCs()
const;
211 unsigned int NumCherenkov()
const;
214 unsigned int NumToFCounters(
DetectorID tof)
const;
217 unsigned int NumWCChannels(
DetectorID wc)
const;
235 float MagnetAngle()
const;
238 float MagnetEffectiveLength()
const;
241 float MagnetMidplaneIntercept()
const;
244 unsigned int NumWCPlaneWires()
const;
247 float WCWirePitch()
const;
250 float WCAngle(
unsigned int wc)
const;
254 TVector3 BeamlineToNOvADetectorCoords(TVector3
vec)
const;
258 TVector3 NOvADetectorToBeamlineCoords(TVector3 vec)
const;
266 std::vector<SystemID> SystemIDs()
const;
269 std::vector<DetectorID> DetectorIDs()
const;
272 std::vector<ChannelID> ChannelIDs()
const;
SystemID GetSystemID() const
system("rm -rf microbeam.root")
DetectorID GetDetectorID() const
float fMagnetMidplaneIntercept
std::vector< unsigned int > fNumToFCounters
TVector3 fNOvACoordOrigin
float fMagnetEffectiveLength
bool operator==(const ChannelID &cid) const
#define DECLARE_ART_SERVICE(svc, scope)
bool operator<(const SystemID &sid) const
bool operator<(const ChannelID &cid) const
BeamlineComponent Component
bool operator==(const SystemID &sid) const
DetectorID(SystemID system, unsigned int detector)
SystemID GetSystemID() const
unsigned int fNumWCPlaneWires
SystemID(unsigned int system)
DetectorID(unsigned int system, unsigned int detector)
ChannelID(DetectorID detector, unsigned int channel)
bool operator>(const SystemID &sid) const
unsigned int fNumCherenkov
bool operator<(const DetectorID &did) const
std::vector< float > fWCAngles
bool operator>(const ChannelID &cid) const
bool operator==(const DetectorID &did) const
ChannelID(unsigned int system, unsigned int detector, unsigned int channel)
std::map< BeamlineComponent, BeamlineObject > fBeamlineObjects
BeamlineObject(BeamlineComponent component)
const std::map< ToFChannel, std::string > ToFChannelNames
const std::map< ToFCounter, std::string > ToFCounterNames
std::ostream & operator<<(std::ostream &os, const SystemID &system)
bool operator>(const DetectorID &did) const