|
ATLAS Offline Software
|
Go to the documentation of this file.
19 initQueue(std::queue<int>&
q,
const int numvals,
const int setval) {
20 for (
int i{0};
i<numvals; ++
i)
q.push(setval);
32 return StatusCode::SUCCESS;
37 return StatusCode::SUCCESS;
45 std::queue<int> qtemp;
46 initQueue(qtemp,
m_maxq,0);
49 std::vector<std::pair <int,int>>
dummy;
63 const EventContext& ctx = Gaudi::Hive::currentContext();
71 int time_stamp{
static_cast<int>(ctx.eventID().time_stamp())};
72 int curr_time{time_stamp};
76 ATH_MSG_ERROR(
"Events not sorted properly (time is going backwards!) ");
87 if (dtime > maxtbins) {
99 for(
int itrk{0}; itrk!=wafersize; ++itrk) {
100 int waferhash{(*m_sct_waferHash)[itrk]};
107 int numhits{(*m_sct_numHitsInWafer)[itrk]};
108 totalHits += numhits;
120 and ((numhits +
m_phvtripQueue[waferhash].back() )/
static_cast<double>(maxtbins) ) >
limit) {
122 for (
int iq{0}; iq<
m_maxq; ++iq) {
128 ATH_MSG_DEBUG(
"Found a potential trip in SCT wafer " << waferhash);
130 <<
" hits/secs now = " << ((numhits +
m_tq[
m_maxq-1])/ maxtbins )
137 for (
int iq{0}; iq <
m_maxq; ++iq) {
157 for (; waferItr not_eq waferItrE; ++waferItr) {
161 std::pair<int, int>
wp;
165 std::pair<int,int>
lbn;
181 <<
" hits/secs now = "<< (
m_phvtripQueue[iwaf].back() / maxtbins )
std::vector< Identifier >::const_iterator const_id_iterator
Identifier module_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
::StatusCode StatusCode
StatusCode definition for legacy code.
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.