14#include "GaudiKernel/MsgStream.h"
15#include "GaudiKernel/StatusCode.h"
16#include "GaudiKernel/ITHistSvc.h"
17#include "GaudiKernel/PhysicalConstants.h"
34 const std::string& name,
35 const IInterface* parent )
46 return StatusCode::SUCCESS;
73 monNumRoIB, monNumRoIE, monEtaClustPass, monPhiClustPass,
74 result, monNumRoIBPass, monNumRoIEPass, chainActive,
87 bool foundMuonRoICluster =
false;
92 ATH_MSG_DEBUG(
"Found object named Cluster : " << (compObj->name()==
"Cluster" ?
"yes":
"no"));
93 if(compObj->name() ==
"Cluster" ) {
94 foundMuonRoICluster =
true;
97 if(!compObj->getDetail(
"nRoIs", numberRoI)) {
return StatusCode::FAILURE; }
98 if(!compObj->getDetail(
"ClusterEta", etaClust)) {
return StatusCode::FAILURE; }
99 if(!compObj->getDetail(
"ClusterPhi", phiClust)) {
return StatusCode::FAILURE; }
103 if( !foundMuonRoICluster ) {
return StatusCode::FAILURE;}
106 monNumberRoI = numberRoI;
107 monEtaClust = etaClust;
108 monPhiClust = phiClust;
112 monNumRoIB = numberRoI;
114 monNumRoIE = numberRoI;
124 ATH_MSG_DEBUG(
"Accept property is set: taking all the events");
132 ATH_MSG_DEBUG(
"Cluster has " << numberRoI <<
" muon RoIs, at (eta, phi) = (" << etaClust <<
", " << phiClust <<
")");
142 monNumRoIBPass = numberRoI;
143 monEtaClustPass = etaClust;
144 monPhiClustPass = phiClust;
152 monNumRoIEPass = numberRoI;
153 monEtaClustPass = etaClust;
154 monPhiClustPass = phiClust;
158 ATH_MSG_DEBUG(
"Cluster does not satisfy all the conditions... event not accepted");
163 ATH_MSG_DEBUG(
"Cluster location past maximum permitted eta... event not accepted");
186 return StatusCode::SUCCESS;
189 return StatusCode::SUCCESS;
192 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
size_type size() const noexcept
Returns the number of elements in the collection.
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
std::set< DecisionID > DecisionIDContainer
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
TrigCompositeContainer_v1 TrigCompositeContainer
Declare the latest version of the container.
TrigComposite_v1 TrigComposite
Declare the latest version of the class.