|
ATLAS Offline Software
|
Go to the documentation of this file.
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,
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;
Property holding a SG store/key/clid from which a ReadHandle is made.
Group
Properties of a chain group.
TrigCompositeUtils::DecisionID numeric() const
numeric ID
std::vector< LUCID_RawData_p1 > t3
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
std::vector< ALFA_RawDataCollection_p1 > t1
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
::StatusCode StatusCode
StatusCode definition for legacy code.
Class used to describe composite objects in the HLT.
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a WriteHandle is made.
std::vector< ALFA_RawDataContainer_p1 > t2
std::set< DecisionID > DecisionIDContainer
Declare a monitored scalar variable.
size_type size() const noexcept
Returns the number of elements in the collection.