| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::ReadoutPmtChannel Class Reference

Readout TDC/ADC data for one channel in the PMT electronics. More...

#include <ReadoutPmtChannel.h>

Collaboration diagram for DayaBay::ReadoutPmtChannel:

[legend]
List of all members.

Public Member Functions

 ReadoutPmtChannel (const DayaBay::FeeChannelId &channelId, DayaBay::ReadoutPmtCrate *readout)
 standard constructor
 ReadoutPmtChannel ()
 Default Constructor.
virtual ~ReadoutPmtChannel ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
unsigned int size () const
 Return size of TDC vector(should be the same as ADC vector).
int peakAdc (unsigned int index) const
 Return adc value with a given index.
int peakAdcRange (unsigned int index) const
 Return adc range with a given index.
int peakAdcCycle (unsigned int index) const
 Return adc peaking cycle with a given index.
int adc (unsigned int index) const
 Return adc value with a given index.
int adcRange (unsigned int index) const
 Return adc range with a given index.
int adcCycle (unsigned int index) const
 Return adc peaking cycle with a given index.
int pedestal (unsigned int index) const
 Return the pre-adc (pedestal) value with a given index.
int tdc (unsigned int index) const
 Return tdc value with a given index.
int tdcHitCount (unsigned int index) const
 Return tdc hit count with a given index.
int maxAdcIndex () const
 Return the max ADC index for this channel.
int maxAdc () const
 Return the max ADC value for this channel.
int sumAdc () const
 Return the sum of ADC values for this channel.
int earliestTdcIndex () const
 Return the index of earliest(largest) TDC.
int earliestTdc () const
 Return the earliest(largest) TDC value.
int earliestAdc () const
 Return the earliest ADC value.
unsigned int waveSize () const
 Return size of waveform cycle vector.
int waveAdcCycle (unsigned int index) const
 Return adc cycle at waveform mode with a given index.
int waveAdcHigh (unsigned int index) const
 Return adc value in high range at waveform mode with a given index.
int waveAdcLow (unsigned int index) const
 Return adc value in low range at waveform mode with a given index.
const DayaBay::ReadoutPmtCratereadout () const
 Retrieve const Reference to full readout which contains this data.
void setReadout (DayaBay::ReadoutPmtCrate *value)
 Update Reference to full readout which contains this data.
int mode () const
 Retrieve const Fee mode: kPeakFinding=0x1, kWaveform=0x2, kFADC=0x4.
void setMode (int value)
 Update Fee mode: kPeakFinding=0x1, kWaveform=0x2, kFADC=0x4.
const DayaBay::FeeChannelIdchannelId () const
 Retrieve const Front-End Electronics Channel ID.
void setChannelId (const DayaBay::FeeChannelId &value)
 Update Front-End Electronics Channel ID.
const std::vector< int > & adc () const
 Retrieve const Vector of ADC values.
std::vector< int > & adc ()
 Retrieve Vector of ADC values.
void setAdc (const std::vector< int > &value)
 Update Vector of ADC values.
const std::vector< int > & pedestal () const
 Retrieve const Vector of pedestal.
std::vector< int > & pedestal ()
 Retrieve Vector of pedestal.
void setPedestal (const std::vector< int > &value)
 Update Vector of pedestal.
const std::vector< int > & adcRange () const
 Retrieve const Vector of ADC ranges.
std::vector< int > & adcRange ()
 Retrieve Vector of ADC ranges.
void setAdcRange (const std::vector< int > &value)
 Update Vector of ADC ranges.
const std::vector< int > & adcCycle () const
 Retrieve const Vector of ADC peaking cycles.
std::vector< int > & adcCycle ()
 Retrieve Vector of ADC peaking cycles.
void setAdcCycle (const std::vector< int > &value)
 Update Vector of ADC peaking cycles.
const std::vector< int > & tdc () const
 Retrieve const Vector of TDC values [in clock cycles since readout start].
std::vector< int > & tdc ()
 Retrieve Vector of TDC values [in clock cycles since readout start].
void setTdc (const std::vector< int > &value)
 Update Vector of TDC values [in clock cycles since readout start].
const std::vector< int > & tdcHitCount () const
 Retrieve const Vector of TDC Hit Counts.
std::vector< int > & tdcHitCount ()
 Retrieve Vector of TDC Hit Counts.
void setTdcHitCount (const std::vector< int > &value)
 Update Vector of TDC Hit Counts.
const std::vector< int > & waveAdcHigh () const
 Retrieve const Vector of waveform ADC values in high range.
void setWaveAdcHigh (const std::vector< int > &value)
 Update Vector of waveform ADC values in high range.
const std::vector< int > & waveAdcLow () const
 Retrieve const Vector of waveform ADC values in low range.
void setWaveAdcLow (const std::vector< int > &value)
 Update Vector of waveform ADC values in low range.
const std::vector< int > & waveAdcCycle () const
 Retrieve const Vector of waveform ADC cycles.
void setWaveAdcCycle (const std::vector< int > &value)
 Update Vector of waveform ADC cycles.

Static Public Member Functions

static void * operator new (size_t size)
 operator new
static void * operator new (size_t size, void *pObj)
 placement operator new it is needed by libstdc++ 3.2.3 (e.g.
static void operator delete (void *p)
 operator delete
static void operator delete (void *p, void *pObj)
 placement operator delete not sure if really needed, but it does not harm

Private Attributes

DayaBay::ReadoutPmtCratem_readout
 Reference to full readout which contains this data.
int m_mode
 Fee mode: kPeakFinding=0x1, kWaveform=0x2, kFADC=0x4.
DayaBay::FeeChannelId m_channelId
 Front-End Electronics Channel ID.
std::vector< int > m_adc
 Vector of ADC values.
std::vector< int > m_pedestal
 Vector of pedestal.
std::vector< int > m_adcRange
 Vector of ADC ranges.
std::vector< int > m_adcCycle
 Vector of ADC peaking cycles.
std::vector< int > m_tdc
 Vector of TDC values [in clock cycles since readout start].
std::vector< int > m_tdcHitCount
 Vector of TDC Hit Counts.
std::vector< int > m_waveAdcHigh
 Vector of waveform ADC values in high range.
std::vector< int > m_waveAdcLow
 Vector of waveform ADC values in low range.
std::vector< int > m_waveAdcCycle
 Vector of waveform ADC cycles.

Detailed Description

Readout TDC/ADC data for one channel in the PMT electronics.

Author:
dandwyer@caltech.edu created Mon Apr 11 03:45:45 2011

Definition at line 43 of file ReadoutPmtChannel.h.


Constructor & Destructor Documentation

DayaBay::ReadoutPmtChannel::ReadoutPmtChannel ( const DayaBay::FeeChannelId channelId,
DayaBay::ReadoutPmtCrate readout 
) [inline]

standard constructor

Definition at line 318 of file ReadoutPmtChannel.h.

00320 {
00321 
00322           setChannelId(channelId);
00323                 setReadout(readout);
00324         
00325 }

DayaBay::ReadoutPmtChannel::ReadoutPmtChannel (  )  [inline]

Default Constructor.

Definition at line 52 of file ReadoutPmtChannel.h.

00052                         : m_readout(0),
00053                           m_mode(0x0),
00054                           m_channelId(0),
00055                           m_adc(),
00056                           m_pedestal(),
00057                           m_adcRange(),
00058                           m_adcCycle(),
00059                           m_tdc(),
00060                           m_tdcHitCount(),
00061                           m_waveAdcHigh(),
00062                           m_waveAdcLow(),
00063                           m_waveAdcCycle() {}

virtual DayaBay::ReadoutPmtChannel::~ReadoutPmtChannel (  )  [inline, virtual]

Default Destructor.

Definition at line 66 of file ReadoutPmtChannel.h.

00066 {}


Member Function Documentation

std::ostream & DayaBay::ReadoutPmtChannel::fillStream ( std::ostream &  s  )  const [inline, virtual]

Fill the ASCII output stream.

Definition at line 327 of file ReadoutPmtChannel.h.

00328 {
00329   s << "{ " << "readout :       " << m_readout << std::endl
00330             << "mode :  " << m_mode << std::endl
00331             << "channelId :     " << m_channelId << std::endl
00332             << "adc :   " << m_adc << std::endl
00333             << "pedestal :      " << m_pedestal << std::endl
00334             << "adcRange :      " << m_adcRange << std::endl
00335             << "adcCycle :      " << m_adcCycle << std::endl
00336             << "tdc :   " << m_tdc << std::endl
00337             << "tdcHitCount :   " << m_tdcHitCount << std::endl
00338             << "waveAdcHigh :   " << m_waveAdcHigh << std::endl
00339             << "waveAdcLow :    " << m_waveAdcLow << std::endl
00340             << "waveAdcCycle :  " << m_waveAdcCycle << std::endl << " }";
00341   return s;
00342 }

unsigned int DayaBay::ReadoutPmtChannel::size (  )  const [inline]

Return size of TDC vector(should be the same as ADC vector).

Definition at line 495 of file ReadoutPmtChannel.h.

00496 {
00497 
00498     return m_tdc.size();
00499   
00500 }

int DayaBay::ReadoutPmtChannel::peakAdc ( unsigned int  index  )  const [inline]

Return adc value with a given index.

Definition at line 502 of file ReadoutPmtChannel.h.

00503 {
00504 
00505     return index >= m_adc.size() ? 0 : m_adc[index];
00506   
00507 }

int DayaBay::ReadoutPmtChannel::peakAdcRange ( unsigned int  index  )  const [inline]

Return adc range with a given index.

Definition at line 509 of file ReadoutPmtChannel.h.

00510 {
00511 
00512     return index >= m_adcRange.size() ? 0 : m_adcRange[index];
00513   
00514 }

int DayaBay::ReadoutPmtChannel::peakAdcCycle ( unsigned int  index  )  const [inline]

Return adc peaking cycle with a given index.

Definition at line 516 of file ReadoutPmtChannel.h.

00517 {
00518 
00519     return index >= m_adcCycle.size() ? 0 : m_adcCycle[index];
00520   
00521 }

int DayaBay::ReadoutPmtChannel::adc ( unsigned int  index  )  const [inline]

Return adc value with a given index.

Definition at line 523 of file ReadoutPmtChannel.h.

00524 {
00525 
00526     return peakAdc(index);
00527   
00528 }

int DayaBay::ReadoutPmtChannel::adcRange ( unsigned int  index  )  const [inline]

Return adc range with a given index.

Definition at line 530 of file ReadoutPmtChannel.h.

00531 {
00532 
00533     return peakAdcRange(index);
00534   
00535 }

int DayaBay::ReadoutPmtChannel::adcCycle ( unsigned int  index  )  const [inline]

Return adc peaking cycle with a given index.

Definition at line 537 of file ReadoutPmtChannel.h.

00538 {
00539 
00540     return peakAdcCycle(index);
00541   
00542 }

int DayaBay::ReadoutPmtChannel::pedestal ( unsigned int  index  )  const [inline]

Return the pre-adc (pedestal) value with a given index.

Definition at line 544 of file ReadoutPmtChannel.h.

00545 {
00546 
00547     return index >= m_pedestal.size() ? 0 : m_pedestal[index];
00548   
00549 }

int DayaBay::ReadoutPmtChannel::tdc ( unsigned int  index  )  const [inline]

Return tdc value with a given index.

Definition at line 551 of file ReadoutPmtChannel.h.

00552 {
00553 
00554     return index >= m_tdc.size() ? 0 : m_tdc[index];
00555   
00556 }

int DayaBay::ReadoutPmtChannel::tdcHitCount ( unsigned int  index  )  const [inline]

Return tdc hit count with a given index.

Definition at line 558 of file ReadoutPmtChannel.h.

00559 {
00560 
00561     return index >= m_tdcHitCount.size() ? 0 : m_tdcHitCount[index];
00562   
00563 }

int DayaBay::ReadoutPmtChannel::maxAdcIndex (  )  const [inline]

Return the max ADC index for this channel.

Definition at line 565 of file ReadoutPmtChannel.h.

00566 {
00567 
00568           if( m_adc.empty() ) return 0;
00569           int maxAdcIndex = 0;
00570     int maxAdc = 0;
00571     for(unsigned i=0; i<m_adc.size(); i++) {
00572       if( m_adc[i] > maxAdc ) {
00573         maxAdc = m_adc[i];
00574         maxAdcIndex = i;
00575       }
00576     }
00577           return maxAdcIndex;
00578         
00579 }

int DayaBay::ReadoutPmtChannel::maxAdc (  )  const [inline]

Return the max ADC value for this channel.

Definition at line 581 of file ReadoutPmtChannel.h.

00582 {
00583 
00584           if( m_adc.empty() ) return 0;
00585           return m_adc[maxAdcIndex()];
00586         
00587 }

int DayaBay::ReadoutPmtChannel::sumAdc (  )  const [inline]

Return the sum of ADC values for this channel.

Definition at line 589 of file ReadoutPmtChannel.h.

00590 {
00591 
00592           if( m_adc.empty() ) return 0;
00593           int sumAdc = 0;
00594     for(unsigned i=0; i<m_adc.size(); i++) {
00595       sumAdc += m_adc[i];
00596     }
00597           return sumAdc;
00598         
00599 }

int DayaBay::ReadoutPmtChannel::earliestTdcIndex (  )  const [inline]

Return the index of earliest(largest) TDC.

Definition at line 601 of file ReadoutPmtChannel.h.

00602 {
00603 
00604           if( m_tdc.empty() ) return 0;
00605           int earliestTdc = 0;
00606     int earliestTdcIndex = 0;
00607           for(unsigned int i=0; i < m_tdc.size(); i++) {
00608       if( i == 0 || m_tdc[i] > earliestTdc ) {
00609         earliestTdc = m_tdc[i];
00610         earliestTdcIndex = i;
00611       }
00612     }
00613           return earliestTdcIndex;
00614         
00615 }

int DayaBay::ReadoutPmtChannel::earliestTdc (  )  const [inline]

Return the earliest(largest) TDC value.

Definition at line 617 of file ReadoutPmtChannel.h.

00618 {
00619 
00620           if( m_tdc.empty() ) return 0;
00621           return m_tdc[earliestTdcIndex()];
00622         
00623 }

int DayaBay::ReadoutPmtChannel::earliestAdc (  )  const [inline]

Return the earliest ADC value.

Definition at line 625 of file ReadoutPmtChannel.h.

00626 {
00627 
00628           if( m_adc.empty() ) return 0;
00629           return m_adc[earliestTdcIndex()];
00630         
00631 }

unsigned int DayaBay::ReadoutPmtChannel::waveSize (  )  const [inline]

Return size of waveform cycle vector.

Definition at line 633 of file ReadoutPmtChannel.h.

00634 {
00635 
00636     return m_waveAdcCycle.size();
00637   
00638 }

int DayaBay::ReadoutPmtChannel::waveAdcCycle ( unsigned int  index  )  const [inline]

Return adc cycle at waveform mode with a given index.

Definition at line 640 of file ReadoutPmtChannel.h.

00641 {
00642 
00643     return index >= m_waveAdcCycle.size() ? 0 : m_waveAdcCycle[index];
00644   
00645 }

int DayaBay::ReadoutPmtChannel::waveAdcHigh ( unsigned int  index  )  const [inline]

Return adc value in high range at waveform mode with a given index.

Definition at line 647 of file ReadoutPmtChannel.h.

00648 {
00649 
00650     return index >= m_waveAdcHigh.size() ? 0 : m_waveAdcHigh[index];
00651   
00652 }

int DayaBay::ReadoutPmtChannel::waveAdcLow ( unsigned int  index  )  const [inline]

Return adc value in low range at waveform mode with a given index.

Definition at line 654 of file ReadoutPmtChannel.h.

00655 {
00656 
00657     return index >= m_waveAdcLow.size() ? 0 : m_waveAdcLow[index];
00658   
00659 }

const DayaBay::ReadoutPmtCrate * DayaBay::ReadoutPmtChannel::readout (  )  const [inline]

Retrieve const Reference to full readout which contains this data.

Definition at line 345 of file ReadoutPmtChannel.h.

00346 {
00347   return m_readout;
00348 }

void DayaBay::ReadoutPmtChannel::setReadout ( DayaBay::ReadoutPmtCrate value  )  [inline]

Update Reference to full readout which contains this data.

Definition at line 350 of file ReadoutPmtChannel.h.

00351 {
00352   m_readout = value;
00353 }

int DayaBay::ReadoutPmtChannel::mode (  )  const [inline]

Retrieve const Fee mode: kPeakFinding=0x1, kWaveform=0x2, kFADC=0x4.

Definition at line 355 of file ReadoutPmtChannel.h.

00356 {
00357   return m_mode;
00358 }

void DayaBay::ReadoutPmtChannel::setMode ( int  value  )  [inline]

Update Fee mode: kPeakFinding=0x1, kWaveform=0x2, kFADC=0x4.

Definition at line 360 of file ReadoutPmtChannel.h.

00361 {
00362   m_mode = value;
00363 }

const DayaBay::FeeChannelId & DayaBay::ReadoutPmtChannel::channelId (  )  const [inline]

Retrieve const Front-End Electronics Channel ID.

Definition at line 365 of file ReadoutPmtChannel.h.

00366 {
00367   return m_channelId;
00368 }

void DayaBay::ReadoutPmtChannel::setChannelId ( const DayaBay::FeeChannelId value  )  [inline]

Update Front-End Electronics Channel ID.

Definition at line 370 of file ReadoutPmtChannel.h.

00371 {
00372   m_channelId = value;
00373 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::adc (  )  const [inline]

Retrieve const Vector of ADC values.

Definition at line 375 of file ReadoutPmtChannel.h.

00376 {
00377   return m_adc;
00378 }

std::vector< int > & DayaBay::ReadoutPmtChannel::adc (  )  [inline]

Retrieve Vector of ADC values.

Definition at line 380 of file ReadoutPmtChannel.h.

00381 {
00382   return m_adc;
00383 }

void DayaBay::ReadoutPmtChannel::setAdc ( const std::vector< int > &  value  )  [inline]

Update Vector of ADC values.

Definition at line 385 of file ReadoutPmtChannel.h.

00386 {
00387   m_adc = value;
00388 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::pedestal (  )  const [inline]

Retrieve const Vector of pedestal.

Definition at line 390 of file ReadoutPmtChannel.h.

00391 {
00392   return m_pedestal;
00393 }

std::vector< int > & DayaBay::ReadoutPmtChannel::pedestal (  )  [inline]

Retrieve Vector of pedestal.

Definition at line 395 of file ReadoutPmtChannel.h.

00396 {
00397   return m_pedestal;
00398 }

void DayaBay::ReadoutPmtChannel::setPedestal ( const std::vector< int > &  value  )  [inline]

Update Vector of pedestal.

Definition at line 400 of file ReadoutPmtChannel.h.

00401 {
00402   m_pedestal = value;
00403 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::adcRange (  )  const [inline]

Retrieve const Vector of ADC ranges.

Definition at line 405 of file ReadoutPmtChannel.h.

00406 {
00407   return m_adcRange;
00408 }

std::vector< int > & DayaBay::ReadoutPmtChannel::adcRange (  )  [inline]

Retrieve Vector of ADC ranges.

Definition at line 410 of file ReadoutPmtChannel.h.

00411 {
00412   return m_adcRange;
00413 }

void DayaBay::ReadoutPmtChannel::setAdcRange ( const std::vector< int > &  value  )  [inline]

Update Vector of ADC ranges.

Definition at line 415 of file ReadoutPmtChannel.h.

00416 {
00417   m_adcRange = value;
00418 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::adcCycle (  )  const [inline]

Retrieve const Vector of ADC peaking cycles.

Definition at line 420 of file ReadoutPmtChannel.h.

00421 {
00422   return m_adcCycle;
00423 }

std::vector< int > & DayaBay::ReadoutPmtChannel::adcCycle (  )  [inline]

Retrieve Vector of ADC peaking cycles.

Definition at line 425 of file ReadoutPmtChannel.h.

00426 {
00427   return m_adcCycle;
00428 }

void DayaBay::ReadoutPmtChannel::setAdcCycle ( const std::vector< int > &  value  )  [inline]

Update Vector of ADC peaking cycles.

Definition at line 430 of file ReadoutPmtChannel.h.

00431 {
00432   m_adcCycle = value;
00433 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::tdc (  )  const [inline]

Retrieve const Vector of TDC values [in clock cycles since readout start].

Definition at line 435 of file ReadoutPmtChannel.h.

00436 {
00437   return m_tdc;
00438 }

std::vector< int > & DayaBay::ReadoutPmtChannel::tdc (  )  [inline]

Retrieve Vector of TDC values [in clock cycles since readout start].

Definition at line 440 of file ReadoutPmtChannel.h.

00441 {
00442   return m_tdc;
00443 }

void DayaBay::ReadoutPmtChannel::setTdc ( const std::vector< int > &  value  )  [inline]

Update Vector of TDC values [in clock cycles since readout start].

Definition at line 445 of file ReadoutPmtChannel.h.

00446 {
00447   m_tdc = value;
00448 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::tdcHitCount (  )  const [inline]

Retrieve const Vector of TDC Hit Counts.

Definition at line 450 of file ReadoutPmtChannel.h.

00451 {
00452   return m_tdcHitCount;
00453 }

std::vector< int > & DayaBay::ReadoutPmtChannel::tdcHitCount (  )  [inline]

Retrieve Vector of TDC Hit Counts.

Definition at line 455 of file ReadoutPmtChannel.h.

00456 {
00457   return m_tdcHitCount;
00458 }

void DayaBay::ReadoutPmtChannel::setTdcHitCount ( const std::vector< int > &  value  )  [inline]

Update Vector of TDC Hit Counts.

Definition at line 460 of file ReadoutPmtChannel.h.

00461 {
00462   m_tdcHitCount = value;
00463 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::waveAdcHigh (  )  const [inline]

Retrieve const Vector of waveform ADC values in high range.

Definition at line 465 of file ReadoutPmtChannel.h.

00466 {
00467   return m_waveAdcHigh;
00468 }

void DayaBay::ReadoutPmtChannel::setWaveAdcHigh ( const std::vector< int > &  value  )  [inline]

Update Vector of waveform ADC values in high range.

Definition at line 470 of file ReadoutPmtChannel.h.

00471 {
00472   m_waveAdcHigh = value;
00473 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::waveAdcLow (  )  const [inline]

Retrieve const Vector of waveform ADC values in low range.

Definition at line 475 of file ReadoutPmtChannel.h.

00476 {
00477   return m_waveAdcLow;
00478 }

void DayaBay::ReadoutPmtChannel::setWaveAdcLow ( const std::vector< int > &  value  )  [inline]

Update Vector of waveform ADC values in low range.

Definition at line 480 of file ReadoutPmtChannel.h.

00481 {
00482   m_waveAdcLow = value;
00483 }

const std::vector< int > & DayaBay::ReadoutPmtChannel::waveAdcCycle (  )  const [inline]

Retrieve const Vector of waveform ADC cycles.

Definition at line 485 of file ReadoutPmtChannel.h.

00486 {
00487   return m_waveAdcCycle;
00488 }

void DayaBay::ReadoutPmtChannel::setWaveAdcCycle ( const std::vector< int > &  value  )  [inline]

Update Vector of waveform ADC cycles.

Definition at line 490 of file ReadoutPmtChannel.h.

00491 {
00492   m_waveAdcCycle = value;
00493 }

static void* DayaBay::ReadoutPmtChannel::operator new ( size_t  size  )  [inline, static]

operator new

Definition at line 254 of file ReadoutPmtChannel.h.

00255     {
00256       return ( sizeof(ReadoutPmtChannel) == size ? 
00257                boost::singleton_pool<ReadoutPmtChannel, sizeof(ReadoutPmtChannel)>::malloc() :
00258                ::operator new(size) );
00259     }

static void* DayaBay::ReadoutPmtChannel::operator new ( size_t  size,
void *  pObj 
) [inline, static]

placement operator new it is needed by libstdc++ 3.2.3 (e.g.

in std::vector) it is not needed in libstdc++ >= 3.4

Definition at line 264 of file ReadoutPmtChannel.h.

00265     {
00266       return ::operator new (size,pObj);
00267     }

static void DayaBay::ReadoutPmtChannel::operator delete ( void *  p  )  [inline, static]

operator delete

Definition at line 270 of file ReadoutPmtChannel.h.

00271     {
00272       boost::singleton_pool<ReadoutPmtChannel, sizeof(ReadoutPmtChannel)>::is_from(p) ?
00273       boost::singleton_pool<ReadoutPmtChannel, sizeof(ReadoutPmtChannel)>::free(p) :
00274       ::operator delete(p);
00275     }

static void DayaBay::ReadoutPmtChannel::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Definition at line 279 of file ReadoutPmtChannel.h.

00280     {
00281       ::operator delete (p, pObj);
00282     }


Member Data Documentation

DayaBay::ReadoutPmtCrate* DayaBay::ReadoutPmtChannel::m_readout [private]

Reference to full readout which contains this data.

Definition at line 288 of file ReadoutPmtChannel.h.

int DayaBay::ReadoutPmtChannel::m_mode [private]

Fee mode: kPeakFinding=0x1, kWaveform=0x2, kFADC=0x4.

Definition at line 289 of file ReadoutPmtChannel.h.

DayaBay::FeeChannelId DayaBay::ReadoutPmtChannel::m_channelId [private]

Front-End Electronics Channel ID.

Definition at line 290 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_adc [private]

Vector of ADC values.

Definition at line 291 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_pedestal [private]

Vector of pedestal.

Definition at line 292 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_adcRange [private]

Vector of ADC ranges.

Definition at line 293 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_adcCycle [private]

Vector of ADC peaking cycles.

Definition at line 294 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_tdc [private]

Vector of TDC values [in clock cycles since readout start].

Definition at line 295 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_tdcHitCount [private]

Vector of TDC Hit Counts.

Definition at line 296 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_waveAdcHigh [private]

Vector of waveform ADC values in high range.

Definition at line 297 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_waveAdcLow [private]

Vector of waveform ADC values in low range.

Definition at line 298 of file ReadoutPmtChannel.h.

std::vector<int> DayaBay::ReadoutPmtChannel::m_waveAdcCycle [private]

Vector of waveform ADC cycles.

Definition at line 299 of file ReadoutPmtChannel.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:24:50 2011 for ReadoutEvent by doxygen 1.4.7