BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigEACC Class Reference

#include <TrigEACC.h>

Public Member Functions

 TrigEACC (const char *name)
virtual ~TrigEACC ()
void setEACCTrigData (uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
void initialize ()
const std::string & getName () const
unsigned int getTimeWindow () const
unsigned int getBBLKCharge (int id) const
unsigned int getBBLKTime (int id) const
unsigned int getEBLKCharge (int id) const
unsigned int getEBLKTime (int id) const
unsigned int getWBLKCharge (int id) const
unsigned int getWBLKTime (int id) const
unsigned int getBarrelCharge () const
unsigned int getBarrelTime () const
unsigned int getEndCapsCharge () const
unsigned int getEndCapsTime () const
unsigned int getEMCTotalCharge () const
unsigned int getEMCTotalTime () const
unsigned int getEastHalfCharge () const
unsigned int getEastHalfTime () const
unsigned int getWestHalfCharge () const
unsigned int getWestHalfTime () const
unsigned int getEastEndHalfCharge () const
unsigned int getEastEndHalfTime () const
unsigned int getWestEndHalfCharge () const
unsigned int getWestEndHalfTime () const
unsigned int getBTC (int theta, int phi, int winId) const
unsigned int getETC (int phi, int winId) const
unsigned int getWTC (int phi, int winId) const
unsigned int getMidCondi (int bit) const
unsigned int getTrigCondi (int bit, int winId) const
void print ()
 TrigEACC (const char *name)
virtual ~TrigEACC ()
void setEACCTrigData (uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
void initialize ()
const std::string & getName () const
unsigned int getTimeWindow () const
unsigned int getBBLKCharge (int id) const
unsigned int getBBLKTime (int id) const
unsigned int getEBLKCharge (int id) const
unsigned int getEBLKTime (int id) const
unsigned int getWBLKCharge (int id) const
unsigned int getWBLKTime (int id) const
unsigned int getBarrelCharge () const
unsigned int getBarrelTime () const
unsigned int getEndCapsCharge () const
unsigned int getEndCapsTime () const
unsigned int getEMCTotalCharge () const
unsigned int getEMCTotalTime () const
unsigned int getEastHalfCharge () const
unsigned int getEastHalfTime () const
unsigned int getWestHalfCharge () const
unsigned int getWestHalfTime () const
unsigned int getEastEndHalfCharge () const
unsigned int getEastEndHalfTime () const
unsigned int getWestEndHalfCharge () const
unsigned int getWestEndHalfTime () const
unsigned int getBTC (int theta, int phi, int winId) const
unsigned int getETC (int phi, int winId) const
unsigned int getWTC (int phi, int winId) const
unsigned int getMidCondi (int bit) const
unsigned int getTrigCondi (int bit, int winId) const
void print ()
 TrigEACC (const char *name)
virtual ~TrigEACC ()
void setEACCTrigData (uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
void initialize ()
const std::string & getName () const
unsigned int getTimeWindow () const
unsigned int getBBLKCharge (int id) const
unsigned int getBBLKTime (int id) const
unsigned int getEBLKCharge (int id) const
unsigned int getEBLKTime (int id) const
unsigned int getWBLKCharge (int id) const
unsigned int getWBLKTime (int id) const
unsigned int getBarrelCharge () const
unsigned int getBarrelTime () const
unsigned int getEndCapsCharge () const
unsigned int getEndCapsTime () const
unsigned int getEMCTotalCharge () const
unsigned int getEMCTotalTime () const
unsigned int getEastHalfCharge () const
unsigned int getEastHalfTime () const
unsigned int getWestHalfCharge () const
unsigned int getWestHalfTime () const
unsigned int getEastEndHalfCharge () const
unsigned int getEastEndHalfTime () const
unsigned int getWestEndHalfCharge () const
unsigned int getWestEndHalfTime () const
unsigned int getBTC (int theta, int phi, int winId) const
unsigned int getETC (int phi, int winId) const
unsigned int getWTC (int phi, int winId) const
unsigned int getMidCondi (int bit) const
unsigned int getTrigCondi (int bit, int winId) const
void print ()

Detailed Description

Definition at line 9 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

Constructor & Destructor Documentation

◆ TrigEACC() [1/3]

TrigEACC::TrigEACC ( const char * name)

Definition at line 6 of file TrigEACC.cxx.

6{ m_name = name; }

◆ ~TrigEACC() [1/3]

TrigEACC::~TrigEACC ( )
virtual

Definition at line 8 of file TrigEACC.cxx.

8{}

◆ TrigEACC() [2/3]

TrigEACC::TrigEACC ( const char * name)

◆ ~TrigEACC() [2/3]

virtual TrigEACC::~TrigEACC ( )
virtual

◆ TrigEACC() [3/3]

TrigEACC::TrigEACC ( const char * name)

◆ ~TrigEACC() [3/3]

virtual TrigEACC::~TrigEACC ( )
virtual

Member Function Documentation

◆ getBarrelCharge() [1/3]

unsigned int TrigEACC::getBarrelCharge ( ) const
inline

Definition at line 28 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

28{ return E_B_Etot; }

◆ getBarrelCharge() [2/3]

unsigned int TrigEACC::getBarrelCharge ( ) const
inline

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

28{ return E_B_Etot; }

◆ getBarrelCharge() [3/3]

unsigned int TrigEACC::getBarrelCharge ( ) const
inline

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

28{ return E_B_Etot; }

◆ getBarrelTime() [1/3]

unsigned int TrigEACC::getBarrelTime ( ) const
inline

Definition at line 29 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

29{ return T_B_Etot; }

◆ getBarrelTime() [2/3]

unsigned int TrigEACC::getBarrelTime ( ) const
inline

Definition at line 29 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

29{ return T_B_Etot; }

◆ getBarrelTime() [3/3]

unsigned int TrigEACC::getBarrelTime ( ) const
inline

Definition at line 29 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

29{ return T_B_Etot; }

◆ getBBLKCharge() [1/3]

unsigned int TrigEACC::getBBLKCharge ( int id) const
inline

Definition at line 22 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

22{ return E_blk[id]; }

◆ getBBLKCharge() [2/3]

unsigned int TrigEACC::getBBLKCharge ( int id) const
inline

Definition at line 22 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

22{ return E_blk[id]; }

◆ getBBLKCharge() [3/3]

unsigned int TrigEACC::getBBLKCharge ( int id) const
inline

Definition at line 22 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

22{ return E_blk[id]; }

◆ getBBLKTime() [1/3]

unsigned int TrigEACC::getBBLKTime ( int id) const
inline

Definition at line 23 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

23{ return T_blk[id]; }

◆ getBBLKTime() [2/3]

unsigned int TrigEACC::getBBLKTime ( int id) const
inline

Definition at line 23 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

23{ return T_blk[id]; }

◆ getBBLKTime() [3/3]

unsigned int TrigEACC::getBBLKTime ( int id) const
inline

Definition at line 23 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

23{ return T_blk[id]; }

◆ getBTC() [1/3]

unsigned int TrigEACC::getBTC ( int theta,
int phi,
int winId ) const
inline

Definition at line 43 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

43 {
44 return TC[theta][phi][winId];
45 }

◆ getBTC() [2/3]

unsigned int TrigEACC::getBTC ( int theta,
int phi,
int winId ) const
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

43 {
44 return TC[theta][phi][winId];
45 }

◆ getBTC() [3/3]

unsigned int TrigEACC::getBTC ( int theta,
int phi,
int winId ) const
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

43 {
44 return TC[theta][phi][winId];
45 }

◆ getEastEndHalfCharge() [1/3]

unsigned int TrigEACC::getEastEndHalfCharge ( ) const
inline

Definition at line 38 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

38{ return E_eastEndHalf; }

◆ getEastEndHalfCharge() [2/3]

unsigned int TrigEACC::getEastEndHalfCharge ( ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

38{ return E_eastEndHalf; }

◆ getEastEndHalfCharge() [3/3]

unsigned int TrigEACC::getEastEndHalfCharge ( ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

38{ return E_eastEndHalf; }

◆ getEastEndHalfTime() [1/3]

unsigned int TrigEACC::getEastEndHalfTime ( ) const
inline

Definition at line 39 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

39{ return T_eastEndHalf; }

◆ getEastEndHalfTime() [2/3]

unsigned int TrigEACC::getEastEndHalfTime ( ) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

39{ return T_eastEndHalf; }

◆ getEastEndHalfTime() [3/3]

unsigned int TrigEACC::getEastEndHalfTime ( ) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

39{ return T_eastEndHalf; }

◆ getEastHalfCharge() [1/3]

unsigned int TrigEACC::getEastHalfCharge ( ) const
inline

Definition at line 34 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

34{ return E_eastHalf; }

◆ getEastHalfCharge() [2/3]

unsigned int TrigEACC::getEastHalfCharge ( ) const
inline

Definition at line 34 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

34{ return E_eastHalf; }

◆ getEastHalfCharge() [3/3]

unsigned int TrigEACC::getEastHalfCharge ( ) const
inline

Definition at line 34 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

34{ return E_eastHalf; }

◆ getEastHalfTime() [1/3]

unsigned int TrigEACC::getEastHalfTime ( ) const
inline

Definition at line 35 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

35{ return T_eastHalf; }

◆ getEastHalfTime() [2/3]

unsigned int TrigEACC::getEastHalfTime ( ) const
inline

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

35{ return T_eastHalf; }

◆ getEastHalfTime() [3/3]

unsigned int TrigEACC::getEastHalfTime ( ) const
inline

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

35{ return T_eastHalf; }

◆ getEBLKCharge() [1/3]

unsigned int TrigEACC::getEBLKCharge ( int id) const
inline

Definition at line 24 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

24{ return E_blkE[id]; }

◆ getEBLKCharge() [2/3]

unsigned int TrigEACC::getEBLKCharge ( int id) const
inline

Definition at line 24 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

24{ return E_blkE[id]; }

◆ getEBLKCharge() [3/3]

unsigned int TrigEACC::getEBLKCharge ( int id) const
inline

Definition at line 24 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

24{ return E_blkE[id]; }

◆ getEBLKTime() [1/3]

unsigned int TrigEACC::getEBLKTime ( int id) const
inline

Definition at line 25 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

25{ return T_blkE[id]; }

◆ getEBLKTime() [2/3]

unsigned int TrigEACC::getEBLKTime ( int id) const
inline

Definition at line 25 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

25{ return T_blkE[id]; }

◆ getEBLKTime() [3/3]

unsigned int TrigEACC::getEBLKTime ( int id) const
inline

Definition at line 25 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

25{ return T_blkE[id]; }

◆ getEMCTotalCharge() [1/3]

unsigned int TrigEACC::getEMCTotalCharge ( ) const
inline

Definition at line 32 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

32{ return E_blkAll; }

◆ getEMCTotalCharge() [2/3]

unsigned int TrigEACC::getEMCTotalCharge ( ) const
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

32{ return E_blkAll; }

◆ getEMCTotalCharge() [3/3]

unsigned int TrigEACC::getEMCTotalCharge ( ) const
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

32{ return E_blkAll; }

◆ getEMCTotalTime() [1/3]

unsigned int TrigEACC::getEMCTotalTime ( ) const
inline

Definition at line 33 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

33{ return T_blkAll; }

◆ getEMCTotalTime() [2/3]

unsigned int TrigEACC::getEMCTotalTime ( ) const
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

33{ return T_blkAll; }

◆ getEMCTotalTime() [3/3]

unsigned int TrigEACC::getEMCTotalTime ( ) const
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

33{ return T_blkAll; }

◆ getEndCapsCharge() [1/3]

unsigned int TrigEACC::getEndCapsCharge ( ) const
inline

Definition at line 30 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

30{ return E_E_Etot; }

◆ getEndCapsCharge() [2/3]

unsigned int TrigEACC::getEndCapsCharge ( ) const
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

30{ return E_E_Etot; }

◆ getEndCapsCharge() [3/3]

unsigned int TrigEACC::getEndCapsCharge ( ) const
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

30{ return E_E_Etot; }

◆ getEndCapsTime() [1/3]

unsigned int TrigEACC::getEndCapsTime ( ) const
inline

Definition at line 31 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

31{ return T_E_Etot; }

◆ getEndCapsTime() [2/3]

unsigned int TrigEACC::getEndCapsTime ( ) const
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

31{ return T_E_Etot; }

◆ getEndCapsTime() [3/3]

unsigned int TrigEACC::getEndCapsTime ( ) const
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

31{ return T_E_Etot; }

◆ getETC() [1/3]

unsigned int TrigEACC::getETC ( int phi,
int winId ) const
inline

Definition at line 46 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

46{ return TC_E[phi][winId]; }

◆ getETC() [2/3]

unsigned int TrigEACC::getETC ( int phi,
int winId ) const
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

46{ return TC_E[phi][winId]; }

◆ getETC() [3/3]

unsigned int TrigEACC::getETC ( int phi,
int winId ) const
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

46{ return TC_E[phi][winId]; }

◆ getMidCondi() [1/3]

unsigned int TrigEACC::getMidCondi ( int bit) const
inline

Definition at line 49 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

49{ return midCondi[bit]; }

◆ getMidCondi() [2/3]

unsigned int TrigEACC::getMidCondi ( int bit) const
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

49{ return midCondi[bit]; }

◆ getMidCondi() [3/3]

unsigned int TrigEACC::getMidCondi ( int bit) const
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

49{ return midCondi[bit]; }

◆ getName() [1/3]

const std::string & TrigEACC::getName ( ) const
inline

Definition at line 19 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

19{ return m_name; }

◆ getName() [2/3]

const std::string & TrigEACC::getName ( ) const
inline

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

19{ return m_name; }

◆ getName() [3/3]

const std::string & TrigEACC::getName ( ) const
inline

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

19{ return m_name; }

◆ getTimeWindow() [1/3]

unsigned int TrigEACC::getTimeWindow ( ) const
inline

Definition at line 20 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

20{ return m_window; }

◆ getTimeWindow() [2/3]

unsigned int TrigEACC::getTimeWindow ( ) const
inline

Definition at line 20 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

20{ return m_window; }

◆ getTimeWindow() [3/3]

unsigned int TrigEACC::getTimeWindow ( ) const
inline

Definition at line 20 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

20{ return m_window; }

◆ getTrigCondi() [1/3]

unsigned int TrigEACC::getTrigCondi ( int bit,
int winId ) const
inline

Definition at line 50 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

50 {
51 return emcTrigCondi[bit][winId];
52 }

◆ getTrigCondi() [2/3]

unsigned int TrigEACC::getTrigCondi ( int bit,
int winId ) const
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

50 {
51 return emcTrigCondi[bit][winId];
52 }

◆ getTrigCondi() [3/3]

unsigned int TrigEACC::getTrigCondi ( int bit,
int winId ) const
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

50 {
51 return emcTrigCondi[bit][winId];
52 }

◆ getWBLKCharge() [1/3]

unsigned int TrigEACC::getWBLKCharge ( int id) const
inline

Definition at line 26 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

26{ return E_blkW[id]; }

◆ getWBLKCharge() [2/3]

unsigned int TrigEACC::getWBLKCharge ( int id) const
inline

Definition at line 26 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

26{ return E_blkW[id]; }

◆ getWBLKCharge() [3/3]

unsigned int TrigEACC::getWBLKCharge ( int id) const
inline

Definition at line 26 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

26{ return E_blkW[id]; }

◆ getWBLKTime() [1/3]

unsigned int TrigEACC::getWBLKTime ( int id) const
inline

Definition at line 27 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

27{ return T_blkW[id]; }

◆ getWBLKTime() [2/3]

unsigned int TrigEACC::getWBLKTime ( int id) const
inline

Definition at line 27 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

27{ return T_blkW[id]; }

◆ getWBLKTime() [3/3]

unsigned int TrigEACC::getWBLKTime ( int id) const
inline

Definition at line 27 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

27{ return T_blkW[id]; }

◆ getWestEndHalfCharge() [1/3]

unsigned int TrigEACC::getWestEndHalfCharge ( ) const
inline

Definition at line 40 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

40{ return E_westEndHalf; }

◆ getWestEndHalfCharge() [2/3]

unsigned int TrigEACC::getWestEndHalfCharge ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

40{ return E_westEndHalf; }

◆ getWestEndHalfCharge() [3/3]

unsigned int TrigEACC::getWestEndHalfCharge ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

40{ return E_westEndHalf; }

◆ getWestEndHalfTime() [1/3]

unsigned int TrigEACC::getWestEndHalfTime ( ) const
inline

Definition at line 41 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

41{ return T_westEndHalf; }

◆ getWestEndHalfTime() [2/3]

unsigned int TrigEACC::getWestEndHalfTime ( ) const
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

41{ return T_westEndHalf; }

◆ getWestEndHalfTime() [3/3]

unsigned int TrigEACC::getWestEndHalfTime ( ) const
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

41{ return T_westEndHalf; }

◆ getWestHalfCharge() [1/3]

unsigned int TrigEACC::getWestHalfCharge ( ) const
inline

Definition at line 36 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

36{ return E_westHalf; }

◆ getWestHalfCharge() [2/3]

unsigned int TrigEACC::getWestHalfCharge ( ) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

36{ return E_westHalf; }

◆ getWestHalfCharge() [3/3]

unsigned int TrigEACC::getWestHalfCharge ( ) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

36{ return E_westHalf; }

◆ getWestHalfTime() [1/3]

unsigned int TrigEACC::getWestHalfTime ( ) const
inline

Definition at line 37 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

37{ return T_westHalf; }

◆ getWestHalfTime() [2/3]

unsigned int TrigEACC::getWestHalfTime ( ) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

37{ return T_westHalf; }

◆ getWestHalfTime() [3/3]

unsigned int TrigEACC::getWestHalfTime ( ) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

37{ return T_westHalf; }

◆ getWTC() [1/3]

unsigned int TrigEACC::getWTC ( int phi,
int winId ) const
inline

Definition at line 47 of file Event/TrigEvent/include/TrigEvent/TrigEACC.h.

47{ return TC_W[phi][winId]; }

◆ getWTC() [2/3]

unsigned int TrigEACC::getWTC ( int phi,
int winId ) const
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigEACC.h.

47{ return TC_W[phi][winId]; }

◆ getWTC() [3/3]

unsigned int TrigEACC::getWTC ( int phi,
int winId ) const
inline

Definition at line 47 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigEACC.h.

47{ return TC_W[phi][winId]; }

◆ initialize() [1/3]

void TrigEACC::initialize ( )

Definition at line 10 of file TrigEACC.cxx.

10 {
11 // initialize
12 for ( uint32_t i = 0; i < 11; i++ )
13 for ( uint32_t j = 0; j < 32; j++ )
14 for ( uint32_t k = 0; k < 32; k++ )
15 {
16 if ( j < 30 ) TC[i][j][k] = 0;
17 if ( i == 0 )
18 {
19 TC_E[j][k] = 0;
20 TC_W[j][k] = 0;
21 }
22 if ( i == 0 && j < 16 )
23 {
24 midCondi[j] = 0;
25 emcTrigCondi[j][k] = 0;
26 }
27 if ( i == 0 && j < 12 )
28 {
29 E_blk[j] = 0;
30 T_blk[j] = 0;
31 }
32 if ( i == 0 && j < 2 )
33 {
34 E_blkE[j] = 0;
35 T_blkE[j] = 0;
36 E_blkW[j] = 0;
37 T_blkW[j] = 0;
38 }
39 }
40 E_B_Etot = 0;
41 T_B_Etot = 0;
42 E_E_Etot = 0;
43 T_E_Etot = 0;
44 E_blkAll = 0;
45 T_blkAll = 0;
46 E_eastHalf = 0;
47 T_eastHalf = 0;
48 E_westHalf = 0;
49 T_westHalf = 0;
50 E_eastEndHalf = 0;
51 T_eastEndHalf = 0;
52 E_westEndHalf = 0;
53 T_westEndHalf = 0;
54}

◆ initialize() [2/3]

void TrigEACC::initialize ( )

◆ initialize() [3/3]

void TrigEACC::initialize ( )

◆ print() [1/3]

void TrigEACC::print ( )

Definition at line 186 of file TrigEACC.cxx.

186{}

◆ print() [2/3]

void TrigEACC::print ( )

◆ print() [3/3]

void TrigEACC::print ( )

◆ setEACCTrigData() [1/3]

void TrigEACC::setEACCTrigData ( uint32_t boardId,
uint32_t window,
uint32_t datasize,
const uint32_t * data )

Definition at line 56 of file TrigEACC.cxx.

57 {
58 if ( boardId != 0xd7 )
59 std::cerr << "ERROR: You set the wrong board data to TrigEACC!!!" << std::endl;
60
61 m_window = window;
62
63 uint32_t charge_mask = 0xFFFF;
64 uint32_t time_mask = 0xFF0000;
65 for ( uint32_t i = 0; i < datasize; i++ )
66 {
67 if ( i < 12 )
68 {
69 E_blk[i] = ( ( data[i] ) & charge_mask );
70 T_blk[i] = ( ( data[i] ) & time_mask ) >> 16;
71 }
72 if ( i >= 12 && i < 14 )
73 {
74 E_blkE[i - 12] = ( ( data[i] ) & charge_mask );
75 T_blkE[i - 12] = ( ( data[i] ) & time_mask ) >> 16;
76 }
77 if ( i >= 14 && i < 16 )
78 {
79 E_blkW[i - 14] = ( ( data[i] ) & charge_mask );
80 T_blkW[i - 14] = ( ( data[i] ) & time_mask ) >> 16;
81 }
82 if ( i >= 16 && i < 23 )
83 {
84 if ( i == 16 )
85 {
86 E_B_Etot = ( ( data[i] ) & charge_mask );
87 T_B_Etot = ( ( data[i] ) & time_mask ) >> 16;
88 }
89 if ( i == 17 )
90 {
91 E_E_Etot = ( ( data[i] ) & charge_mask );
92 T_E_Etot = ( ( data[i] ) & time_mask ) >> 16;
93 }
94 if ( i == 18 )
95 {
96 E_blkAll = ( ( data[i] ) & charge_mask );
97 T_blkAll = ( ( data[i] ) & time_mask ) >> 16;
98 }
99 if ( i == 19 )
100 {
101 E_eastHalf = ( ( data[i] ) & charge_mask );
102 T_eastHalf = ( ( data[i] ) & time_mask ) >> 16;
103 }
104 if ( i == 20 )
105 {
106 E_westHalf = ( ( data[i] ) & charge_mask );
107 T_westHalf = ( ( data[i] ) & time_mask ) >> 16;
108 }
109 if ( i == 21 )
110 {
111 E_eastEndHalf = ( ( data[i] ) & charge_mask );
112 T_eastEndHalf = ( ( data[i] ) & time_mask ) >> 16;
113 }
114 if ( i == 22 )
115 {
116 E_westEndHalf = ( ( data[i] ) & charge_mask );
117 T_westEndHalf = ( ( data[i] ) & time_mask ) >> 16;
118 }
119 }
120 if ( i == 23 )
121 {
122 for ( uint32_t j = 0, mask = 1; j < 16; j++, mask <<= 1 )
123 {
124 if ( data[i] & mask ) midCondi[j] = 1;
125 }
126 }
127 if ( i >= 24 && i < 24 + 20 * window )
128 {
129 uint32_t winId = uint32_t( ( i - 24 ) / 20 );
130 uint32_t id = i - ( 24 + winId * 20 );
131 if ( i >= ( 24 + winId * 20 ) && i < ( 39 + winId * 20 ) )
132 {
133 for ( uint32_t j = 0, mask = 1; j < 24; j++, mask <<= 1 )
134 {
135 if ( j < 11 )
136 {
137 if ( data[i] & mask ) TC[j][2 * id + 1][winId] = 1;
138 }
139 if ( j >= 12 && j < 23 )
140 {
141 if ( data[i] & mask ) TC[j - 12][2 * id][winId] = 1;
142 }
143 }
144 }
145 if ( i == ( 39 + winId * 20 ) )
146 {
147 for ( uint32_t j = 0, mask = 1; j < 16; j++, mask <<= 1 )
148 {
149 if ( data[i] & mask ) TC_E[j][winId] = 1;
150 }
151 }
152 if ( i == ( 40 + winId * 20 ) )
153 {
154 for ( uint32_t j = 0, mask = 1; j < 16; j++, mask <<= 1 )
155 {
156 if ( data[i] & mask ) TC_E[j + 16][winId] = 1;
157 }
158 }
159 if ( i == ( 41 + winId * 20 ) )
160 {
161 for ( uint32_t j = 0, mask = 1; j < 16; j++, mask <<= 1 )
162 {
163 if ( data[i] & mask ) TC_W[j][winId] = 1;
164 }
165 }
166 if ( i == ( 42 + winId * 20 ) )
167 {
168 for ( uint32_t j = 0, mask = 1; j < 16; j++, mask <<= 1 )
169 {
170 if ( data[i] & mask ) TC_W[j + 16][winId] = 1;
171 }
172 }
173 if ( i == ( 43 + winId * 20 ) )
174 {
175 for ( uint32_t j = 0, mask = 1; j < 16; j++, mask <<= 1 )
176 {
177 if ( data[i] & mask ) emcTrigCondi[j][winId] = 1;
178 }
179 }
180 }
181 }
182 if ( 24 + 20 * window != datasize )
183 std::cerr << "ERROR: The data in EACC are not complete" << std::endl;
184}
TTree * data

◆ setEACCTrigData() [2/3]

void TrigEACC::setEACCTrigData ( uint32_t boardId,
uint32_t window,
uint32_t datasize,
const uint32_t * data )

◆ setEACCTrigData() [3/3]

void TrigEACC::setEACCTrigData ( uint32_t boardId,
uint32_t window,
uint32_t datasize,
const uint32_t * data )

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