Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

AcdTile Class Reference

The digitization for a single ACD tile. Stores the pulse height and a bit to denote whether or not the tile is above veto threshold. More...

#include <AcdTile.h>

Inheritance diagram for AcdTile:

TObject List of all members.

Public Methods

 AcdTile ()
 AcdTile (UInt_t id, short base=10, short used=1)
 AcdTile (AcdId &id)
virtual ~AcdTile ()
AcdIdgetId ()
UShort_t getPulseHeight ()
 Returns the PHA value for this ACD Tile. More...

UChar_t getVeto ()
 Returns 1/0 denoting whether this ACD Tile's veto threshold bit is on. More...

UChar_t getCNO ()
 Returns 1/0 denoting if this ACD Tile's high discriminator bit is on (CNO). More...

Bool_t setPulseHeight (UShort_t phaVal)
Bool_t setVeto (UChar_t hitVal)
Bool_t setCNO (UChar_t hitVal)
Int_t Compare (const TObject *obj) const
 Root >= 3.0 is now const correct for the Compare function. More...

Bool_t IsSortable () const

Private Types

enum  {
  ACD_K_PMT = 12, ACD_V_PMT = 0, ACD_M_PMT = ((1 << ACD_K_PMT) - 1), ACD_K_VETO = 1,
  ACD_V_VETO = (ACD_K_PMT + ACD_V_PMT), ACD_M_VETO = ((1 << ACD_K_VETO) - 1), ACD_K_HIGH = 1, ACD_V_HIGH = (ACD_K_VETO + ACD_V_VETO),
  ACD_M_HIGH = ((1 << ACD_K_HIGH) - 1)
}

Private Attributes

UShort_t m_tag
 packed word containing ACD tile data. More...

AcdId m_tileId
 Tile Id. More...


Detailed Description

The digitization for a single ACD tile. Stores the pulse height and a bit to denote whether or not the tile is above veto threshold.

Definition at line 23 of file AcdTile.h.


Member Enumeration Documentation

anonymous enum [private]
 

AcdTile tag word layout (defined in following enum):

     _______________________________________________
    |15|  |13|12|11|  |  |  |  |  |  |  |  |  |  |00|
    |__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|
    |      CNOVe|             PHA Value             |
    |___________|___________________________________| 
    
Enumeration values:
ACD_K_PMT  
ACD_V_PMT  
ACD_M_PMT  
ACD_K_VETO  
ACD_V_VETO  
ACD_M_VETO  
ACD_K_HIGH  
ACD_V_HIGH  
ACD_M_HIGH  

Definition at line 38 of file AcdTile.h.


Constructor & Destructor Documentation

AcdTile::AcdTile ( )
 

AcdTile::AcdTile ( UInt_t i,
short base = 10,
short used = 1 )
 

Definition at line 17 of file AcdTile.cxx.

AcdTile::AcdTile ( AcdId & id )
 

Definition at line 21 of file AcdTile.cxx.

AcdTile::~AcdTile ( ) [virtual]
 

Definition at line 25 of file AcdTile.cxx.


Member Function Documentation

Int_t AcdTile::Compare ( const TObject * obj ) const
 

Root >= 3.0 is now const correct for the Compare function.

Definition at line 29 of file AcdTile.cxx.

Bool_t AcdTile::IsSortable ( ) const
 

Definition at line 41 of file AcdTile.cxx.

UChar_t AcdTile::getCNO ( )
 

Returns 1/0 denoting if this ACD Tile's high discriminator bit is on (CNO).

Definition at line 45 of file AcdTile.cxx.

AcdId * AcdTile::getId ( ) [inline]
 

Definition at line 58 of file AcdTile.h.

UShort_t AcdTile::getPulseHeight ( )
 

Returns the PHA value for this ACD Tile.

Definition at line 55 of file AcdTile.cxx.

UChar_t AcdTile::getVeto ( )
 

Returns 1/0 denoting whether this ACD Tile's veto threshold bit is on.

Definition at line 50 of file AcdTile.cxx.

Bool_t AcdTile::setCNO ( UChar_t hitVal )
 

Definition at line 87 of file AcdTile.cxx.

Bool_t AcdTile::setPulseHeight ( UShort_t pmtVal )
 

Definition at line 60 of file AcdTile.cxx.

Bool_t AcdTile::setVeto ( UChar_t hitVal )
 

Definition at line 73 of file AcdTile.cxx.


Member Data Documentation

UShort_t AcdTile::m_tag [private]
 

packed word containing ACD tile data.

Definition at line 50 of file AcdTile.h.

AcdId AcdTile::m_tileId [private]
 

Tile Id.

Definition at line 52 of file AcdTile.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:45 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000