FairRoot/PandaRoot
Public Member Functions | Public Attributes | Friends | List of all members
PndLmdHitLocationInfo Struct Reference

#include <PndLmdGeometryHelper.h>

Public Member Functions

bool operator< (const PndLmdHitLocationInfo &o)
 

Public Attributes

unsigned char detector_half
 
unsigned char plane
 
unsigned char module
 
unsigned char module_side
 
unsigned char module_sensor_id
 

Friends

std::ostreamoperator<< (std::ostream &stream, const PndLmdHitLocationInfo &hit_info)
 

Detailed Description

Definition at line 17 of file PndLmdGeometryHelper.h.

Member Function Documentation

bool PndLmdHitLocationInfo::operator< ( const PndLmdHitLocationInfo o)
inline

Definition at line 35 of file PndLmdGeometryHelper.h.

References detector_half, module, module_sensor_id, module_side, and plane.

35  {
37  < std::tie(o.detector_half, o.plane, o.module, o.module_side, o.module_sensor_id);
38  }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream stream,
const PndLmdHitLocationInfo hit_info 
)
friend

Definition at line 25 of file PndLmdGeometryHelper.h.

25  {
26  stream << "detector half: " << (unsigned int) hit_info.detector_half << "\n";
27  stream << "detector plane: " << (unsigned int) hit_info.plane << "\n";
28  stream << "module on half plane: " << (unsigned int) hit_info.module << "\n";
29  stream << "side of module: " << (unsigned int) hit_info.module_side << "\n";
30  stream << "sensor id: " << (unsigned int) hit_info.module_sensor_id << "\n";
31 
32  return stream;
33  }

Member Data Documentation

unsigned char PndLmdHitLocationInfo::detector_half
unsigned char PndLmdHitLocationInfo::module
unsigned char PndLmdHitLocationInfo::module_sensor_id
unsigned char PndLmdHitLocationInfo::module_side
unsigned char PndLmdHitLocationInfo::plane

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