QwAnalysis
QwDetectorInfo.h File Reference
#include <cmath>
#include <vector>
#include <string>
#include <iostream>
#include <algorithm>
#include "TObject.h"
#include "TVector3.h"
#include "QwTypes.h"
#include "QwLog.h"
+ Include dependency graph for QwDetectorInfo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  QwDetectorInfo
 

Functions

bool operator< (const QwDetectorInfo &lhs, const QwDetectorInfo &rhs)
 

Function Documentation

bool operator< ( const QwDetectorInfo lhs,
const QwDetectorInfo rhs 
)
inline

Definition at line 364 of file QwDetectorInfo.h.

References QwDetectorInfo::GetPackage(), QwDetectorInfo::GetRegion(), and QwDetectorInfo::GetZPosition().

364  {
365  if (lhs.GetPackage() < rhs.GetPackage()) return true;
366  else if (lhs.GetPackage() == rhs.GetPackage()) {
367  if (lhs.GetRegion() < rhs.GetRegion()) return true;
368  else if (lhs.GetRegion() == rhs.GetRegion()) {
369  if (lhs.GetZPosition() < rhs.GetZPosition()) return true;
370  else if (lhs.GetZPosition() == rhs.GetZPosition()) {
371  return false;
372  } else return false;
373  } else return false;
374  } else return false;
375 }
EQwDetectorPackage GetPackage() const
EQwRegionID GetRegion() const
double GetZPosition() const

+ Here is the call graph for this function: