BOSS 7.0.1
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 is_mrpc () const
 
bool barrel () const
 
int tofId () const
 
int layer () const
 
int strip () 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 is_mrpc () const
 
bool barrel () const
 
int tofId () const
 
int layer () const
 
int strip () 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 522 of file TofData.cxx.

522 {
523 m_identify = 0;
524 m_mrpc = false;
525 m_barrel = false;
526 m_tofId = -1;
527 m_layer = -1;
528 m_strip = -1;
529 m_tofTrackId = -1;
530 m_misLable = false;
531 m_quality = 0;
532 m_tmatched = false;
533 m_forward = 0;
534 m_backward = 0;
535 m_ztdc = -999;
536 m_zadc = -999;
537 m_zpos = -999;
538 m_energy = 0;
539}

◆ ~TofData() [1/2]

TofData::~TofData ( )

Definition at line 563 of file TofData.cxx.

563 {
565}
void clear()
Definition: TofData.cxx:1030

◆ TofData() [2/2]

TofData::TofData ( )

◆ ~TofData() [2/2]

TofData::~TofData ( )

Member Function Documentation

◆ adc() [1/2]

double TofData::adc ( )

Definition at line 674 of file TofData.cxx.

674 {
675 double value = -999.;
676 if( m_forward ) {
677 value = m_forward->adc();
678 }
679 return value;
680}
double adc()
Definition: TofData.cxx:293

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

◆ adc() [2/2]

double TofData::adc ( )

◆ adc1() [1/2]

double TofData::adc1 ( )

Definition at line 638 of file TofData.cxx.

638 {
639 double value = -999.;
640 if( m_forward ) {
641 value = m_forward->adc();
642 }
643 return value;
644}

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

◆ adc1() [2/2]

double TofData::adc1 ( )

◆ adc2() [1/2]

double TofData::adc2 ( )

Definition at line 656 of file TofData.cxx.

656 {
657 double value = -999.;
658 if( m_backward ) {
659 value = m_backward->adc();
660 }
661 return value;
662}

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

◆ adc2() [2/2]

double TofData::adc2 ( )

◆ adcChannel() [1/2]

int TofData::adcChannel ( )

Definition at line 755 of file TofData.cxx.

755 {
756 int channel = -999;
757 if( m_forward ) {
758 channel = m_forward->adcChannel();
759 }
760 return channel;
761}
int adcChannel()
Definition: TofData.cxx:270

Referenced by TofCheckDigi::Fill_Endcap().

◆ adcChannel() [2/2]

int TofData::adcChannel ( )

◆ adcChannelEast() [1/2]

int TofData::adcChannelEast ( )

Definition at line 719 of file TofData.cxx.

719 {
720 int channel = -999;
721 if( m_forward ) {
722 channel = m_forward->adcChannel();
723 }
724 return channel;
725}

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

◆ adcChannelEast() [2/2]

int TofData::adcChannelEast ( )

◆ adcChannelWest() [1/2]

int TofData::adcChannelWest ( )

Definition at line 737 of file TofData.cxx.

737 {
738 int channel = -999;
739 if( m_backward ) {
740 channel = m_backward->adcChannel();
741 }
742 return channel;
743}

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

◆ adcChannelWest() [2/2]

int TofData::adcChannelWest ( )

◆ backward() [1/2]

PmtData * TofData::backward ( ) const
inline

Definition at line 141 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/TofData.h.

141{ return m_backward; }

◆ backward() [2/2]

PmtData * TofData::backward ( ) const
inline

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

141{ return m_backward; }

◆ barrel() [1/2]

bool TofData::barrel ( ) const
inline

◆ barrel() [2/2]

bool TofData::barrel ( ) const
inline

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

129{ return m_barrel; }

◆ clear() [1/2]

void TofData::clear ( )

Definition at line 1030 of file TofData.cxx.

1030 {
1031 if( m_forward ) {
1032 if( m_forward->times() <= 1 ) {
1033 delete m_forward;
1034 m_forward = 0;
1035 }
1036 else {
1037 m_forward->timesmm();
1038 }
1039 }
1040 if( m_backward ) {
1041 if( m_backward->times() <= 1 ) {
1042 delete m_backward;
1043 m_backward = 0;
1044 }
1045 else {
1046 m_backward->timesmm();
1047 }
1048 }
1049 return;
1050}
void timesmm()
Definition: TofData.cxx:364

Referenced by ~TofData().

◆ clear() [2/2]

void TofData::clear ( )

◆ data() [1/4]

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

Definition at line 627 of file TofData.cxx.

627 {
628 adc = -999.;
629 tdc = -999.;
630 if( m_forward ) {
631 adc = m_forward->adc();
632 tdc = m_forward->tdc();
633 }
634 return;
635}
double tdc()
Definition: TofData.cxx:340
double adc()
Definition: TofData.cxx:674
double tdc()
Definition: TofData.cxx:683

◆ 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 610 of file TofData.cxx.

610 {
611 adcEast = -999.;
612 tdcEast = -999.;
613 if( m_forward ) {
614 adcEast = m_forward->adc();
615 tdcEast = m_forward->tdc();
616 }
617 adcWest = -999.;
618 tdcWest = -999.;
619 if( m_backward ) {
620 adcWest = m_backward->adc();
621 tdcWest = m_backward->tdc();
622 }
623 return;
624}

◆ data() [4/4]

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

◆ eastTimes() [1/2]

unsigned int TofData::eastTimes ( )

Definition at line 863 of file TofData.cxx.

863 {
864 int times = 0;
865 if( m_forward ) {
866 times = m_forward->times();
867 }
868 return times;
869}

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

◆ 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 195 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

195{ return m_energy; }

◆ forward() [1/2]

PmtData * TofData::forward ( ) const
inline

Definition at line 140 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/TofData.h.

140{ return m_forward; }

◆ forward() [2/2]

PmtData * TofData::forward ( ) const
inline

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

140{ return m_forward; }

◆ identify() [1/2]

unsigned int TofData::identify ( ) const
inline

Definition at line 127 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/TofData.h.

127{ return m_identify; }

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

◆ identify() [2/2]

unsigned int TofData::identify ( ) const
inline

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

127{ return m_identify; }

◆ is_mrpc() [1/2]

bool TofData::is_mrpc ( ) const
inline

◆ is_mrpc() [2/2]

bool TofData::is_mrpc ( ) const
inline

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

128{ return m_mrpc; }

◆ layer() [1/2]

int TofData::layer ( ) const
inline

◆ layer() [2/2]

int TofData::layer ( ) const
inline

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

131{ return m_layer; }

◆ operator=() [1/2]

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

Definition at line 542 of file TofData.cxx.

542 {
543 m_identify = source.m_identify;
544 m_mrpc = source.m_mrpc;
545 m_barrel = source.m_barrel;
546 m_tofId = source.m_tofId;
547 m_layer = source.m_layer;
548 m_strip = source.m_strip;
549 m_tofTrackId = source.m_tofTrackId;
550 m_misLable = source.m_misLable;
551 m_quality = source.m_quality;
552 m_tmatched = source.m_tmatched;
553 m_forward = source.m_forward;
554 m_backward = source.m_backward;
555 m_ztdc = source.m_ztdc;
556 m_zadc = source.m_zadc;
557 m_zpos = source.m_zpos;
558 m_energy = source.m_energy;
559 return *this;
560}

◆ operator=() [2/2]

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

◆ qclock() [1/2]

int TofData::qclock ( )

Definition at line 809 of file TofData.cxx.

809 {
810 int clock = -999;
811 if( m_forward ) {
812 clock = m_forward->qclock();
813 }
814 return clock;
815}
int qclock()
Definition: TofData.cxx:322

Referenced by TofCheckDigi::Fill_Endcap().

◆ qclock() [2/2]

int TofData::qclock ( )

◆ qclock1() [1/2]

int TofData::qclock1 ( )

Definition at line 773 of file TofData.cxx.

773 {
774 int clock = -999;
775 if( m_forward ) {
776 clock = m_forward->qclock();
777 }
778 return clock;
779}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qclock1() [2/2]

int TofData::qclock1 ( )

◆ qclock2() [1/2]

int TofData::qclock2 ( )

Definition at line 791 of file TofData.cxx.

791 {
792 int clock = -999;
793 if( m_backward ) {
794 clock = m_backward->qclock();
795 }
796 return clock;
797}

Referenced by TofCheckDigi::Fill_Barrel().

◆ qclock2() [2/2]

int TofData::qclock2 ( )

◆ qnumber1() [1/2]

int TofData::qnumber1 ( )

Definition at line 881 of file TofData.cxx.

881 {
882 int number = 0;
883 if( m_forward ) {
884 number = m_forward->qnumber();
885 }
886 return number;
887}
int qnumber()
Definition: TofData.cxx:420

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

◆ qnumber1() [2/2]

int TofData::qnumber1 ( )

◆ qnumber2() [1/2]

int TofData::qnumber2 ( )

Definition at line 899 of file TofData.cxx.

899 {
900 int number = 0;
901 if( m_backward ) {
902 number = m_backward->qnumber();
903 }
904 return number;
905}

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

◆ qnumber2() [2/2]

int TofData::qnumber2 ( )

◆ qtc() [1/2]

double TofData::qtc ( )

Definition at line 710 of file TofData.cxx.

710 {
711 double value = -999.;
712 if( m_forward ) {
713 value = m_forward->qtc();
714 }
715 return value;
716}
double qtc()
Definition: TofData.cxx:279

Referenced by TofCheckDigi::Fill_Endcap().

◆ qtc() [2/2]

double TofData::qtc ( )

◆ qtc1() [1/2]

double TofData::qtc1 ( )

Definition at line 692 of file TofData.cxx.

692 {
693 double value = -999.;
694 if( m_forward ) {
695 value = m_forward->qtc();
696 }
697 return value;
698}

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

◆ qtc1() [2/2]

double TofData::qtc1 ( )

◆ qtc2() [1/2]

double TofData::qtc2 ( )

Definition at line 701 of file TofData.cxx.

701 {
702 double value = -999.;
703 if( m_backward ) {
704 value = m_backward->qtc();
705 }
706 return value;
707}

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

◆ qtc2() [2/2]

double TofData::qtc2 ( )

◆ qtimes1() [1/2]

int TofData::qtimes1 ( )

Definition at line 827 of file TofData.cxx.

827 {
828 int times = -1;
829 if( m_forward ) {
830 times = m_forward->qtimes();
831 }
832 return times;
833}
int qtimes()
Definition: TofData.cxx:402

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

◆ qtimes1() [2/2]

int TofData::qtimes1 ( )

◆ qtimes2() [1/2]

int TofData::qtimes2 ( )

Definition at line 845 of file TofData.cxx.

845 {
846 int times = -1;
847 if( m_backward ) {
848 times = m_backward->qtimes();
849 }
850 return times;
851}

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

◆ qtimes2() [2/2]

int TofData::qtimes2 ( )

◆ quality() [1/2]

◆ quality() [2/2]

unsigned int TofData::quality ( ) const
inline

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

168{ return m_quality; }

◆ qused1() [1/2]

bool TofData::qused1 ( )

Definition at line 917 of file TofData.cxx.

917 {
918 bool used = false;
919 if( m_forward ) {
920 used = ( used || m_forward->qused() );
921 }
922 return used;
923}
bool qused()
Definition: TofData.cxx:438
bool used()
Definition: TofData.cxx:971

◆ qused1() [2/2]

bool TofData::qused1 ( )

◆ qused2() [1/2]

bool TofData::qused2 ( )

Definition at line 935 of file TofData.cxx.

935 {
936 bool used = false;
937 if( m_backward ) {
938 used = ( used || m_backward->qused() );
939 }
940 return used;
941}

◆ qused2() [2/2]

bool TofData::qused2 ( )

◆ setBackward() [1/2]

void TofData::setBackward ( PmtData pmt)

Definition at line 1001 of file TofData.cxx.

1001 {
1002 m_backward = pmt;
1003 unsigned int quality = m_backward->quality();
1004 quality = ( quality & 0x3 );
1005 if( quality != 0 ) {
1006 m_backward->timespp();
1007 if( ( quality & 0x1 ) != 0 ) {
1008 m_backward->ttimespp();
1009 }
1010 if( ( quality & 0x2 ) != 0 ) {
1011 m_backward->qtimespp();
1012 }
1013 }
1014 m_quality = ( m_quality | quality );
1015 return;
1016}
void qtimespp()
Definition: TofData.cxx:370
void timespp()
Definition: TofData.cxx:358
void ttimespp()
Definition: TofData.cxx:386

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 210 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

210{ m_energy = energy; }

◆ setForward() [1/2]

void TofData::setForward ( PmtData pmt)

Definition at line 983 of file TofData.cxx.

983 {
984 m_forward = pmt;
985 unsigned int quality = m_forward->quality();
986 quality = ( quality & 0x3 );
987 if( quality != 0 ) {
988 m_forward->timespp();
989 if( ( quality & 0x1 ) != 0 ) {
990 m_forward->ttimespp();
991 }
992 if( ( quality & 0x2 ) != 0 ) {
993 m_forward->qtimespp();
994 }
995 }
996 m_quality = ( m_quality | ( quality << 2 ) );
997 return;
998}

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 577 of file TofData.cxx.

577 {
578 m_identify = identify.get_value();
579 m_mrpc = TofID::is_mrpc( identify );
580 if( !m_mrpc ) {
581 int barrel_ec = TofID::barrel_ec(identify);
582 m_layer = TofID::layer(identify);
583 m_tofId = TofID::phi_module(identify);
584 if( barrel_ec == 0 ) {
585 m_barrel = false;
586 }
587 else if( barrel_ec == 1 ) {
588 m_barrel = true;
589 if( m_layer == 1 ) { m_tofId = m_tofId + 88; }
590 }
591 else if( barrel_ec == 2 ) {
592 m_barrel = false;
593 m_tofId = m_tofId + 48;
594 }
595 }
596 else {
597 m_barrel = false;
598 int endcap = TofID::endcap(identify);
599 m_tofId = TofID::module(identify);
600 if( endcap==1 ) {
601 m_tofId = m_tofId + 36;
602 }
603 m_strip = TofID::strip(identify);
604 }
605
606 return;
607}
static int endcap(const Identifier &id)
Definition: TofID.cxx:124
static int strip(const Identifier &id)
Definition: TofID.cxx:136
static bool is_mrpc(const Identifier &id)
Definition: TofID.cxx:113
static int phi_module(const Identifier &id)
Definition: TofID.cxx:73
static int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
Definition: TofID.cxx:61
static int layer(const Identifier &id)
Definition: TofID.cxx:66
static int module(const Identifier &id)
Definition: TofID.cxx:130

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 199 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

199{ 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 204 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

204{ 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 201 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

201{ m_times = times; }

◆ setTMatched() [1/2]

◆ setTMatched() [2/2]

void TofData::setTMatched ( bool  tmatched)
inline

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

205{ m_tmatched = tmatched; }

◆ setTofTrackId() [1/2]

void TofData::setTofTrackId ( int  tofTrackId)
inline

◆ setTofTrackId() [2/2]

void TofData::setTofTrackId ( int  tofTrackId)
inline

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

200{ m_tofTrackId = tofTrackId; }

◆ setUsed() [1/2]

void TofData::setUsed ( )

Definition at line 1019 of file TofData.cxx.

1019 {
1020 if( m_forward ) {
1021 m_forward->setUsed();
1022 }
1023 if( m_backward ) {
1024 m_backward->setUsed();
1025 }
1026 return;
1027}
void setUsed()
Definition: TofData.cxx:488

◆ 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

◆ strip() [1/2]

int TofData::strip ( ) const
inline

◆ strip() [2/2]

int TofData::strip ( ) const
inline

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

132{ return m_strip; }

◆ tclock() [1/2]

int TofData::tclock ( )

Definition at line 818 of file TofData.cxx.

818 {
819 int clock = -999;
820 if( m_forward ) {
821 clock = m_forward->tclock();
822 }
823 return clock;
824}
int tclock()
Definition: TofData.cxx:349

Referenced by TofCheckDigi::Fill_Endcap().

◆ tclock() [2/2]

int TofData::tclock ( )

◆ tclock1() [1/2]

int TofData::tclock1 ( )

Definition at line 782 of file TofData.cxx.

782 {
783 int clock = -999;
784 if( m_forward ) {
785 clock = m_forward->tclock();
786 }
787 return clock;
788}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tclock1() [2/2]

int TofData::tclock1 ( )

◆ tclock2() [1/2]

int TofData::tclock2 ( )

Definition at line 800 of file TofData.cxx.

800 {
801 int clock = -999;
802 if( m_backward ) {
803 clock = m_backward->tclock();
804 }
805 return clock;
806}

Referenced by TofCheckDigi::Fill_Barrel().

◆ tclock2() [2/2]

int TofData::tclock2 ( )

◆ tdc() [1/2]

double TofData::tdc ( )

Definition at line 683 of file TofData.cxx.

683 {
684 double value = -999.;
685 if( m_forward ) {
686 value = m_forward->tdc();
687 }
688 return value;
689}

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

◆ tdc() [2/2]

double TofData::tdc ( )

◆ tdc1() [1/2]

double TofData::tdc1 ( )

Definition at line 647 of file TofData.cxx.

647 {
648 double value = -999.;
649 if( m_forward ) {
650 value = m_forward->tdc();
651 }
652 return value;
653}

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

◆ tdc1() [2/2]

double TofData::tdc1 ( )

◆ tdc2() [1/2]

double TofData::tdc2 ( )

Definition at line 665 of file TofData.cxx.

665 {
666 double value = -999.;
667 if( m_backward ) {
668 value = m_backward->tdc();
669 }
670 return value;
671}

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

◆ tdc2() [2/2]

double TofData::tdc2 ( )

◆ tdcChannel() [1/2]

int TofData::tdcChannel ( )

Definition at line 764 of file TofData.cxx.

764 {
765 int channel = -999;
766 if( m_forward ) {
767 channel = m_forward->tdcChannel();
768 }
769 return channel;
770}
int tdcChannel()
Definition: TofData.cxx:331

Referenced by TofCheckDigi::Fill_Endcap().

◆ tdcChannel() [2/2]

int TofData::tdcChannel ( )

◆ tdcChannelEast() [1/2]

int TofData::tdcChannelEast ( )

Definition at line 728 of file TofData.cxx.

728 {
729 int channel = -999;
730 if( m_forward ) {
731 channel = m_forward->tdcChannel();
732 }
733 return channel;
734}

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

◆ tdcChannelEast() [2/2]

int TofData::tdcChannelEast ( )

◆ tdcChannelWest() [1/2]

int TofData::tdcChannelWest ( )

Definition at line 746 of file TofData.cxx.

746 {
747 int channel = -999;
748 if( m_backward ) {
749 channel = m_backward->tdcChannel();
750 }
751 return channel;
752}

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

◆ tdcChannelWest() [2/2]

int TofData::tdcChannelWest ( )

◆ times() [1/2]

◆ times() [2/2]

unsigned int TofData::times ( ) const
inline

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

135{ return m_times; }

◆ tmatched() [1/2]

bool TofData::tmatched ( ) const
inline

◆ tmatched() [2/2]

bool TofData::tmatched ( ) const
inline

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

169{ return m_tmatched; }

◆ tnumber1() [1/2]

int TofData::tnumber1 ( )

Definition at line 890 of file TofData.cxx.

890 {
891 int number = 0;
892 if( m_forward ) {
893 number = m_forward->tnumber();
894 }
895 return number;
896}
int tnumber()
Definition: TofData.cxx:429

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

◆ tnumber1() [2/2]

int TofData::tnumber1 ( )

◆ tnumber2() [1/2]

int TofData::tnumber2 ( )

Definition at line 908 of file TofData.cxx.

908 {
909 int number = 0;
910 if( m_backward ) {
911 number = m_backward->tnumber();
912 }
913 return number;
914}

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

◆ tnumber2() [2/2]

int TofData::tnumber2 ( )

◆ tofId() [1/2]

◆ tofId() [2/2]

int TofData::tofId ( ) const
inline

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

130{ return m_tofId; }

◆ tofTrackId() [1/2]

int TofData::tofTrackId ( ) const
inline

◆ tofTrackId() [2/2]

int TofData::tofTrackId ( ) const
inline

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

133{ return m_tofTrackId; }

◆ ttimes1() [1/2]

int TofData::ttimes1 ( )

Definition at line 836 of file TofData.cxx.

836 {
837 int times = -1;
838 if( m_forward ) {
839 times = m_forward->ttimes();
840 }
841 return times;
842}
int ttimes()
Definition: TofData.cxx:411

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

◆ ttimes1() [2/2]

int TofData::ttimes1 ( )

◆ ttimes2() [1/2]

int TofData::ttimes2 ( )

Definition at line 854 of file TofData.cxx.

854 {
855 int times = -1;
856 if( m_backward ) {
857 times = m_backward->ttimes();
858 }
859 return times;
860}

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

◆ ttimes2() [2/2]

int TofData::ttimes2 ( )

◆ tused1() [1/2]

bool TofData::tused1 ( )

Definition at line 926 of file TofData.cxx.

926 {
927 bool used = false;
928 if( m_forward ) {
929 used = ( used || m_forward->tused() );
930 }
931 return used;
932}
bool tused()
Definition: TofData.cxx:447

◆ tused1() [2/2]

bool TofData::tused1 ( )

◆ tused2() [1/2]

bool TofData::tused2 ( )

Definition at line 944 of file TofData.cxx.

944 {
945 bool used = false;
946 if( m_backward ) {
947 used = ( used || m_backward->tused() );
948 }
949 return used;
950}

◆ tused2() [2/2]

bool TofData::tused2 ( )

◆ used() [1/2]

bool TofData::used ( )

Definition at line 971 of file TofData.cxx.

971 {
972 bool used = false;
973 if( m_forward ) {
974 used = ( used || m_forward->used() );
975 }
976 if( m_backward ) {
977 used = ( used || m_backward->used() );
978 }
979 return used;
980}
bool used()
Definition: TofData.cxx:456

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 953 of file TofData.cxx.

953 {
954 bool used = false;
955 if( m_forward ) {
956 used = ( used || m_forward->used() );
957 }
958 return used;
959}

◆ used1() [2/2]

bool TofData::used1 ( )

◆ used2() [1/2]

bool TofData::used2 ( )

Definition at line 962 of file TofData.cxx.

962 {
963 bool used = false;
964 if( m_backward ) {
965 used = ( used || m_backward->used() );
966 }
967 return used;
968}

◆ used2() [2/2]

bool TofData::used2 ( )

◆ westTimes() [1/2]

unsigned int TofData::westTimes ( )

Definition at line 872 of file TofData.cxx.

872 {
873 int times = 0;
874 if( m_backward ) {
875 times = m_backward->times();
876 }
877 return times;
878}

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

◆ westTimes() [2/2]

unsigned int TofData::westTimes ( )

◆ zadc() [1/2]

double TofData::zadc ( ) const
inline

Definition at line 192 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/TofData.h.

192{ return m_zadc; }

Referenced by setZAdc().

◆ zadc() [2/2]

double TofData::zadc ( ) const
inline

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

192{ return m_zadc; }

◆ zpos() [1/2]

double TofData::zpos ( ) const
inline

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

194{ return m_zpos; }

Referenced by setZpos().

◆ zpos() [2/2]

double TofData::zpos ( ) const
inline

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

194{ return m_zpos; }

◆ ztdc() [1/2]

double TofData::ztdc ( ) const
inline

Definition at line 191 of file Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/TofData.h.

191{ return m_ztdc; }

Referenced by setZTdc().

◆ ztdc() [2/2]

double TofData::ztdc ( ) const
inline

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

191{ return m_ztdc; }

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