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

Detailed Description

Definition at line 123 of file TofData.h.

Constructor & Destructor Documentation

◆ TofData()

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

TofData::~TofData ( )

Definition at line 489 of file TofData.cxx.

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

Member Function Documentation

◆ adc()

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(), MrpcCheckDigi::Fill_Endcap(), TofCheckDigi::Fill_Endcap(), and TofShower::findShower().

◆ adc1()

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(), MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ adc2()

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(), MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ adcChannel()

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 MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ adcChannelEast()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ adcChannelWest()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ backward()

PmtData * TofData::backward ( ) const
inline

Definition at line 143 of file TofData.h.

143{ return m_backward; }

◆ barrel()

bool TofData::barrel ( ) const
inline

Definition at line 132 of file TofData.h.

132{ return m_barrel; }

◆ clear()

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

Referenced by ~TofData().

◆ data() [1/2]

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

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}

◆ eastTimes()

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

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

◆ energy()

double TofData::energy ( ) const
inline

Definition at line 197 of file TofData.h.

197{ return m_energy; }

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

◆ forward()

PmtData * TofData::forward ( ) const
inline

Definition at line 142 of file TofData.h.

142{ return m_forward; }

◆ identify()

unsigned int TofData::identify ( ) const
inline

Definition at line 131 of file TofData.h.

131{ return m_identify; }

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

◆ layer()

int TofData::layer ( ) const
inline

Definition at line 134 of file TofData.h.

134{ return m_layer; }

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

◆ operator=()

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}

◆ qclock()

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 MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ qclock1()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ qclock2()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ qnumber1()

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 MrpcCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Barrel(), MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ qnumber2()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ qtc()

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 MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ qtc1()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ qtc2()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ qtimes1()

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 MrpcCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Barrel(), MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ qtimes2()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ quality()

◆ qused1()

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

◆ qused2()

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}

◆ setBackward()

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
unsigned int quality() const
Definition: TofData.h:88
void ttimespp()
Definition: TofData.cxx:316
unsigned int quality() const
Definition: TofData.h:170

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

◆ setEnergy()

void TofData::setEnergy ( double  energy)
inline

Definition at line 212 of file TofData.h.

212{ m_energy = energy; }
double energy() const
Definition: TofData.h:197

Referenced by TofShower::energyCalib().

◆ setForward()

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

◆ setIdentify()

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}
unsigned int identify() const
Definition: TofData.h:131
static int phi_module(const Identifier &id)
Definition: TofID.cxx:117
static int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
Definition: TofID.cxx:95
static int layer(const Identifier &id)
Definition: TofID.cxx:109

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

◆ setMisLable()

void TofData::setMisLable ( )
inline

Definition at line 201 of file TofData.h.

201{ m_misLable = true; }

Referenced by TofRawDataProvider::tofDataMapFull().

◆ setQuality()

void TofData::setQuality ( unsigned int  quality)
inline

Definition at line 206 of file TofData.h.

206{ m_quality = quality; }

◆ setTimes()

void TofData::setTimes ( unsigned int  times)
inline

Definition at line 203 of file TofData.h.

203{ m_times = times; }

◆ setTMatched()

void TofData::setTMatched ( bool  tmatched)
inline

Definition at line 207 of file TofData.h.

207{ m_tmatched = tmatched; }
bool tmatched() const
Definition: TofData.h:171

Referenced by TofRawDataProvider::tofDataMapFull().

◆ setTofTrackId()

void TofData::setTofTrackId ( int  tofTrackId)
inline

Definition at line 202 of file TofData.h.

202{ m_tofTrackId = tofTrackId; }
int tofTrackId() const
Definition: TofData.h:135

◆ setUsed()

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

◆ setZAdc()

void TofData::setZAdc ( double  zadc)
inline

Definition at line 210 of file TofData.h.

210{ m_zadc = zadc; }
double zadc() const
Definition: TofData.h:194

◆ setZpos()

void TofData::setZpos ( double  zpos)
inline

Definition at line 211 of file TofData.h.

211{ m_zpos = zpos; }
double zpos() const
Definition: TofData.h:196

Referenced by TofShower::energyCalib().

◆ setZTdc()

void TofData::setZTdc ( double  ztdc)
inline

Definition at line 209 of file TofData.h.

209{ m_ztdc = ztdc; }
double ztdc() const
Definition: TofData.h:193

◆ tclock()

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 MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ tclock1()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ tclock2()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ tdc()

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(), MrpcCheckDigi::Fill_Endcap(), TofCheckDigi::Fill_Endcap(), and TofShower::findShower().

◆ tdc1()

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(), MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ tdc2()

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(), MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ tdcChannel()

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 MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ tdcChannelEast()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ tdcChannelWest()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ times()

unsigned int TofData::times ( ) const
inline

◆ tmatched()

bool TofData::tmatched ( ) const
inline

Definition at line 171 of file TofData.h.

171{ return m_tmatched; }

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

◆ tnumber1()

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 MrpcCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Barrel(), MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ tnumber2()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ tofId()

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(), MrpcCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Barrel(), MrpcCheckDigi::Fill_Endcap(), and TofCheckDigi::Fill_Endcap().

◆ tofTrackId()

int TofData::tofTrackId ( ) const
inline

◆ ttimes1()

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 MrpcCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Barrel(), MrpcCheckDigi::Fill_Endcap(), TofCheckDigi::Fill_Endcap(), and TofRawDataProvider::tofDataMapFull().

◆ ttimes2()

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 MrpcCheckDigi::Fill_Barrel(), TofCheckDigi::Fill_Barrel(), and TofRawDataProvider::tofDataMapFull().

◆ tused1()

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

◆ tused2()

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}

◆ used()

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

◆ used1()

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}

◆ used2()

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}

◆ westTimes()

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 MrpcCheckDigi::Fill_Barrel(), and TofCheckDigi::Fill_Barrel().

◆ zadc()

double TofData::zadc ( ) const
inline

Definition at line 194 of file TofData.h.

194{ return m_zadc; }

Referenced by setZAdc().

◆ zpos()

double TofData::zpos ( ) const
inline

Definition at line 196 of file TofData.h.

196{ return m_zpos; }

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

◆ ztdc()

double TofData::ztdc ( ) const
inline

Definition at line 193 of file TofData.h.

193{ return m_ztdc; }

Referenced by setZTdc().


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