BOSS 7.1.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 ()
 

Detailed Description

Definition at line 119 of file TofData.h.

Constructor & Destructor Documentation

◆ TofData()

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()

TofData::~TofData ( )

Definition at line 563 of file TofData.cxx.

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

Member Function Documentation

◆ adc()

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().

◆ adc1()

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().

◆ adc2()

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().

◆ adcChannel()

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().

◆ adcChannelEast()

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().

◆ adcChannelWest()

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().

◆ backward()

PmtData * TofData::backward ( ) const
inline

Definition at line 141 of file TofData.h.

141{ return m_backward; }

◆ barrel()

bool TofData::barrel ( ) const
inline

Definition at line 129 of file TofData.h.

129{ return m_barrel; }

◆ clear()

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}
unsigned int times() const
Definition TofData.h:76
void timesmm()
Definition TofData.cxx:364

Referenced by ~TofData().

◆ data() [1/2]

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/2]

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}

◆ eastTimes()

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}
unsigned int times() const
Definition TofData.h:135

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

◆ energy()

double TofData::energy ( ) const
inline

Definition at line 195 of file TofData.h.

195{ return m_energy; }

Referenced by TofShower::findSeed(), TofShower::findShower(), and setEnergy().

◆ forward()

PmtData * TofData::forward ( ) const
inline

Definition at line 140 of file TofData.h.

140{ return m_forward; }

◆ identify()

unsigned int TofData::identify ( ) const
inline

Definition at line 127 of file TofData.h.

127{ return m_identify; }

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

◆ is_mrpc()

bool TofData::is_mrpc ( ) const
inline

Definition at line 128 of file TofData.h.

128{ return m_mrpc; }

◆ layer()

int TofData::layer ( ) const
inline

Definition at line 131 of file TofData.h.

131{ return m_layer; }

Referenced by TofCheckDigi::Fill_Barrel().

◆ operator=()

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}

◆ qclock()

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().

◆ qclock1()

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().

◆ qclock2()

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().

◆ qnumber1()

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().

◆ qnumber2()

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().

◆ qtc()

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().

◆ qtc1()

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().

◆ qtc2()

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().

◆ qtimes1()

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().

◆ qtimes2()

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().

◆ quality()

unsigned int TofData::quality ( ) const
inline

◆ qused1()

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

◆ qused2()

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}

◆ setBackward()

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
unsigned int quality() const
Definition TofData.h:84
void ttimespp()
Definition TofData.cxx:386
unsigned int quality() const
Definition TofData.h:168

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

◆ setEnergy()

void TofData::setEnergy ( double energy)
inline

Definition at line 210 of file TofData.h.

210{ m_energy = energy; }
double energy() const
Definition TofData.h:195

Referenced by TofShower::energyCalib().

◆ setForward()

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().

◆ setIdentify()

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}
unsigned int identify() const
Definition TofData.h:127
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

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

◆ setMisLable()

void TofData::setMisLable ( )
inline

Definition at line 199 of file TofData.h.

199{ m_misLable = true; }

Referenced by TofRawDataProvider::tofDataMapFull().

◆ setQuality()

void TofData::setQuality ( unsigned int quality)
inline

Definition at line 204 of file TofData.h.

204{ m_quality = quality; }

◆ setTimes()

void TofData::setTimes ( unsigned int times)
inline

Definition at line 201 of file TofData.h.

201{ m_times = times; }

◆ setTMatched()

void TofData::setTMatched ( bool tmatched)
inline

Definition at line 205 of file TofData.h.

205{ m_tmatched = tmatched; }
bool tmatched() const
Definition TofData.h:169

Referenced by TofRawDataProvider::tofDataMapFull().

◆ setTofTrackId()

void TofData::setTofTrackId ( int tofTrackId)
inline

Definition at line 200 of file TofData.h.

200{ m_tofTrackId = tofTrackId; }
int tofTrackId() const
Definition TofData.h:133

◆ setUsed()

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

◆ setZAdc()

void TofData::setZAdc ( double zadc)
inline

Definition at line 208 of file TofData.h.

208{ m_zadc = zadc; }
double zadc() const
Definition TofData.h:192

◆ setZpos()

void TofData::setZpos ( double zpos)
inline

Definition at line 209 of file TofData.h.

209{ m_zpos = zpos; }
double zpos() const
Definition TofData.h:194

Referenced by TofShower::energyCalib().

◆ setZTdc()

void TofData::setZTdc ( double ztdc)
inline

Definition at line 207 of file TofData.h.

207{ m_ztdc = ztdc; }
double ztdc() const
Definition TofData.h:191

◆ strip()

int TofData::strip ( ) const
inline

Definition at line 132 of file TofData.h.

132{ return m_strip; }

Referenced by TofCheckDigi::Fill_MRPC().

◆ tclock()

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().

◆ tclock1()

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().

◆ tclock2()

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().

◆ tdc()

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().

◆ tdc1()

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(), BesTrigL1::execute(), TofEnergyCalib::execute(), TofCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_MRPC().

◆ tdc2()

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(), BesTrigL1::execute(), TofEnergyCalib::execute(), TofCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_MRPC().

◆ tdcChannel()

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().

◆ tdcChannelEast()

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().

◆ tdcChannelWest()

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().

◆ times()

unsigned int TofData::times ( ) const
inline

◆ tmatched()

bool TofData::tmatched ( ) const
inline

Definition at line 169 of file TofData.h.

169{ return m_tmatched; }

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

◆ tnumber1()

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().

◆ tnumber2()

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().

◆ tofId()

int TofData::tofId ( ) const
inline

◆ tofTrackId()

int TofData::tofTrackId ( ) const
inline

Definition at line 133 of file TofData.h.

133{ return m_tofTrackId; }

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

◆ ttimes1()

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().

◆ ttimes2()

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().

◆ tused1()

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

◆ tused2()

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}

◆ used()

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().

◆ used1()

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}

◆ used2()

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}

◆ westTimes()

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().

◆ zadc()

double TofData::zadc ( ) const
inline

Definition at line 192 of file TofData.h.

192{ return m_zadc; }

Referenced by setZAdc().

◆ zpos()

double TofData::zpos ( ) const
inline

Definition at line 194 of file TofData.h.

194{ return m_zpos; }

Referenced by TofShower::findShower(), and setZpos().

◆ ztdc()

double TofData::ztdc ( ) const
inline

Definition at line 191 of file TofData.h.

191{ return m_ztdc; }

Referenced by setZTdc().


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