|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/IInterface.h"
7 #include "GaudiKernel/MsgStream.h"
8 #include "GaudiKernel/StatusCode.h"
43 const std::string&
name)
87 "Can be FullEventTimeout, AnyROBOrUnpackingError or None");
104 return StatusCode::SUCCESS;
111 return StatusCode::SUCCESS;
130 if (
sc.isFailure() || !triggerTowerTES ) {
134 sc =
evtStore()->retrieve(triggerTowerSpareTES,
136 }
else sc = StatusCode::FAILURE;
137 if (
sc.isFailure() || !triggerTowerSpareTES ) {
141 sc =
evtStore()->retrieve(triggerTowerMuonTES,
143 }
else sc = StatusCode::FAILURE;
144 if (
sc.isFailure() || !triggerTowerMuonTES ) {
152 if (
sc.isFailure() || !cpmTowerTES ) {
157 }
else sc = StatusCode::FAILURE;
158 if (
sc.isFailure() || !cpmTowerOvTES ) {
165 if (
sc.isFailure() || !cpmRoiTES ) {
172 if (
sc.isFailure() || !cmxCpTobTES ) {
179 if (
sc.isFailure() || !cmxCpHitsTES ) {
187 if (
sc.isFailure() || !jetElementTES ) {
192 }
else sc = StatusCode::FAILURE;
193 if (
sc.isFailure() || !jetElementOvTES ) {
200 if (
sc.isFailure() || !jemRoiTES ) {
207 if (
sc.isFailure() || !cmxJetTobTES ) {
214 if (
sc.isFailure() || !cmxJetHitsTES ) {
221 if (
sc.isFailure() || !cmxRoiTES ) {
228 if (
sc.isFailure() || !jemEtSumsTES ) {
235 if (
sc.isFailure() || !cmxEtSumsTES ) {
243 }
else sc = StatusCode::FAILURE;
244 if (
sc.isFailure() || !rodTES ) {
252 }
else sc = StatusCode::FAILURE;
253 if (
sc.isFailure() || !cpRoibTES ) {
261 }
else sc = StatusCode::FAILURE;
262 if (
sc.isFailure() || !jepRoibTES ) {
270 }
else sc = StatusCode::FAILURE;
271 if (
sc.isFailure() || !errColl ) {
272 msg(
MSG::DEBUG) <<
"No ROB Status and Unpacking Error vector found"
298 return (((evtStatus >> 2) & 0
x1) == 1);
314 }
else sc = StatusCode::FAILURE;
315 if (
sc.isFailure() || !rodTES ) {
324 }
else sc = StatusCode::FAILURE;
325 if (
sc.isFailure() || !cpRoibTES ) {
334 }
else sc = StatusCode::FAILURE;
335 if (
sc.isFailure() || !jepRoibTES ) {
341 std::vector<int> noFragmentFlags(80, 1);
342 std::vector<const xAOD::RODHeaderContainer*>
cols;
343 if (rodTES)
cols.push_back(rodTES);
344 if (cpRoibTES)
cols.push_back(cpRoibTES);
345 if (jepRoibTES)
cols.push_back(jepRoibTES);
346 std::vector<const xAOD::RODHeaderContainer*>::const_iterator colIter =
348 std::vector<const xAOD::RODHeaderContainer*>::const_iterator colIterEnd =
350 for (; colIter != colIterEnd; ++colIter) {
353 for (; iter != iterEnd; ++iter) {
355 const int crate =
header->crate();
356 const int slink =
header->sLink();
359 const int pos =
rod * 4 + slink;
360 if (
pos >= 80)
continue;
361 noFragmentFlags[
pos] = 0;
367 if ((
pos % 2) && (
pos >= 56 || (
pos >= 32 &&
pos < 48)))
continue;
368 if (noFragmentFlags[
pos])
return true;
378 const std::vector<unsigned int>* errVecTES = 0;
380 return (
sc.isSuccess() && !errVecTES->empty());
Const iterator class for DataVector/DataList.
static const std::string RODHeaderLocation
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
static const std::string CMXJetTobLocation
static const std::string CMXJetHitsLocation
static const std::string CMXRoILocation
bool msgLvl(const MSG::Level lvl) const
static const std::string CMXCPTobLocation
static const std::string JEMTobRoILocation
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
static const std::string JEMEtSumsLocation
static const std::string CMXEtSumsLocation
::StatusCode StatusCode
StatusCode definition for legacy code.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
static const std::string CPMTowerLocation
static const std::string JetElementLocation
uint32_t statusElement() const
Trigger status element.
static const std::string xAODTriggerTowerLocation
An STL vector of pointers that by default owns its pointed-to elements.
static const std::string CPMTobRoILocation
Handle class for reading from StoreGate.
static const std::string CMXCPHitsLocation