|
ATLAS Offline Software
|
Go to the documentation of this file.
48 else if (cr->crate() == 1)
84 std::cout <<
"SystemEnergy results: " << std::endl
97 unsigned int overflowT,
unsigned int overflowX,
98 unsigned int overflowY,
unsigned int restricted,
103 m_overflowX(overflowX),
104 m_overflowY(overflowY),
105 m_overflowT(overflowT),
106 m_restricted(restricted),
124 std::cout <<
"SystemEnergy results: " << std::endl
275 std::vector<std::shared_ptr<TrigConf::L1Threshold>> allThresholds =
m_L1Menu->
thresholds();
279 for (
const auto&
thresh : allThresholds ) {
280 if (
thresh->type() == L1DataDef::xeType()) {
283 uint32_t tvQ = thresholdValue * thresholdValue;
284 int threshNumber =
thresh->mapping();
315 std::vector<std::shared_ptr<TrigConf::L1Threshold>> allThresholds =
m_L1Menu->
thresholds();
319 for (
const auto&
thresh : allThresholds ) {
320 if (
thresh->type() == L1DataDef::teType()) {
321 int threshNumber =
thresh->mapping();
325 if (tvcs.size() == 0) {
326 tvcs.
addRangeValue(thresh_Calo->thrValueCounts(),-49, 49, 1,
true);
328 for (
const auto& tVC : tvcs) {
329 if (
static_cast<int>(tVC.value()) < thresholdValue) {
330 thresholdValue = tVC.value();
336 if (
static_cast<int>(
m_systemEt) > thresholdValue)
341 if (
static_cast<int>(
m_systemEt) > thresholdValue)
363 unsigned int Offset =
params.xsSigmaOffset();
364 unsigned int XEmin =
params.xeMin();
365 unsigned int XEmax =
params.xeMax();
366 int sqrtTEmin =
params.teSqrtMin();
367 int sqrtTEmax =
params.teSqrtMax();
384 unsigned int bQ = ceil(Offset * Offset * 1.
e-6);
388 std::vector<std::shared_ptr<TrigConf::L1Threshold>> allThresholds =
m_L1Menu->
thresholds();
392 for (
const auto&
thresh : allThresholds ) {
393 if (
thresh->type() == L1DataDef::xsType()) {
395 int threshNumber =
thresh->mapping();
398 unsigned long aQTiQ = (0.5 +
double(aQ * 1.
e-8) * Ti * Ti);
400 long left = aQTiQ * aQTiQ * fourbQTE;
403 if (right < 0 || left > right * right)
virtual ValueWithEtaDependence< unsigned int > thrValuesCounts() const
access to the list of ThresholdValues in energy units
unsigned int exTC() const
15 bit twos-complement format
Extra patterns decribing particle interation process.
unsigned int etMissHits() const
Trigger Results.
unsigned int metSigHits() const
return MEtSig hits
unsigned int m_metSigHits
unsigned int m_etMissHits
CrateEnergy class declaration Simulates behaviour of the Crate-CMM System CMM logic is done in Energy...
unsigned int roiWord0() const
RoI words.
void etMissTrigger()
Test Ex, Ey sums against ETmiss thresholds Regrettably not as simple as it sounds if we emulate har...
unsigned int eyTC() const
return crate Ey in 15-bit twos-complement format (hardware format)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
int ex() const
return crate Ex
unsigned int roiWord2() const
return RoI word 2 (Et value & overflow, EtMiss hits)
void etSumTrigger()
Test Et sum against ETsum thresholds.
Forward iterator to traverse the main components of the trigger configuration.
unsigned int encodeTC(int input) const
encode int as 15-bit twos-complement format (hardware Ex/Ey format)
int decodeTC(unsigned int input) const
decode 15-bit twos-complement format (hardware Ex/Ey format) as int
unsigned int exOverflow() const
Overflow bits.
static const int m_etSumOverflow
virtual unsigned int thrValueCounts(int eta=0) const
unsigned int etSumHits() const
return EtSum hits
unsigned int etOverflow() const
return Et overflow bit
static const unsigned int m_sumBits
int et() const
return global et, ex, ey sums
unsigned int roiWord1() const
return RoI word 1 (Ey value & overflow, EtSum hits)
static const unsigned int numOfSumEtThresholds
void Scale(TH1 *h, double d=1)
static const int m_maxEtSumThr
void addRangeValue(const T &value, int etaMin, int etaMax, unsigned int priority, bool symmetric=true)
unsigned int eyOverflow() const
return Ey overflow bit
T complement(const T &v, const unsigned int &p)
SystemEnergy(const DataVector< CrateEnergy > *crates, const TrigConf::L1Menu *l1Menu)
const TrigConf::L1Menu * m_L1Menu
static const unsigned int numOfMEtSigThresholds
unsigned int m_restricted
static const unsigned int numOfMissingEtThresholds
void metSigTrigger()
Test MEt Significance against METSig thresholds.
int ey() const
return crate Ey