ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEDMChecker.cxx File Reference
#include "GaudiKernel/IToolSvc.h"
#include "AnalysisTriggerEvent/LVL1_ROI.h"
#include "AnalysisTriggerEvent/EmTau_ROI.h"
#include "AnalysisTriggerEvent/EnergySum_ROI.h"
#include "AnalysisTriggerEvent/Jet_ROI.h"
#include "xAODTrigger/TrigPassBitsContainer.h"
#include "xAODTrigger/TrigPassBits.h"
#include "xAODTrigger/TriggerMenuContainer.h"
#include "TrigNavStructure/TriggerElement.h"
#include "TrigConfHLTUtils/HLTUtils.h"
#include "AthContainers/debug.h"
#include "CxxUtils/checker_macros.h"
#include "xAODJet/JetContainer.h"
#include "xAODJet/JetConstituentVector.h"
#include "xAODTrigMissingET/TrigMissingETAuxContainer.h"
#include "xAODTrigMissingET/TrigMissingETContainer.h"
#include "TrigMissingEtEvent/TrigMissingETContainer.h"
#include "TrigMuonEvent/MuonFeature.h"
#include "TrigMuonEvent/TrigMuonEFInfoTrackContainer.h"
#include "TrigMuonEvent/TrigMuonEFInfoTrack.h"
#include "TrigMuonEvent/TrigMuonEFIsolationContainer.h"
#include "TrigMuonEvent/CombinedMuonFeatureContainer.h"
#include "TrigMuonEvent/TileMuFeatureContainer.h"
#include "TrigMuonEvent/TileTrackMuFeatureContainer.h"
#include "TrigParticle/TrigPhotonContainer.h"
#include "xAODTrigBphys/TrigBphysContainer.h"
#include "xAODTrigBphys/TrigBphys.h"
#include "TrigParticle/TrigEFBjetContainer.h"
#include "TrigParticle/TrigL2BjetContainer.h"
#include "TrigMuonEvent/TrigMuonEFContainer.h"
#include "TrigMuonEvent/TrigMuonEFInfoContainer.h"
#include "TrigMuonEvent/TrigMuonEFInfo.h"
#include "TrigMuonEvent/TrigMuonEFTrack.h"
#include "TrigMuonEvent/TrigMuonEFCbTrack.h"
#include "TrigParticle/TrigElectronContainer.h"
#include "TrigParticle/TrigTauContainer.h"
#include "TrigSteeringEvent/HLTResult.h"
#include "TrigInDetEvent/TrigTauTracksInfo.h"
#include "TrigInDetEvent/TrigVertexCollection.h"
#include "TrigCaloEvent/TrigEMCluster.h"
#include "TrigCaloEvent/TrigEMClusterContainer.h"
#include "TrigCaloEvent/TrigTauClusterContainer.h"
#include "Particle/TrackParticleContainer.h"
#include "tauEvent/TauJetContainer.h"
#include "tauEvent/TauJet.h"
#include "xAODMuon/MuonContainer.h"
#include "xAODTracking/TrackParticleContainer.h"
#include "xAODTracking/VertexContainer.h"
#include "xAODTrigEgamma/TrigElectronContainer.h"
#include "xAODTrigEgamma/TrigElectron.h"
#include "xAODTrigEgamma/TrigPhotonContainer.h"
#include "xAODTrigEgamma/TrigPhoton.h"
#include "xAODTrigCalo/TrigEMCluster.h"
#include "xAODTrigCalo/TrigEMClusterContainer.h"
#include "xAODEgamma/ElectronContainer.h"
#include "xAODEgamma/Electron.h"
#include "xAODEgamma/PhotonContainer.h"
#include "xAODEgamma/Photon.h"
#include "xAODTau/TauJetContainer.h"
#include "xAODTau/TauJetAuxContainer.h"
#include "xAODTau/TauDefs.h"
#include "xAODTau/TauJet.h"
#include "TrigEDMChecker.h"
#include "xAODTrigMinBias/TrigSpacePointCountsContainer.h"
#include "xAODTrigMinBias/TrigSpacePointCounts.h"
#include "xAODTrigMinBias/TrigT2MbtsBitsContainer.h"
#include "xAODTrigMinBias/TrigT2MbtsBits.h"
#include "xAODTrigMinBias/TrigVertexCountsContainer.h"
#include "xAODTrigMinBias/TrigVertexCounts.h"
#include "xAODTrigMinBias/TrigTrackCountsContainer.h"
#include "xAODTrigMinBias/TrigTrackCounts.h"
#include "TrigSteeringEvent/TrigRoiDescriptor.h"
#include "TrigRoiConversion/RoiSerialise.h"
#include "xAODTrigger/RoiDescriptorStore.h"
#include "TrigT1Interfaces/RecEmTauRoI.h"
#include "AthViews/ViewHelper.h"
#include "AthViews/View.h"
#include <iostream>
#include <fstream>
#include <queue>

Go to the source code of this file.

Functions

StatusCode TrigEDMChecker::do_execute ATLAS_NOT_THREAD_SAFE (const EventContext &ctx)
StatusCode TrigEDMChecker::dumpTrigMissingET ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options.

Variables

static const int maxRepWarnings = 5
 Adapted from code by A.Hamilton to check trigger EDM; R.Goncalo 21/11/07.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE() [1/2]

StatusCode TrigEDMChecker::dumpTrigMissingET ATLAS_NOT_THREAD_SAFE ( void )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Install fatal handler with default options.

Install fatal handler with default options.

getLorentzAngle() Read LorentzAngle from HIST and write out into local DB

getBSErrors() Read BSErrors from Monitoring HIST and write out into local DB

getEfficiency() Read Efficiency from Monitoring HIST and write out into local DB

getRawOccupancy() Read RawOccupancy from Monitoring HIST and write out into local DB

getNoiseOccupancy() Read NoiseOccupancy from HIST and write out into local DB

getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats

Install fatal handler with default options.

called at the end of each athena event (can be used for eg.

called at the beginning of each athena event (can be used for eg.

return the simulation service ID

resetting dynamic selectors)

>= 14.2.10 /// -------------------------—

up to 14.2.0 /// -------------------------—

Definition at line 892 of file TrigEDMChecker.cxx.

892 {
893
894 ATH_MSG_DEBUG("in dumpTrigMissingET()");
895
896 int ntag=3;
897 std::string METTags[]={"HLT_TrigMissingETContainer_TrigEFMissingET", "HLT_TrigMissingETContainer_TrigEFMissingET_FEB", "HLT_TrigMissingETContainer_TrigEFMissingET_topocl"};
898
900 for (int itag=0; itag < ntag; itag++) { // loop over L2, EF
901 const TrigMissingETContainer* trigMETcont;
902 StatusCode sc=evtStore()->retrieve(trigMETcont , METTags[itag]);
903 if( sc.isFailure() ){
904 ATH_MSG_INFO("Failed to retrieve TrigMissingETContainer with key " << METTags[itag]);
905 continue;
906 }
907
908 ATH_MSG_INFO("Got TrigMissingETContainer with key \"" << METTags[itag]<< "\"");
909
910 for (const TrigMissingET* met : *trigMETcont) {
911
912 ATH_MSG_INFO("REGTEST ==========START of TrigMissingET DUMP===========");
913
914 std::string s;
915 char buff[128];
916
917 snprintf(buff, sizeof(buff), "REGTEST %s Ex = %10.2f CLHEP::MeV", s.c_str(), met->ex() );
918 ATH_MSG_INFO(buff);
919 snprintf(buff, sizeof(buff), "REGTEST %s Ey = %10.2f CLHEP::MeV", s.c_str(), met->ey() );
920 ATH_MSG_INFO(buff);
921 snprintf(buff, sizeof(buff), "REGTEST %s Ez = %10.2f CLHEP::MeV", s.c_str(), met->ez() );
922 ATH_MSG_INFO(buff);
923 snprintf(buff, sizeof(buff), "REGTEST %s Et = %10.2f CLHEP::MeV", s.c_str(), met->et() );
924 ATH_MSG_INFO(buff);
925 snprintf(buff, sizeof(buff), "REGTEST %s SumEt = %10.2f CLHEP::MeV", s.c_str(), met->sumEt() );
926 ATH_MSG_INFO(buff);
927 snprintf(buff, sizeof(buff), "REGTEST %s SumE = %10.2f CLHEP::MeV", s.c_str(), met->sumE() );
928 ATH_MSG_INFO(buff);
929 snprintf(buff, sizeof(buff), "REGTEST %s E = %10.2f CLHEP::MeV", s.c_str(), met->e() );
930 ATH_MSG_INFO(buff);
931 snprintf(buff, sizeof(buff), "REGTEST %s flag = %10d", s.c_str(), met->getFlag() );
932 ATH_MSG_INFO(buff);
933 snprintf(buff, sizeof(buff), "REGTEST %s RoIword = %10ld", s.c_str(), met->RoIword() );
934 ATH_MSG_INFO(buff);
935
936 unsigned int Nc = met->getNumOfComponents();
937 if (Nc > 0) {
938 s="REGTEST __name____status_usedChannels__sumOfSigns__calib1_calib0";
939 s+="/MeV__ex/MeV_____ey/MeV_____ez/MeV___sumE/MeV__sumEt/CLHEP::MeV";
940 ATH_MSG_INFO(s);
941
942 for (unsigned int i=0; i<Nc; ++i) { // loop over components
943 std::string name = met->getNameOfComponent(i);
944 const short status = met->getStatus(i);
945 const unsigned short usedChan = met->getUsedChannels(i);
946 const short sumOfSigns = met->getSumOfSigns(i);
947 const float calib0 = met->getComponentCalib0(i);
948 const float calib1 = met->getComponentCalib1(i);
949 const float ex = met->getExComponent(i);
950 const float ey = met->getEyComponent(i);
951 const float ez = met->getEzComponent(i);
952 const float sumE = met->getSumEComponent(i);
953 const float sumEt = met->getSumEtComponent(i);
954
955 snprintf(buff, sizeof(buff),
956 "REGTEST %s %6d %12d %10d %6.2f %6.3f %10.2f %10.2f %10.2f %10.2f %10.2f",
957 name.c_str(), status, usedChan, sumOfSigns, calib1, calib0,
958 ex, ey, ez, sumE, sumEt);
959 ATH_MSG_INFO(buff);
960 } // loop over components
961 }
962 } // loop over TrigMissingET objects
963 } // loop over TrigMissingETContainers
964
965 // if( sc.isSuccess() ) return sc; // Commented out by FB (12.07.14)
966
968 ATH_MSG_INFO("Trying to fetch TrigMissingET objects from older releases");
969
970 SG::ConstIterator<TrigMissingET> trigMETfirst ,trigMETlast;
971 StatusCode sc=evtStore()->retrieve(trigMETfirst ,trigMETlast);
972 if( sc.isFailure() ){
973 ATH_MSG_INFO("Failed to retrieve TrigMissingET (rel. <= 14.2.0)");
974 }
975
976 for( ; trigMETfirst != trigMETlast ; ++trigMETfirst ){ // loop over TrigMissingET objects
977 const std::string& name(trigMETfirst.key());
978 ATH_MSG_INFO("Got TrigMissingET object with key \"" << name << "\"");
979
980 std::string s;
981 char buff[3000];
982
983 if( name.find("TrigEFMissingET") != std::string::npos ) {
984 s="REGTEST EF: ";
985 } else if( name.find("T2MissingET") != std::string::npos ){
986 s="REGTEST L2: ";
987 } else {
988 ATH_MSG_WARNING(" This is UNKNOWN! " << name);
989 s="REGTEST ??? ";
990 }
991
992 snprintf(buff, sizeof(buff), "%s Ex = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->ex() );
993 ATH_MSG_INFO(buff);
994 snprintf(buff, sizeof(buff), "%s Ey = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->ey() );
995 ATH_MSG_INFO(buff);
996 snprintf(buff, sizeof(buff), "%s Ez = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->ez() );
997 ATH_MSG_INFO(buff);
998 snprintf(buff, sizeof(buff), "%s Et = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->et() );
999 ATH_MSG_INFO(buff);
1000 snprintf(buff, sizeof(buff), "%s SumE = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->sumE() );
1001 ATH_MSG_INFO(buff);
1002 snprintf(buff, sizeof(buff), "%s SumEt = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->sumEt() );
1003 ATH_MSG_INFO(buff);
1004 snprintf(buff, sizeof(buff), "%s E = %10.2f CLHEP::MeV", s.c_str(), trigMETfirst->e() );
1005 ATH_MSG_INFO(buff);
1006 snprintf(buff, sizeof(buff), "%s flag = %10d", s.c_str(), trigMETfirst->getFlag() );
1007 ATH_MSG_INFO(buff);
1008 snprintf(buff, sizeof(buff), "%s RoIword = %10ld", s.c_str(), trigMETfirst->RoIword() );
1009 ATH_MSG_INFO(buff);
1010
1011 unsigned int Nc = trigMETfirst->getNumOfComponents();
1012 if (Nc > 0) {
1013 s="REGTEST __name____status_usedChannels__sumOfSigns__calib1_calib0";
1014 s+="/MeV__ex/MeV_____ey/MeV_____ez/MeV___sumE/MeV__sumEt/CLHEP::MeV";
1015 ATH_MSG_INFO(s);
1016
1017 for (unsigned int i=0; i<Nc; ++i) { // loop over components
1018 std::string name = trigMETfirst->getNameOfComponent(i);
1019 const short status = trigMETfirst->getStatus(i);
1020 const unsigned short usedChan = trigMETfirst->getUsedChannels(i);
1021 const short sumOfSigns = trigMETfirst->getSumOfSigns(i);
1022 const float calib0 = trigMETfirst->getComponentCalib0(i);
1023 const float calib1 = trigMETfirst->getComponentCalib1(i);
1024 const float ex = trigMETfirst->getExComponent(i);
1025 const float ey = trigMETfirst->getEyComponent(i);
1026 const float ez = trigMETfirst->getEzComponent(i);
1027 const float sumE = trigMETfirst->getSumEComponent(i);
1028 const float sumEt = trigMETfirst->getSumEtComponent(i);
1029
1030 snprintf(buff, sizeof(buff),
1031 "REGTEST %s %6d %12d %10d %6.2f %6.3f %10.2f %10.2f %10.2f %10.2f %10.2f",
1032 name.c_str(), status, usedChan, sumOfSigns, calib1, calib0,
1033 ex, ey, ez, sumE, sumEt);
1034 ATH_MSG_INFO(buff);
1035 } // loop over components
1036 }
1037 } // loop over TrigMissingET objects
1038
1039 ATH_MSG_INFO("REGTEST ==========END of TrigMissingET DUMP===========");
1040
1041 return StatusCode::SUCCESS;
1042}
#define ATH_MSG_INFO(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
static Double_t sc
a const_iterator facade to DataHandle.
Definition SGIterator.h:164
const std::string & key() const
Get the key string with which the current object was stored.
::StatusCode StatusCode
StatusCode definition for legacy code.
status
Definition merge.py:16

◆ ATLAS_NOT_THREAD_SAFE() [2/2]

StatusCode TrigEDMChecker::do_execute ATLAS_NOT_THREAD_SAFE ( const EventContext & ctx)

Definition at line 255 of file TrigEDMChecker.cxx.

255 {
256
257 ATH_MSG_INFO( " ==========START of event===========" );
258
259 if(m_doDumpTrackParticleContainer){
260 StatusCode sc = dumpTrackParticleContainer();
261 if (sc.isFailure()) {
262 ATH_MSG_ERROR("The method dumpTrackParticleContainer() failed");
263 }
264 }
265
266 if(m_doDumpAll || m_doDumpLVL1_ROI ){
267 StatusCode sc = dumpLVL1_ROI();
268 if (sc.isFailure()) {
269 ATH_MSG_ERROR("The method dumpLVL1_ROI() failed");
270 }
271 }
272
273 /*
274 if(m_doDumpAll || m_doDumpTrigMissingET){
275 StatusCode sc = dumpTrigMissingET();
276 if (sc.isFailure()) {
277 mLog << MSG::ERROR << "The method dumpTrigMissingET() failed" << endmsg;
278
279 }
280 }
281 */
282
283 if(m_doDumpAll || m_doDumpxAODTrigMissingET){
284 StatusCode sc = dumpxAODTrigMissingET();
285 if (sc.isFailure()) {
286 ATH_MSG_ERROR("The method dumpxAODTrigMissingET() failed");
287 }
288 }
289
290 if(m_doDumpAll || m_doDumpMuonFeature){
291 StatusCode sc = dumpMuonFeature();
292 if (sc.isFailure()) {
293 ATH_MSG_ERROR("The method dumpMuonFeature() failed");
294 }
295 }
296
297 if(m_doDumpAll || m_doDumpCombinedMuonFeature){
298 StatusCode sc = dumpCombinedMuonFeature();
299 if (sc.isFailure()) {
300 ATH_MSG_ERROR("The method dumpCombinedMuonFeature() failed");
301 }
302 sc = dumpCombinedMuonFeatureContainer();
303 if (sc.isFailure()) {
304 ATH_MSG_ERROR("The method dumpCombinedMuonFeatureContainer() failed");
305 return StatusCode::SUCCESS;
306 }
307 }
308
309 if(m_doDumpAll || m_doDumpTileMuFeature) {
310 StatusCode sc = dumpTileMuFeatureContainer();
311 if (sc.isFailure()) {
312 ATH_MSG_ERROR("The method dumpTileMuFeatureContainer() failed");
313 }
314 }
315
316 if(m_doDumpAll || m_doDumpTileTrackMuFeature) {
317 StatusCode sc = dumpTileTrackMuFeatureContainer();
318 if (sc.isFailure()) {
319 ATH_MSG_ERROR("The method dumpTileTrackMuFeatureContainer() failed");
320 }
321 }
322
323 if(m_doDumpAll || m_doDumpTrigEMCluster){
324 StatusCode sc = dumpTrigEMCluster();
325 if (sc.isFailure()) {
326 ATH_MSG_ERROR("The method dumpTrigEMCluster() failed");
327 }
328 }
329
330 if(m_doDumpAll || m_doDumpTrigEMClusterContainer){
331 StatusCode sc = dumpTrigEMClusterContainer();
332 if (sc.isFailure()) {
333 ATH_MSG_ERROR("The method dumpTrigEMClusterContainer() failed");
334 }
335 }
336
337 if(m_doDumpAll || m_doDumpxAODTrigEMCluster){
338 StatusCode sc = dumpxAODTrigEMCluster();
339 if (sc.isFailure()) {
340 ATH_MSG_ERROR("The method dumpxAODTrigEMCluster() failed");
341 }
342 }
343
344 if(m_doDumpAll || m_doDumpxAODTrigEMClusterContainer){
345 StatusCode sc = dumpxAODTrigEMClusterContainer();
346 if (sc.isFailure()) {
347 ATH_MSG_ERROR("The method dumpxAODTrigEMClusterContainer() failed");
348 }
349 }
350
351 if(m_doDumpTrigTauClusterContainer){
352 StatusCode sc = dumpTrigTauClusterContainer();
353 if (sc.isFailure()) {
354 ATH_MSG_ERROR("The method dumpTrigTauClusterContainer() failed");
355 }
356 }
357
358 if(m_doDumpAll || m_doDumpTrigPhotonContainer){
359 StatusCode sc = dumpTrigPhotonContainer();
360 if (sc.isFailure()) {
361 ATH_MSG_ERROR("The method dumpTrigPhotonContainer() failed");
362 }
363 }
364
365 if(m_doDumpAll || m_doDumpxAODJetContainer){
366 StatusCode sc = dumpxAODJetContainer();
367 if (sc.isFailure()) {
368 ATH_MSG_ERROR("The method dumpxAODJetContainer() failed");
369 }
370 }
371
372 if(m_doDumpAll || m_doDumpTrigL2BphysContainer){
373 StatusCode sc = dumpTrigL2BphysContainer();
374 if (sc.isFailure()) {
375 ATH_MSG_ERROR("The method dumpTrigL2BphysContainer() failed");
376 }
377 }
378
379 if(m_doDumpAll || m_doDumpTrigEFBphysContainer){
380 StatusCode sc = dumpTrigEFBphysContainer();
381 if (sc.isFailure()) {
382 ATH_MSG_ERROR("The method dumpTrigEFBphysContainer() failed");
383 }
384 }
385
386 if(m_doDumpAll || m_doDumpTrigEFBjetContainer){
387 StatusCode sc = dumpTrigEFBjetContainer();
388 if (sc.isFailure()) {
389 ATH_MSG_ERROR("The method dumpTrigEFBjetContainer() failed");
390 }
391 }
392
393 if(m_doDumpAll || m_doDumpTrigL2BjetContainer){
394 StatusCode sc = dumpTrigL2BjetContainer();
395 if (sc.isFailure()) {
396 ATH_MSG_ERROR("The method dumpTrigL2BjetContainer() failed");
397 }
398 }
399
400 if(m_doDumpAll || m_doDumpTrigMuonEFContainer){
401 StatusCode sc = dumpTrigMuonEFContainer();
402 if (sc.isFailure()) {
403 ATH_MSG_ERROR("The method dumpTrigMuonEFContainer() failed");
404 }
405 }
406
407 if(m_doDumpAll || m_doDumpTrigMuonEFInfoContainer){
408 StatusCode sc = dumpTrigMuonEFInfoContainer();
409 if (sc.isFailure()) {
410 ATH_MSG_ERROR("The method dumpTrigMuonEFInfoContainer() failed");
411 }
412 }
413
414 if(m_doDumpAll || m_doDumpTrigMuonEFIsolationContainer) {
415 StatusCode sc = dumpTrigMuonEFIsolationContainer();
416 if(sc.isFailure()) {
417 ATH_MSG_ERROR("The method dumpTrigMuonEFIsolationContainer() failed");
418 }
419 }
420
421 if(m_doDumpAll || m_doDumpxAODMuonContainer) {
422 StatusCode sc = dumpxAODMuonContainer();
423 if(sc.isFailure()) {
424 ATH_MSG_ERROR("The method dumpxAODMuonContainer() failed");
425 }
426 }
427
428 if(m_doDumpAll || m_doDumpTrigElectronContainer){
429 StatusCode sc = dumpTrigElectronContainer();
430 if (sc.isFailure()) {
431 ATH_MSG_ERROR("The method dumpTrigElectronContainer() failed");
432 }
433 }
434
435 if(m_doDumpAll || m_doDumpxAODTrigElectronContainer){
436 StatusCode sc = dumpxAODTrigElectronContainer();
437 if (sc.isFailure()) {
438 ATH_MSG_ERROR("The method dumpxAODTrigElectronContainer() failed");
439 }
440 }
441
442 if(m_doDumpAll || m_doDumpxAODTrigPhotonContainer){
443 StatusCode sc = dumpxAODTrigPhotonContainer();
444 if (sc.isFailure()) {
445 ATH_MSG_ERROR("The method dumpxAODTrigElectronContainer() failed");
446 }
447 }
448
449 if(m_doDumpAll || m_doDumpxAODElectronContainer){
450 StatusCode sc = dumpxAODElectronContainer();
451 if (sc.isFailure()) {
452 ATH_MSG_ERROR("The method dumpxAODTrigElectronContainer() failed");
453 }
454 }
455
456 if(m_doDumpAll || m_doDumpxAODPhotonContainer){
457 StatusCode sc = dumpxAODPhotonContainer();
458 if (sc.isFailure()) {
459 ATH_MSG_ERROR("The method dumpxAODTrigElectronContainer() failed");
460 }
461 }
462
463 if(m_doDumpTrigTauContainer){
464 StatusCode sc = dumpTrigTauContainer();
465 if (sc.isFailure()) {
466 ATH_MSG_ERROR("The method dumpTrigTauContainer() failed");
467 }
468 }
469
470 if(m_doDumpTrigTauTracksInfo){
471 StatusCode sc = dumpTrigTauTracksInfo();
472 if (sc.isFailure()) {
473 ATH_MSG_ERROR("The method dumpTrigTauTracksInfo() failed");
474 }
475 }
476
477 if(m_doDumpAll || m_doDumpHLTResult){
478 StatusCode sc = dumpHLTResult();
479 if (sc.isFailure()) {
480 ATH_MSG_ERROR("The method dumpHLTResult() failed");
481 }
482 }
483
484 if(m_doDumpAll || m_doDumpTrigVertexCollection){
485 StatusCode sc = dumpTrigVertexCollection();
486 if (sc.isFailure()) {
487 ATH_MSG_ERROR("The method dumpTrigVertexCollection() failed");
488 }
489 }
490
491 if(m_doDumpAll || m_doDumpxAODTauJetContainer){
492 StatusCode sc = dumpxAODTauJetContainer();
493 if (sc.isFailure()) {
494 ATH_MSG_ERROR("The method dumpxAODTauJetContainer() failed");
495 }
496 }
497
498 if(m_doDumpTauJetContainer){
499 StatusCode sc = dumpTauJetContainer();
500 if (sc.isFailure()) {
501 ATH_MSG_ERROR("The method dumpTauJetContainer() failed");
502 }
503 }
504
505 if(m_doDumpAll || m_doDumpxAODTrackParticle){
506 StatusCode sc = dumpxAODTrackParticle();
507 if (sc.isFailure()) {
508 ATH_MSG_ERROR("The method dumpxAODTrackParticle() failed");
509 }
510 }
511
512 if(m_doDumpAll || m_doDumpxAODVertex){
513 StatusCode sc = dumpxAODVertex();
514 if (sc.isFailure()) {
515 ATH_MSG_ERROR("The method dumpxAODVertex() failed");
516 }
517 }
518
519 if (m_doDumpAll || m_doDumpxAODTrigMinBias){
520 StatusCode sc = dumpxAODTrigMinBias();
521 if (sc.isFailure()) {
522 ATH_MSG_ERROR("The method dumpxAODTrigMinBias() failed");
523 }
524 }
525
526 if (m_doDumpTrigPassBits){
527 StatusCode sc = dumpTrigPassBits();
528 if (sc.isFailure()) {
529 ATH_MSG_ERROR("The method dumpTrigPassBits() failed");
530 }
531 }
532
533 if (m_doDumpAll || m_doDumpStoreGate) {
534 ATH_MSG_DEBUG(evtStore()->dump());
535 }
536
537 if (m_doDumpAll || m_doDumpNavigation) {
538 StatusCode sc = dumpNavigation(ctx);
539 if ( sc.isFailure() ) {
540 ATH_MSG_ERROR("The method dumpNavigation() failed");
541 }
542 }
543
544 if (m_doDumpAll || m_doTDTCheck) {
545 ATH_CHECK(dumpTDT());
546 }
547
548 if (m_doDumpAll || m_doDumpAllTrigComposite || m_dumpTrigCompositeContainers.size() > 0) {
549 ATH_CHECK( dumpTrigComposite() );
550 }
551
552 if (m_doDumpAll || m_doDumpTrigCompsiteNavigation) {
553 std::string trigCompositeSteering;
554 bool pass;
555 ATH_CHECK(TrigCompositeNavigationToDot(trigCompositeSteering, pass));
556 const std::string evtNumber = std::to_string(ctx.eventID().event_number());
557 const std::string passStr = (pass ? "Pass" : "Fail");
558 std::ofstream ofile(std::string("NavGraph_" + m_dumpNavForChain + "_Ev" + evtNumber + "_" + passStr + ".dot").c_str());
559 ofile << trigCompositeSteering;
560 }
561
562
563
564 ATH_MSG_INFO( " ==========END of event===========" );
565 return StatusCode::SUCCESS;
566
567}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
-event-from-file

Variable Documentation

◆ maxRepWarnings

const int maxRepWarnings = 5
static

Adapted from code by A.Hamilton to check trigger EDM; R.Goncalo 21/11/07.

Definition at line 107 of file TrigEDMChecker.cxx.