Jpp  17.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
JDETECTOR::JMonteCarloDetector::LCM_reverse_logic Class Reference

Auxiliary class for LCM logic parameters. More...

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

Public Member Functions

 LCM_reverse_logic ()
 Default constructor. More...
 
 LCM_reverse_logic (const int __id, const int __lcm_id, const int __pmt_id)
 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

int lcm_id
 LCM identifier. More...
 
int pmt_id
 PMT identifier. More...
 

Protected Attributes

int __id
 

Detailed Description

Auxiliary class for LCM logic parameters.

Definition at line 217 of file JMonteCarloDetector.hh.

Constructor & Destructor Documentation

JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::LCM_reverse_logic ( )
inline

Default constructor.

Definition at line 224 of file JMonteCarloDetector.hh.

224  :
225  JObjectID(),
226  lcm_id(-1),
227  pmt_id(-1)
228  {}
JObjectID()
Default constructor.
Definition: JObjectID.hh:30
JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::LCM_reverse_logic ( const int  __id,
const int  __lcm_id,
const int  __pmt_id 
)
inline

Constructor.

Parameters
__ididentifier
__lcm_idLCM identifier
__pmt_idPMT identifier

Definition at line 238 of file JMonteCarloDetector.hh.

240  :
241  JObjectID(__id),
242  lcm_id (__lcm_id),
243  pmt_id (__pmt_id)
244  {}
JObjectID()
Default constructor.
Definition: JObjectID.hh:30

Member Function Documentation

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

Get identifier.

Returns
identifier

Definition at line 50 of file JObjectID.hh.

51  {
52  return __id;
53  }
int& JLANG::JObjectID::getID ( )
inlineinherited

Get identifier.

Returns
identifier

Definition at line 61 of file JObjectID.hh.

62  {
63  return __id;
64  }
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  }
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
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  }
int getID() const
Get identifier.
Definition: JObjectID.hh:50
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  }
int getID() const
Get identifier.
Definition: JObjectID.hh:50

Member Data Documentation

int JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::lcm_id

LCM identifier.

Definition at line 247 of file JMonteCarloDetector.hh.

int JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::pmt_id

PMT identifier.

Definition at line 248 of file JMonteCarloDetector.hh.

int JLANG::JObjectID::__id
protectedinherited

Definition at line 140 of file JObjectID.hh.


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