#include <TGCBIS78.h>
|
void | setOutput (unsigned int BIS78PadBoard, uint8_t BIS78eta_6bit, uint8_t BIS78phi_6bit, uint8_t BIS78Deta_3bit, uint8_t BIS78Dphi_3bit, uint8_t BIS78flag3over3eta_1bit, uint8_t BIS78flag3over3phi_1bit) |
|
void | eraseOutput () |
|
void | initMessaging () const |
| Initialize our message level and MessageSvc. More...
|
|
|
std::string | m_nm |
| Message source name. More...
|
|
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More...
|
|
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More...
|
|
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More...
|
|
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More...
|
|
Definition at line 20 of file TGCBIS78.h.
◆ TGCBIS78() [1/2]
LVL1TGC::TGCBIS78::TGCBIS78 |
( |
| ) |
|
Definition at line 12 of file TGCBIS78.cxx.
14 for (
size_t PadBoard=0; PadBoard <
kNPadBoards; PadBoard++) {
15 std::vector<int> vecPadBoard;
16 vecPadBoard.push_back(PadBoard);
17 m_buffer[PadBoard].reset(
new BIS78TrigOut(vecPadBoard));
◆ ~TGCBIS78()
virtual LVL1TGC::TGCBIS78::~TGCBIS78 |
( |
| ) |
|
|
virtualdefault |
◆ TGCBIS78() [2/2]
◆ eraseOutput()
void LVL1TGC::TGCBIS78::eraseOutput |
( |
| ) |
|
|
private |
◆ getOutput()
std::shared_ptr< const BIS78TrigOut > LVL1TGC::TGCBIS78::getOutput |
( |
int |
TGC_TriggerSector | ) |
const |
Definition at line 51 of file TGCBIS78.cxx.
53 std::shared_ptr<BIS78TrigOut> trigBIS78_output;
54 trigBIS78_output.reset(
new BIS78TrigOut());
55 trigBIS78_output->clear();
56 if ( TGC_TriggerSector<0 || TGC_TriggerSector>47 )
return 0;
57 int BIS78_TriggerSect = (TGC_TriggerSector - 2)/6;
58 if(TGC_TriggerSector < 2) BIS78_TriggerSect=7;
59 if(BIS78_TriggerSect>=0 && BIS78_TriggerSect<=7){
60 *trigBIS78_output+=*
m_buffer[BIS78_TriggerSect];
63 return trigBIS78_output;
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ operator!=()
◆ operator=()
◆ operator==()
bool LVL1TGC::TGCBIS78::operator== |
( |
const TGCBIS78 & |
right | ) |
const |
|
delete |
◆ print()
void LVL1TGC::TGCBIS78::print |
( |
| ) |
const |
◆ retrieve()
Definition at line 22 of file TGCBIS78.cxx.
29 if(!readBIS78_TrigRawDataContainer.isValid()){
30 ATH_MSG_ERROR(
"Cannot retrieve RPC BIS78 TrigRawData Container.");
31 return StatusCode::FAILURE;
35 if ( bis78_sector->sideId() != 1 )
continue;
38 bis78_hit->etaIndex(),
39 bis78_hit->phiIndex(),
40 bis78_hit->deltaEta(),
41 bis78_hit->deltaPhi(),
42 bis78_hit->flag3over3Eta(),
43 bis78_hit->flag3over3Phi() );
47 return StatusCode::SUCCESS;
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ setOutput()
void LVL1TGC::TGCBIS78::setOutput |
( |
unsigned int |
BIS78PadBoard, |
|
|
uint8_t |
BIS78eta_6bit, |
|
|
uint8_t |
BIS78phi_6bit, |
|
|
uint8_t |
BIS78Deta_3bit, |
|
|
uint8_t |
BIS78Dphi_3bit, |
|
|
uint8_t |
BIS78flag3over3eta_1bit, |
|
|
uint8_t |
BIS78flag3over3phi_1bit |
|
) |
| |
|
private |
Definition at line 66 of file TGCBIS78.cxx.
69 m_buffer[BIS78PadBoard]->setBIS78PadBoard(BIS78PadBoard);
70 m_buffer[BIS78PadBoard]->setEta(BIS78eta_6bit);
71 m_buffer[BIS78PadBoard]->setPhi(BIS78phi_6bit);
72 m_buffer[BIS78PadBoard]->setDeta(BIS78Deta_3bit);
73 m_buffer[BIS78PadBoard]->setDphi(BIS78Dphi_3bit);
74 m_buffer[BIS78PadBoard]->setflag3over3eta(BIS78flag3over3eta_1bit);
75 m_buffer[BIS78PadBoard]->setflag3over3phi(BIS78flag3over3phi_1bit);
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ kNPadBoards
constexpr unsigned int LVL1TGC::TGCBIS78::kNPadBoards = 8 |
|
staticconstexprprivate |
◆ m_buffer
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files:
void setOutput(unsigned int BIS78PadBoard, uint8_t BIS78eta_6bit, uint8_t BIS78phi_6bit, uint8_t BIS78Deta_3bit, uint8_t BIS78Dphi_3bit, uint8_t BIS78flag3over3eta_1bit, uint8_t BIS78flag3over3phi_1bit)