PandaRoot
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::ostream & operator<< (std::ostream &stream, const PndLmdHitLocationInfo &hit_info)
 

Detailed Description

Definition at line 17 of file PndLmdGeometryHelper.h.

Member Function Documentation

◆ operator<()

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

Definition at line 36 of file PndLmdGeometryHelper.h.

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

37  {
39  }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 25 of file PndLmdGeometryHelper.h.

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

Member Data Documentation

◆ detector_half

unsigned char PndLmdHitLocationInfo::detector_half

Definition at line 19 of file PndLmdGeometryHelper.h.

Referenced by operator<().

◆ module

unsigned char PndLmdHitLocationInfo::module

Definition at line 21 of file PndLmdGeometryHelper.h.

Referenced by operator<().

◆ module_sensor_id

unsigned char PndLmdHitLocationInfo::module_sensor_id

Definition at line 23 of file PndLmdGeometryHelper.h.

Referenced by operator<().

◆ module_side

unsigned char PndLmdHitLocationInfo::module_side

Definition at line 22 of file PndLmdGeometryHelper.h.

Referenced by operator<().

◆ plane

unsigned char PndLmdHitLocationInfo::plane

Definition at line 20 of file PndLmdGeometryHelper.h.

Referenced by operator<().


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