DmxPlaneTypes Namespace Reference

Typedefs

typedef enum
DmxPlaneTypes::EPlaneType 
PlaneType_t

Enumerations

enum  EPlaneType { kUnknown, kShower, kMuon }

Functions

std::string GetPlaneTypeString (EPlaneType planetype)

Typedef Documentation


Enumeration Type Documentation

Enumerator:
kUnknown 
kShower 
kMuon 

Definition at line 23 of file DmxPlaneTypes.h.

00023                            {
00024       kUnknown,
00025       kShower,
00026       kMuon
00027    } PlaneType_t;


Function Documentation

string DmxPlaneTypes::GetPlaneTypeString ( EPlaneType  planetype  ) 

Definition at line 19 of file DmxPlaneTypes.cxx.

References kMuon, kShower, Msg::kWarning, and MSG.

Referenced by DmxUtilities::FindBeamMuonStartPlane(), AlgDeMuxBeam::FindFitForHypothesisSet(), DmxUtilities::FindMuonStartPlane(), AlgDeMuxBeam::RunAlg(), and AlgDeMuxBeam::UseMuonSlidingWindow().

00019                                                              {
00020 //  Purpose:  Convert enumerated planetype to an planetype string.
00021 //
00022 //  Argument: planetype: enumerated EPlaneType described in Dmx.h.
00023 //
00024 //  Return:   planetype string. If unknown, returns "UNKNOWN".
00025 //
00026 //  Contact:  B. Rebel
00027 //
00028    switch ( planetype ) {
00029    case kShower:  return "Shower";
00030    case kMuon:    return "Muon";
00031    default:
00032       MSG("Dmx",Msg::kWarning)
00033          << "Dmx::GetPlaneTypeString with unknown value "
00034          << (int)planetype << endl;
00035       return "UNKNOWN";
00036    }
00037 }


Generated on 16 Apr 2018 for loon by  doxygen 1.6.1