![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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
278 std::vector<std::shared_ptr<TrigConf::L1Threshold>> allThresholds =
m_L1Menu->
thresholds();
282 for (
const auto&
thresh : allThresholds ) {
283 if (
thresh->type() == L1DataDef::xeType()) {
284 std::shared_ptr<TrigConf::L1Threshold_Calo> thresh_Calo = std::static_pointer_cast<TrigConf::L1Threshold_Calo>(
thresh);
286 uint32_t tvQ = thresholdValue * thresholdValue;
287 int threshNumber =
thresh->mapping();
318 std::vector<std::shared_ptr<TrigConf::L1Threshold>> allThresholds =
m_L1Menu->
thresholds();
322 for (
const auto&
thresh : allThresholds ) {
323 if (
thresh->type() == L1DataDef::teType()) {
324 int threshNumber =
thresh->mapping();
326 std::shared_ptr<TrigConf::L1Threshold_Calo> thresh_Calo = std::static_pointer_cast<TrigConf::L1Threshold_Calo>(
thresh);
328 if (tvcs.size() == 0) {
331 for (
const auto& tVC : tvcs) {
332 if (
static_cast<int>(tVC.value()) < thresholdValue) {
333 thresholdValue = tVC.value();
339 if (
static_cast<int>(
m_systemEt) > thresholdValue)
344 if (
static_cast<int>(
m_systemEt) > thresholdValue)
366 unsigned int Offset =
params.xsSigmaOffset();
367 unsigned int XEmin =
params.xeMin();
368 unsigned int XEmax =
params.xeMax();
369 int sqrtTEmin =
params.teSqrtMin();
370 int sqrtTEmax =
params.teSqrtMax();
387 unsigned int bQ = ceil(Offset * Offset * 1.
e-6);
391 std::vector<std::shared_ptr<TrigConf::L1Threshold>> allThresholds =
m_L1Menu->
thresholds();
395 for (
const auto&
thresh : allThresholds ) {
396 if (
thresh->type() == L1DataDef::xsType()) {
398 int threshNumber =
thresh->mapping();
399 std::shared_ptr<TrigConf::L1Threshold_Calo> thresh_Calo = std::static_pointer_cast<TrigConf::L1Threshold_Calo>(
thresh);
401 unsigned long aQTiQ = (0.5 +
double(aQ * 1.
e-8) * Ti * Ti);
403 long left = aQTiQ * aQTiQ * fourbQTE;
406 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