#include <CellID.h>
Public Methods | |
| CellID () | |
| Constructors. More... | |
| CellID ( long cellID ) | |
| CellID ( long calorimeterNumber, long rawNumber, long columnNumber ) | |
| ~CellID () | |
| Destructor. More... | |
| long | calorimeterNumber () const |
| Retrieve calorimeter number. More... | |
| long | rawNumber () const |
| Retrieve raw number. More... | |
| long | columnNumber () const |
| Retrieve column number. More... | |
| long | id () const |
| Retrieve calorimeter cell ID. More... | |
| void | setID ( long calorimeterNumber, long rawNumber, long columnNumber ) |
| Update calorimeter cell ID. More... | |
| std::ostream& | fillStream ( std::ostream& s ) const |
| Fill the output stream (ASCII). More... | |
Private Types | |
| enum | { CalorimeterEncoding = 1000000, RawEncoding = 1000, ColumnEncoding = 1 } |
Private Attributes | |
| long | m_id |
Friends | |
| StreamBuffer& | operator<< ( StreamBuffer& s, const CellID& obj ) |
| Serialize the object for writing. More... | |
| StreamBuffer& | operator>> ( StreamBuffer& s, CellID& obj ) |
| Serialize the object for reading. More... | |
| std::ostream& | operator<< ( std::ostream& s, const CellID& obj ) |
| Output operator(ASCII). More... | |
|
|
|
|
|
Constructors.
|
|
|
|
|
|
|
|
|
Destructor.
|
|
|
Retrieve calorimeter number.
Definition at line 45 of file CellID.h. Referenced by columnNumber(), fillStream(), and rawNumber(). |
|
|
Retrieve column number.
Definition at line 54 of file CellID.h. Referenced by fillStream(). |
|
|
Fill the output stream (ASCII).
Definition at line 84 of file CellID.h. Referenced by operator<<(). |
|
|
Retrieve calorimeter cell ID.
|
|
|
Retrieve raw number.
Definition at line 49 of file CellID.h. Referenced by columnNumber(), and fillStream(). |
|
|
Update calorimeter cell ID.
Definition at line 64 of file CellID.h. Referenced by CellID(). |
|
|
Output operator(ASCII).
|
|
|
Serialize the object for writing.
|
|
|
Serialize the object for reading.
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000