Skip to content
Snippets Groups Projects

calo to v3 tracks

Merged Maarten Van Veghel requested to merge mveghel-calo2v3tracks into master
1 file
+ 19
0
Compare changes
  • Side-by-side
  • Inline
@@ -29,6 +29,25 @@ namespace LHCb::Detector::Calo {
/// definition of calorimeter planes
enum Plane { Front = 0, Middle, ShowerMax, Back };
inline std::string toString( Plane e ) {
switch ( e ) {
case Plane::Front:
return "Front";
case Plane::ShowerMax:
return "ShowerMax";
case Plane::Middle:
return "Middle";
case Plane::Back:
return "Back";
default:
throw "Not a correct plane in Calo";
}
}
inline std::ostream& toStream( Plane e, std::ostream& os ) { return os << std::quoted( toString( e ), '\'' ); }
inline std::ostream& operator<<( std::ostream& s, Plane e ) { return toStream( e, s ); }
namespace detail {
struct DeCaloObject : LHCb::Detector::detail::DeIOVObject {
Loading