CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
TofData Class Reference

#include <TofData.h>

Public Member Functions

 TofData ()
 
 ~TofData ()
 
TofDataoperator= (const TofData &source)
 
unsigned int identify () const
 
bool barrel () const
 
int tofId ()
 
int layer () const
 
int tofTrackId () const
 
unsigned int times () const
 
void data (double &adcEast, double &tdcEast, double &adcWest, double &tdcWest)
 
void data (double &adc, double &tdc)
 
PmtDataforward () const
 
PmtDatabackward () const
 
double adc1 ()
 
double tdc1 ()
 
double adc2 ()
 
double tdc2 ()
 
double adc ()
 
double tdc ()
 
double qtc1 ()
 
double qtc2 ()
 
double qtc ()
 
int adcChannelEast ()
 
int tdcChannelEast ()
 
int adcChannelWest ()
 
int tdcChannelWest ()
 
int adcChannel ()
 
int tdcChannel ()
 
int qclock1 ()
 
int tclock1 ()
 
int qclock2 ()
 
int tclock2 ()
 
int qclock ()
 
int tclock ()
 
unsigned int quality () const
 
bool tmatched () const
 
int qtimes1 ()
 
int ttimes1 ()
 
int qtimes2 ()
 
int ttimes2 ()
 
unsigned int eastTimes ()
 
unsigned int westTimes ()
 
int qnumber1 ()
 
int tnumber1 ()
 
int qnumber2 ()
 
int tnumber2 ()
 
bool qused1 ()
 
bool tused1 ()
 
bool qused2 ()
 
bool tused2 ()
 
bool used1 ()
 
bool used2 ()
 
bool used ()
 
double ztdc () const
 
double zadc () const
 
double zpos () const
 
double energy () const
 
void setIdentify (Identifier identify)
 
void setMisLable ()
 
void setTofTrackId (int tofTrackId)
 
void setTimes (unsigned int times)
 
void setForward (PmtData *pmt)
 
void setBackward (PmtData *pmt)
 
void setQuality (unsigned int quality)
 
void setTMatched (bool tmatched)
 
void setUsed ()
 
void setZTdc (double ztdc)
 
void setZAdc (double zadc)
 
void setZpos (double zpos)
 
void setEnergy (double energy)
 
void clear ()
 
 TofData ()
 
 ~TofData ()
 
TofDataoperator= (const TofData &source)
 
unsigned int identify () const
 
bool barrel () const
 
int tofId ()
 
int layer () const
 
int tofTrackId () const
 
unsigned int times () const
 
void data (double &adcEast, double &tdcEast, double &adcWest, double &tdcWest)
 
void data (double &adc, double &tdc)
 
PmtDataforward () const
 
PmtDatabackward () const
 
double adc1 ()
 
double tdc1 ()
 
double adc2 ()
 
double tdc2 ()
 
double adc ()
 
double tdc ()
 
double qtc1 ()
 
double qtc2 ()
 
double qtc ()
 
int adcChannelEast ()
 
int tdcChannelEast ()
 
int adcChannelWest ()
 
int tdcChannelWest ()
 
int adcChannel ()
 
int tdcChannel ()
 
int qclock1 ()
 
int tclock1 ()
 
int qclock2 ()
 
int tclock2 ()
 
int qclock ()
 
int tclock ()
 
unsigned int quality () const
 
bool tmatched () const
 
int qtimes1 ()
 
int ttimes1 ()
 
int qtimes2 ()
 
int ttimes2 ()
 
unsigned int eastTimes ()
 
unsigned int westTimes ()
 
int qnumber1 ()
 
int tnumber1 ()
 
int qnumber2 ()
 
int tnumber2 ()
 
bool qused1 ()
 
bool tused1 ()
 
bool qused2 ()
 
bool tused2 ()
 
bool used1 ()
 
bool used2 ()
 
bool used ()
 
double ztdc () const
 
double zadc () const
 
double zpos () const
 
double energy () const
 
void setIdentify (Identifier identify)
 
void setMisLable ()
 
void setTofTrackId (int tofTrackId)
 
void setTimes (unsigned int times)
 
void setForward (PmtData *pmt)
 
void setBackward (PmtData *pmt)
 
void setQuality (unsigned int quality)
 
void setTMatched (bool tmatched)
 
void setUsed ()
 
void setZTdc (double ztdc)
 
void setZAdc (double zadc)
 
void setZpos (double zpos)
 
void setEnergy (double energy)
 
void clear ()
 

Detailed Description

Constructor & Destructor Documentation

◆ TofData() [1/2]

TofData::TofData ( )

Definition at line 452 of file TofData.cxx.

452 {
453 m_identify = 0;
454 m_barrel = false;
455 m_tofId = -1;
456 m_layer = -1;
457 m_tofTrackId = -1;
458 m_misLable = false;
459 m_quality = 0;
460 m_tmatched = false;
461 m_forward = 0;
462 m_backward = 0;
463 m_ztdc = -999;
464 m_zadc = -999;
465 m_zpos = -999;
466 m_energy = 0;
467}

◆ ~TofData() [1/2]

TofData::~TofData ( )

Definition at line 489 of file TofData.cxx.

489 {
491}
void clear()
Definition: TofData.cxx:956

◆ TofData() [2/2]

TofData::TofData ( )

◆ ~TofData() [2/2]

TofData::~TofData ( )

Member Function Documentation

◆ adc() [1/2]

double TofData::adc ( )

Definition at line 598 of file TofData.cxx.

598 {
599 double value = -999.;
600 if( m_forward ) {
601 value = m_forward->adc();
602 }
603 return value;
604}
double adc()
Definition: TofData.cxx:238

Referenced by data(), TofShower::energyCalib(), TofEnergyCalib::execute(), and TofCheckDigi::Fill_Endcap().

◆ adc() [2/2]

double TofData::adc ( )

◆ adc1() [1/2]

double TofData::adc1 ( )

Definition at line 562 of file TofData.cxx.

562 {
563 double value = -999.;
564 if( m_forward ) {
565 value = m_forward->adc();
566 }
567 return value;
568}

Referenced by TofShower::energyCalib(), TofEnergyCalib::execute(), and TofCheckDigi::Fill_Barrel().

◆ adc1() [2/2]

double TofData::adc1 ( )

◆ adc2() [1/2]

double TofData::adc2 ( )

Definition at line 580 of file TofData.cxx.

580 {
581 double value = -999.;
582 if( m_backward ) {
583 value = m_backward->adc();
584 }
585 return value;
586}

Referenced by TofShower::energyCalib(), TofEnergyCalib::execute(), and TofCheckDigi::Fill_Barrel().

◆ adc2() [2/2]

double TofData::adc2 ( )

◆ adcChannel() [1/2]

int TofData::adcChannel ( )

Definition at line 679 of file TofData.cxx.

679 {
680 int channel = -999;
681 if( m_forward ) {
682 channel = m_forward->adcChannel();
683 }
684 return channel;
685}
int adcChannel()
Definition: TofData.cxx:207

Referenced by TofCheckDigi::Fill_Endcap().

◆ adcChannel() [2/2]

int TofData::adcChannel ( )

◆ adcChannelEast() [1/2]

int TofData::adcChannelEast ( )

Definition at line 643 of file TofData.cxx.

643 {
644 int channel = -999;
645 if( m_forward ) {
646 channel = m_forward->adcChannel();
647 }
648 return channel;
649}

Referenced by TofCheckDigi::Fill_Barrel().

◆ adcChannelEast() [2/2]

int TofData::adcChannelEast ( )

◆ adcChannelWest() [1/2]

int TofData::adcChannelWest ( )

Definition at line 661 of file TofData.cxx.

661 {
662 int channel = -999;
663 if( m_backward ) {
664 channel = m_backward->adcChannel();
665 }
666 return channel;
667}

Referenced by TofCheckDigi::Fill_Barrel().

◆ adcChannelWest() [2/2]

int TofData::adcChannelWest ( )

◆ backward() [1/2]

PmtData * TofData::backward ( ) const
inline

Definition at line 143 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-40/RawDataProviderSvc/TofData.h.

143{ return m_backward; }

◆ backward() [2/2]

PmtData * TofData::backward ( ) const
inline

Definition at line 143 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

143{ return m_backward; }

◆ barrel() [1/2]

bool TofData::barrel ( ) const
inline

◆ barrel() [2/2]

bool TofData::barrel ( ) const
inline

Definition at line 132 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

132{ return m_barrel; }

◆ clear() [1/2]

void TofData::clear ( )

Definition at line 956 of file TofData.cxx.

956 {
957 if( m_forward ) {
958 if( m_forward->times() <= 1 ) {
959 delete m_forward;
960 m_forward = 0;
961 }
962 else {
963 m_forward->timesmm();
964 }
965 }
966 if( m_backward ) {
967 if( m_backward->times() <= 1 ) {
968 delete m_backward;
969 m_backward = 0;
970 }
971 else {
972 m_backward->timesmm();
973 }
974 }
975 return;
976}
void timesmm()
Definition: TofData.cxx:294

Referenced by ~TofData().

◆ clear() [2/2]

void TofData::clear ( )

◆ data() [1/4]

void TofData::data ( double &  adc,
double &  tdc 
)

Definition at line 551 of file TofData.cxx.

551 {
552 adc = -999.;
553 tdc = -999.;
554 if( m_forward ) {
555 adc = m_forward->adc();
556 tdc = m_forward->tdc();
557 }
558 return;
559}
double tdc()
Definition: TofData.cxx:270
double adc()
Definition: TofData.cxx:598
double tdc()
Definition: TofData.cxx:607

◆ data() [2/4]

void TofData::data ( double &  adc,
double &  tdc 
)

◆ data() [3/4]

void TofData::data ( double &  adcEast,
double &  tdcEast,
double &  adcWest,
double &  tdcWest 
)

Definition at line 534 of file TofData.cxx.

534 {
535 adcEast = -999.;
536 tdcEast = -999.;
537 if( m_forward ) {
538 adcEast = m_forward->adc();
539 tdcEast = m_forward->tdc();
540 }
541 adcWest = -999.;
542 tdcWest = -999.;
543 if( m_backward ) {
544 adcWest = m_backward->adc();
545 tdcWest = m_backward->tdc();
546 }
547 return;
548}

◆ data() [4/4]

void TofData::data ( double &  adcEast,
double &  tdcEast,
double &  adcWest,
double &  tdcWest 
)

◆ eastTimes() [1/2]

unsigned int TofData::eastTimes ( )

Definition at line 787 of file TofData.cxx.

787 {
788 int times = 0;
789 if( m_forward ) {
790 times = m_forward->times();
791 }
792 return times;
793}

Referenced by TofCheckDigi::Fill_Barrel().

◆ eastTimes() [2/2]

unsigned int TofData::eastTimes ( )

◆ energy() [1/2]

double TofData::energy ( ) const
inline

◆ energy() [2/2]

double TofData::energy ( ) const
inline

Definition at line 197 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

197{ return m_energy; }

◆ forward() [1/2]

PmtData * TofData::forward ( ) const
inline

Definition at line 142 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-40/RawDataProviderSvc/TofData.h.

142{ return m_forward; }

◆ forward() [2/2]

PmtData * TofData::forward ( ) const
inline

Definition at line 142 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

142{ return m_forward; }

◆ identify() [1/2]

unsigned int TofData::identify ( ) const
inline

Definition at line 131 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-40/RawDataProviderSvc/TofData.h.

131{ return m_identify; }

Referenced by TofShower::findSeed(), and setIdentify().

◆ identify() [2/2]

unsigned int TofData::identify ( ) const
inline

Definition at line 131 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

131{ return m_identify; }

◆ layer() [1/2]

int TofData::layer ( ) const
inline

◆ layer() [2/2]

int TofData::layer ( ) const
inline

Definition at line 134 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

134{ return m_layer; }

◆ operator=() [1/2]

TofData & TofData::operator= ( const TofData source)

Definition at line 470 of file TofData.cxx.

470 {
471 m_identify = source.m_identify;
472 m_barrel = source.m_barrel;
473 m_tofId = source.m_tofId;
474 m_layer = source.m_layer;
475 m_tofTrackId = source.m_tofTrackId;
476 m_misLable = source.m_misLable;
477 m_quality = source.m_quality;
478 m_tmatched = source.m_tmatched;
479 m_forward = source.m_forward;
480 m_backward = source.m_backward;
481 m_ztdc = source.m_ztdc;
482 m_zadc = source.m_zadc;
483 m_zpos = source.m_zpos;
484 m_energy = source.m_energy;
485 return *this;
486}

◆ operator=() [2/2]

TofData & TofData::operator= ( const TofData source)

◆ qclock() [1/2]

int TofData::qclock ( )

Definition at line 733 of file TofData.cxx.

733 {
734 int clock = -999;
735 if( m_forward ) {
736 clock = m_forward->qclock();
737 }
738 return clock;
739}
int qclock()
Definition: TofData.cxx:252

Referenced by TofCheckDigi::Fill_Endcap().

◆ qclock() [2/2]

int TofData::qclock ( )

◆ qclock1() [1/2]

int TofData::qclock1 ( )

Definition at line 697 of file TofData.cxx.

697 {
698 int clock = -999;
699 if( m_forward ) {
700 clock = m_forward->qclock();
701 }
702 return clock;
703}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qclock1() [2/2]

int TofData::qclock1 ( )

◆ qclock2() [1/2]

int TofData::qclock2 ( )

Definition at line 715 of file TofData.cxx.

715 {
716 int clock = -999;
717 if( m_backward ) {
718 clock = m_backward->qclock();
719 }
720 return clock;
721}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qclock2() [2/2]

int TofData::qclock2 ( )

◆ qnumber1() [1/2]

int TofData::qnumber1 ( )

Definition at line 805 of file TofData.cxx.

805 {
806 int number = 0;
807 if( m_forward ) {
808 number = m_forward->qnumber();
809 }
810 return number;
811}
int qnumber()
Definition: TofData.cxx:350

Referenced by TofCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Endcap().

◆ qnumber1() [2/2]

int TofData::qnumber1 ( )

◆ qnumber2() [1/2]

int TofData::qnumber2 ( )

Definition at line 823 of file TofData.cxx.

823 {
824 int number = 0;
825 if( m_backward ) {
826 number = m_backward->qnumber();
827 }
828 return number;
829}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qnumber2() [2/2]

int TofData::qnumber2 ( )

◆ qtc() [1/2]

double TofData::qtc ( )

Definition at line 634 of file TofData.cxx.

634 {
635 double value = -999.;
636 if( m_forward ) {
637 value = m_forward->qtc();
638 }
639 return value;
640}
double qtc()
Definition: TofData.cxx:224

Referenced by TofCheckDigi::Fill_Endcap().

◆ qtc() [2/2]

double TofData::qtc ( )

◆ qtc1() [1/2]

double TofData::qtc1 ( )

Definition at line 616 of file TofData.cxx.

616 {
617 double value = -999.;
618 if( m_forward ) {
619 value = m_forward->qtc();
620 }
621 return value;
622}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qtc1() [2/2]

double TofData::qtc1 ( )

◆ qtc2() [1/2]

double TofData::qtc2 ( )

Definition at line 625 of file TofData.cxx.

625 {
626 double value = -999.;
627 if( m_backward ) {
628 value = m_backward->qtc();
629 }
630 return value;
631}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qtc2() [2/2]

double TofData::qtc2 ( )

◆ qtimes1() [1/2]

int TofData::qtimes1 ( )

Definition at line 751 of file TofData.cxx.

751 {
752 int times = -1;
753 if( m_forward ) {
754 times = m_forward->qtimes();
755 }
756 return times;
757}
int qtimes()
Definition: TofData.cxx:332

Referenced by TofCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Endcap().

◆ qtimes1() [2/2]

int TofData::qtimes1 ( )

◆ qtimes2() [1/2]

int TofData::qtimes2 ( )

Definition at line 769 of file TofData.cxx.

769 {
770 int times = -1;
771 if( m_backward ) {
772 times = m_backward->qtimes();
773 }
774 return times;
775}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qtimes2() [2/2]

int TofData::qtimes2 ( )

◆ quality() [1/2]

◆ quality() [2/2]

unsigned int TofData::quality ( ) const
inline

Definition at line 170 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

170{ return m_quality; }

◆ qused1() [1/2]

bool TofData::qused1 ( )

Definition at line 841 of file TofData.cxx.

841 {
842 bool used = false;
843 if( m_forward ) {
844 used = ( used || m_forward->qused() );
845 }
846 return used;
847}
bool qused()
Definition: TofData.cxx:368
bool used()
Definition: TofData.cxx:895

◆ qused1() [2/2]

bool TofData::qused1 ( )

◆ qused2() [1/2]

bool TofData::qused2 ( )

Definition at line 859 of file TofData.cxx.

859 {
860 bool used = false;
861 if( m_backward ) {
862 used = ( used || m_backward->qused() );
863 }
864 return used;
865}

◆ qused2() [2/2]

bool TofData::qused2 ( )

◆ setBackward() [1/2]

void TofData::setBackward ( PmtData pmt)

Definition at line 926 of file TofData.cxx.

926 {
927 m_backward = pmt;
928 unsigned int quality = m_backward->quality();
929 quality = ( quality & 0x3 );
930 if( quality != 0 ) {
931 m_backward->timespp();
932 if( ( quality & 0x1 ) != 0 ) {
933 m_backward->ttimespp();
934 }
935 if( ( quality & 0x2 ) != 0 ) {
936 m_backward->qtimespp();
937 m_backward->calculate( m_barrel, m_tofId, false ,m_identify);
938 }
939 }
940 m_quality = ( m_quality | quality );
941 return;
942}
void qtimespp()
Definition: TofData.cxx:300
void calculate(bool barrel, int tofid, bool east, int m_identify)
Definition: TofData.cxx:216
void timespp()
Definition: TofData.cxx:288
void ttimespp()
Definition: TofData.cxx:316

Referenced by TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().

◆ setBackward() [2/2]

void TofData::setBackward ( PmtData pmt)

◆ setEnergy() [1/2]

void TofData::setEnergy ( double  energy)
inline

◆ setEnergy() [2/2]

void TofData::setEnergy ( double  energy)
inline

Definition at line 212 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

212{ m_energy = energy; }

◆ setForward() [1/2]

void TofData::setForward ( PmtData pmt)

Definition at line 907 of file TofData.cxx.

907 {
908 m_forward = pmt;
909 unsigned int quality = m_forward->quality();
910 quality = ( quality & 0x3 );
911 if( quality != 0 ) {
912 m_forward->timespp();
913 if( ( quality & 0x1 ) != 0 ) {
914 m_forward->ttimespp();
915 }
916 if( ( quality & 0x2 ) != 0 ) {
917 m_forward->qtimespp();
918 m_forward->calculate( m_barrel, m_tofId, true,m_identify );
919 }
920 }
921 m_quality = ( m_quality | ( quality << 2 ) );
922 return;
923}

Referenced by TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().

◆ setForward() [2/2]

void TofData::setForward ( PmtData pmt)

◆ setIdentify() [1/2]

void TofData::setIdentify ( Identifier  identify)

Definition at line 503 of file TofData.cxx.

503 {
504 m_identify = identify.get_value();
505 //std::cout << "TofData indentify = " << identify << std::endl;
506 //std::cout << "TofData identify.get_value() = " << m_identify << std::endl;
507
508 int barrel_ec = TofID::barrel_ec(identify);
509 //std::cout << "TofData barrel_ec(indentify) = " << barrel_ec << std::endl;
510 m_layer = TofID::layer(identify);
511 //std::cout << "TofData layer(identify) = " << m_layer << std::endl;
512 m_tofId = TofID::phi_module(identify);
513 //std::cout << "TofData phi_module(identify) = " << m_tofId << std::endl;
514
515 if( barrel_ec == 0 ) {
516 m_barrel = false;
517 }
518 else if( barrel_ec == 1 ) {
519 m_barrel = true;
520 if( m_layer == 1 ) { m_tofId = m_tofId + 88; }
521 }
522 else if( barrel_ec == 2 ) {
523 m_barrel = false;
524 m_tofId = m_tofId + 48;
525 }
526 else if((barrel_ec >2 && barrel_ec<7))
527 {m_barrel=false;}
528
529
530 return;
531}
static int phi_module(const Identifier &id)
static int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
static int layer(const Identifier &id)

Referenced by TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().

◆ setIdentify() [2/2]

void TofData::setIdentify ( Identifier  identify)

◆ setMisLable() [1/2]

void TofData::setMisLable ( )
inline

◆ setMisLable() [2/2]

void TofData::setMisLable ( )
inline

Definition at line 201 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

201{ m_misLable = true; }

◆ setQuality() [1/2]

void TofData::setQuality ( unsigned int  quality)
inline

◆ setQuality() [2/2]

void TofData::setQuality ( unsigned int  quality)
inline

Definition at line 206 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

206{ m_quality = quality; }

◆ setTimes() [1/2]

void TofData::setTimes ( unsigned int  times)
inline

◆ setTimes() [2/2]

void TofData::setTimes ( unsigned int  times)
inline

Definition at line 203 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

203{ m_times = times; }

◆ setTMatched() [1/2]

◆ setTMatched() [2/2]

void TofData::setTMatched ( bool  tmatched)
inline

Definition at line 207 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

207{ m_tmatched = tmatched; }

◆ setTofTrackId() [1/2]

void TofData::setTofTrackId ( int  tofTrackId)
inline

◆ setTofTrackId() [2/2]

void TofData::setTofTrackId ( int  tofTrackId)
inline

Definition at line 202 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

202{ m_tofTrackId = tofTrackId; }

◆ setUsed() [1/2]

void TofData::setUsed ( )

Definition at line 945 of file TofData.cxx.

945 {
946 if( m_forward ) {
947 m_forward->setUsed();
948 }
949 if( m_backward ) {
950 m_backward->setUsed();
951 }
952 return;
953}
void setUsed()
Definition: TofData.cxx:418

◆ setUsed() [2/2]

void TofData::setUsed ( )

◆ setZAdc() [1/2]

void TofData::setZAdc ( double  zadc)
inline

◆ setZAdc() [2/2]

void TofData::setZAdc ( double  zadc)
inline

◆ setZpos() [1/2]

void TofData::setZpos ( double  zpos)
inline

◆ setZpos() [2/2]

void TofData::setZpos ( double  zpos)
inline

◆ setZTdc() [1/2]

void TofData::setZTdc ( double  ztdc)
inline

◆ setZTdc() [2/2]

void TofData::setZTdc ( double  ztdc)
inline

◆ tclock() [1/2]

int TofData::tclock ( )

Definition at line 742 of file TofData.cxx.

742 {
743 int clock = -999;
744 if( m_forward ) {
745 clock = m_forward->tclock();
746 }
747 return clock;
748}
int tclock()
Definition: TofData.cxx:279

Referenced by TofCheckDigi::Fill_Endcap().

◆ tclock() [2/2]

int TofData::tclock ( )

◆ tclock1() [1/2]

int TofData::tclock1 ( )

Definition at line 706 of file TofData.cxx.

706 {
707 int clock = -999;
708 if( m_forward ) {
709 clock = m_forward->tclock();
710 }
711 return clock;
712}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tclock1() [2/2]

int TofData::tclock1 ( )

◆ tclock2() [1/2]

int TofData::tclock2 ( )

Definition at line 724 of file TofData.cxx.

724 {
725 int clock = -999;
726 if( m_backward ) {
727 clock = m_backward->tclock();
728 }
729 return clock;
730}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tclock2() [2/2]

int TofData::tclock2 ( )

◆ tdc() [1/2]

double TofData::tdc ( )

Definition at line 607 of file TofData.cxx.

607 {
608 double value = -999.;
609 if( m_forward ) {
610 value = m_forward->tdc();
611 }
612 return value;
613}

Referenced by data(), TofEnergyCalib::execute(), and TofCheckDigi::Fill_Endcap().

◆ tdc() [2/2]

double TofData::tdc ( )

◆ tdc1() [1/2]

double TofData::tdc1 ( )

Definition at line 571 of file TofData.cxx.

571 {
572 double value = -999.;
573 if( m_forward ) {
574 value = m_forward->tdc();
575 }
576 return value;
577}

Referenced by TofShower::energyCalib(), TofEnergyCalib::execute(), BesTrigL1::execute(), and TofCheckDigi::Fill_Barrel().

◆ tdc1() [2/2]

double TofData::tdc1 ( )

◆ tdc2() [1/2]

double TofData::tdc2 ( )

Definition at line 589 of file TofData.cxx.

589 {
590 double value = -999.;
591 if( m_backward ) {
592 value = m_backward->tdc();
593 }
594 return value;
595}

Referenced by TofShower::energyCalib(), TofEnergyCalib::execute(), BesTrigL1::execute(), and TofCheckDigi::Fill_Barrel().

◆ tdc2() [2/2]

double TofData::tdc2 ( )

◆ tdcChannel() [1/2]

int TofData::tdcChannel ( )

Definition at line 688 of file TofData.cxx.

688 {
689 int channel = -999;
690 if( m_forward ) {
691 channel = m_forward->tdcChannel();
692 }
693 return channel;
694}
int tdcChannel()
Definition: TofData.cxx:261

Referenced by TofCheckDigi::Fill_Endcap().

◆ tdcChannel() [2/2]

int TofData::tdcChannel ( )

◆ tdcChannelEast() [1/2]

int TofData::tdcChannelEast ( )

Definition at line 652 of file TofData.cxx.

652 {
653 int channel = -999;
654 if( m_forward ) {
655 channel = m_forward->tdcChannel();
656 }
657 return channel;
658}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tdcChannelEast() [2/2]

int TofData::tdcChannelEast ( )

◆ tdcChannelWest() [1/2]

int TofData::tdcChannelWest ( )

Definition at line 670 of file TofData.cxx.

670 {
671 int channel = -999;
672 if( m_backward ) {
673 channel = m_backward->tdcChannel();
674 }
675 return channel;
676}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tdcChannelWest() [2/2]

int TofData::tdcChannelWest ( )

◆ times() [1/2]

◆ times() [2/2]

unsigned int TofData::times ( ) const
inline

Definition at line 137 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

137{ return m_times; }

◆ tmatched() [1/2]

bool TofData::tmatched ( ) const
inline

◆ tmatched() [2/2]

bool TofData::tmatched ( ) const
inline

Definition at line 171 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

171{ return m_tmatched; }

◆ tnumber1() [1/2]

int TofData::tnumber1 ( )

Definition at line 814 of file TofData.cxx.

814 {
815 int number = 0;
816 if( m_forward ) {
817 number = m_forward->tnumber();
818 }
819 return number;
820}
int tnumber()
Definition: TofData.cxx:359

Referenced by TofCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Endcap().

◆ tnumber1() [2/2]

int TofData::tnumber1 ( )

◆ tnumber2() [1/2]

int TofData::tnumber2 ( )

Definition at line 832 of file TofData.cxx.

832 {
833 int number = 0;
834 if( m_backward ) {
835 number = m_backward->tnumber();
836 }
837 return number;
838}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tnumber2() [2/2]

int TofData::tnumber2 ( )

◆ tofId() [1/2]

int TofData::tofId ( )

Definition at line 494 of file TofData.cxx.

494 {
495 if( !m_barrel && m_misLable ) {
496 if( m_tofId == 90 ) { return 91; }
497 else if( m_tofId == 91 ) { return 90; }
498 }
499 return m_tofId;
500}

Referenced by TofShower::energyCalib(), TofEnergyCalib::execute(), TofCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Endcap().

◆ tofId() [2/2]

int TofData::tofId ( )

◆ tofTrackId() [1/2]

int TofData::tofTrackId ( ) const
inline

◆ tofTrackId() [2/2]

int TofData::tofTrackId ( ) const
inline

Definition at line 135 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

135{ return m_tofTrackId; }

◆ ttimes1() [1/2]

int TofData::ttimes1 ( )

Definition at line 760 of file TofData.cxx.

760 {
761 int times = -1;
762 if( m_forward ) {
763 times = m_forward->ttimes();
764 }
765 return times;
766}
int ttimes()
Definition: TofData.cxx:341

Referenced by TofCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Endcap(), and TofRawDataProvider::tofDataMapFull().

◆ ttimes1() [2/2]

int TofData::ttimes1 ( )

◆ ttimes2() [1/2]

int TofData::ttimes2 ( )

Definition at line 778 of file TofData.cxx.

778 {
779 int times = -1;
780 if( m_backward ) {
781 times = m_backward->ttimes();
782 }
783 return times;
784}

Referenced by TofCheckDigi::Fill_Barrel(), and TofRawDataProvider::tofDataMapFull().

◆ ttimes2() [2/2]

int TofData::ttimes2 ( )

◆ tused1() [1/2]

bool TofData::tused1 ( )

Definition at line 850 of file TofData.cxx.

850 {
851 bool used = false;
852 if( m_forward ) {
853 used = ( used || m_forward->tused() );
854 }
855 return used;
856}
bool tused()
Definition: TofData.cxx:377

◆ tused1() [2/2]

bool TofData::tused1 ( )

◆ tused2() [1/2]

bool TofData::tused2 ( )

Definition at line 868 of file TofData.cxx.

868 {
869 bool used = false;
870 if( m_backward ) {
871 used = ( used || m_backward->tused() );
872 }
873 return used;
874}

◆ tused2() [2/2]

bool TofData::tused2 ( )

◆ used() [1/2]

bool TofData::used ( )

Definition at line 895 of file TofData.cxx.

895 {
896 bool used = false;
897 if( m_forward ) {
898 used = ( used || m_forward->used() );
899 }
900 if( m_backward ) {
901 used = ( used || m_backward->used() );
902 }
903 return used;
904}
bool used()
Definition: TofData.cxx:386

Referenced by qused1(), qused2(), tused1(), tused2(), used(), used1(), and used2().

◆ used() [2/2]

bool TofData::used ( )

◆ used1() [1/2]

bool TofData::used1 ( )

Definition at line 877 of file TofData.cxx.

877 {
878 bool used = false;
879 if( m_forward ) {
880 used = ( used || m_forward->used() );
881 }
882 return used;
883}

◆ used1() [2/2]

bool TofData::used1 ( )

◆ used2() [1/2]

bool TofData::used2 ( )

Definition at line 886 of file TofData.cxx.

886 {
887 bool used = false;
888 if( m_backward ) {
889 used = ( used || m_backward->used() );
890 }
891 return used;
892}

◆ used2() [2/2]

bool TofData::used2 ( )

◆ westTimes() [1/2]

unsigned int TofData::westTimes ( )

Definition at line 796 of file TofData.cxx.

796 {
797 int times = 0;
798 if( m_backward ) {
799 times = m_backward->times();
800 }
801 return times;
802}

Referenced by TofCheckDigi::Fill_Barrel().

◆ westTimes() [2/2]

unsigned int TofData::westTimes ( )

◆ zadc() [1/2]

double TofData::zadc ( ) const
inline

Definition at line 194 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-40/RawDataProviderSvc/TofData.h.

194{ return m_zadc; }

Referenced by setZAdc().

◆ zadc() [2/2]

double TofData::zadc ( ) const
inline

Definition at line 194 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

194{ return m_zadc; }

◆ zpos() [1/2]

double TofData::zpos ( ) const
inline

Definition at line 196 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-40/RawDataProviderSvc/TofData.h.

196{ return m_zpos; }

Referenced by setZpos().

◆ zpos() [2/2]

double TofData::zpos ( ) const
inline

Definition at line 196 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

196{ return m_zpos; }

◆ ztdc() [1/2]

double TofData::ztdc ( ) const
inline

Definition at line 193 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-40/RawDataProviderSvc/TofData.h.

193{ return m_ztdc; }

Referenced by setZTdc().

◆ ztdc() [2/2]

double TofData::ztdc ( ) const
inline

Definition at line 193 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

193{ return m_ztdc; }

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