|
ATLAS Offline Software
|
Go to the documentation of this file.
16 m_trigdec(
"Trig::TrigDecisionTool/TrigDecisionTool")
48 return StatusCode::SUCCESS;
62 return StatusCode::SUCCESS;
66 return StatusCode::SUCCESS;
73 return StatusCode::SUCCESS;
82 for (
const auto el : *offElectrons)
86 ATH_MSG_DEBUG(
"Offline Electron cluster object is "<<
el->caloCluster());
101 ATH_MSG_DEBUG(
"L1Calo : " <<
accept.getCutResult(0) <<
" / " << emu_accept.getCutResult(0));
102 ATH_MSG_DEBUG(
"L2Calo : " <<
accept.getCutResult(1) <<
" / " << emu_accept.getCutResult(1));
104 ATH_MSG_DEBUG(
"EFCalo : " <<
accept.getCutResult(3) <<
" / " << emu_accept.getCutResult(3));
105 ATH_MSG_DEBUG(
"EFTrack : " <<
accept.getCutResult(4) <<
" / " << emu_accept.getCutResult(4));
112 if (
accept.getCutResult(0)){
114 if (
accept.getCutResult(1)){
116 if(
accept.getCutResult(2)){
118 if(
accept.getCutResult(3)){
120 if(
accept.getCutResult(5)){
129 if (emu_accept.getCutResult(0)){
131 if (emu_accept.getCutResult(1)){
133 if(emu_accept.getCutResult(2)){
135 if(emu_accept.getCutResult(3)){
137 if(emu_accept.getCutResult(5)){
152 ATH_MSG_DEBUG(
"================= End Event =================");
154 return StatusCode::SUCCESS;
168 unsigned int condition=TrigDefs::includeFailedDecisions;
171 bool passedL1Calo=
false;
172 bool passedL2Calo=
false;
173 bool passedEFCalo=
false;
175 bool passedEFTrk=
false;
180 auto trigger =
info.trigger;
191 if(
info.type ==
"electron"){
195 }
else if(
info.type ==
"photon"){
213 if(
info.type ==
"electron"){
224 }
else if(
info.type ==
"photon"){
260 std::string
type =
"electron";
261 std::vector<std::string> strs;
269 std::string str_thr = strs.at(1);
271 float et =
atof(str_thr.c_str());
289 const std::string &
label )
const
Extra patterns decribing particle interation process.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StatusCode accept(const xAOD::Muon *mu)
@ LAr
The LAr calorimeter.
@ Error
The sub-detector issued an error.
Base class for Athena Monitoring Algorithms.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Class used to describe composite objects in the HLT.
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
virtual bool isValid() override final
Can the handle be successfully dereferenced?
double atof(std::string_view str)
Converts a string into a double / float.
virtual StatusCode initialize() override
initialize
void setCutResult(const std::string &cutName, bool cutResult)
Set the result of a cut, based on the cut name (safer)
#define ATH_MSG_WARNING(x)
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
Declare a monitored scalar variable.
size_type size() const noexcept
Returns the number of elements in the collection.
const ToolHandle< GenericMonitoringTool > & getGroup(const std::string &name) const
Get a specific monitoring tool from the tool handle array.
int addCut(const std::string &cutName, const std::string &cutDescription)
Add a cut; returning the cut position.