Jpp  master_rocky-43-ge265d140c
the software that should make you happy
Public Member Functions | Public Attributes | Protected Attributes | List of all members
JDETECTOR::JMonteCarloDetector::OM_cluster_data Class Reference

Auxiliary class for OM cluster data. More...

Inheritance diagram for JDETECTOR::JMonteCarloDetector::OM_cluster_data:
JLANG::JObjectID JLANG::JComparable< JObjectID > JLANG::JComparable< JObjectID, int >

Public Member Functions

 OM_cluster_data (std::istream &in)
 Constructor. More...
 
int getID () const
 Get identifier. More...
 
int & getID ()
 Get identifier. More...
 
void setID (const int id)
 Set identifier. More...
 
bool less (const JObjectID &object) const
 Less than method. More...
 
bool less (const int id) const
 Less than method. More...
 
bool more (const int id) const
 More than method. More...
 

Public Attributes

double x
 x position More...
 
double y
 y position More...
 
double z
 z position More...
 
double theta
 Euler angle. More...
 
double phi
 Euler angle. More...
 
double psi
 Euler angle. More...
 

Protected Attributes

int __id
 

Detailed Description

Auxiliary class for OM cluster data.

Definition at line 106 of file JMonteCarloDetector.hh.

Constructor & Destructor Documentation

◆ OM_cluster_data()

JDETECTOR::JMonteCarloDetector::OM_cluster_data::OM_cluster_data ( std::istream &  in)
inline

Constructor.

Parameters
ininput stream

Definition at line 115 of file JMonteCarloDetector.hh.

Member Function Documentation

◆ getID() [1/2]

int JLANG::JObjectID::getID ( ) const
inlineinherited

Get identifier.

Returns
identifier

Definition at line 50 of file JObjectID.hh.

51  {
52  return __id;
53  }

◆ getID() [2/2]

int& JLANG::JObjectID::getID ( )
inlineinherited

Get identifier.

Returns
identifier

Definition at line 61 of file JObjectID.hh.

62  {
63  return __id;
64  }

◆ setID()

void JLANG::JObjectID::setID ( const int  id)
inlineinherited

Set identifier.

Parameters
ididentifier

Definition at line 72 of file JObjectID.hh.

73  {
74  this->__id = id;
75  }

◆ less() [1/2]

bool JLANG::JObjectID::less ( const JObjectID object) const
inlineinherited

Less than method.

Parameters
objectobject identifier
Returns
true if this identifier less than given identifier; else false

Definition at line 84 of file JObjectID.hh.

85  {
86  return this->getID() < object.getID();
87  }
int getID() const
Get identifier.
Definition: JObjectID.hh:50

◆ less() [2/2]

bool JLANG::JObjectID::less ( const int  id) const
inlineinherited

Less than method.

Parameters
ididentifier
Returns
true if this identifier less than given identifier; else false

Definition at line 96 of file JObjectID.hh.

97  {
98  return this->getID() < id;
99  }

◆ more()

bool JLANG::JObjectID::more ( const int  id) const
inlineinherited

More than method.

Parameters
ididentifier
Returns
true if this identifier greater than given identifier; else false

Definition at line 108 of file JObjectID.hh.

109  {
110  return this->getID() > id;
111  }

Member Data Documentation

◆ x

double JDETECTOR::JMonteCarloDetector::OM_cluster_data::x

x position

Definition at line 121 of file JMonteCarloDetector.hh.

◆ y

double JDETECTOR::JMonteCarloDetector::OM_cluster_data::y

y position

Definition at line 122 of file JMonteCarloDetector.hh.

◆ z

double JDETECTOR::JMonteCarloDetector::OM_cluster_data::z

z position

Definition at line 123 of file JMonteCarloDetector.hh.

◆ theta

double JDETECTOR::JMonteCarloDetector::OM_cluster_data::theta

Euler angle.

Definition at line 124 of file JMonteCarloDetector.hh.

◆ phi

double JDETECTOR::JMonteCarloDetector::OM_cluster_data::phi

Euler angle.

Definition at line 125 of file JMonteCarloDetector.hh.

◆ psi

double JDETECTOR::JMonteCarloDetector::OM_cluster_data::psi

Euler angle.

Definition at line 126 of file JMonteCarloDetector.hh.

◆ __id

int JLANG::JObjectID::__id
protectedinherited

Definition at line 140 of file JObjectID.hh.


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