Contains RootCore testing code for the legacy OverlapRemovalTool. It is recommended to use instead the more advanced set of tools demonstrated in OverlapRemovalTester.cxx. More...
#include <memory>
#include <cstdlib>
#include "TFile.h"
#include "TError.h"
#include "TString.h"
#include "xAODEventInfo/EventInfo.h"
#include "xAODEgamma/ElectronContainer.h"
#include "xAODMuon/MuonContainer.h"
#include "xAODJet/JetContainer.h"
#include "xAODTau/TauJetContainer.h"
#include "xAODEgamma/PhotonContainer.h"
#include "AssociationUtils/OverlapRemovalTool.h"
Defines | |
#define | CHECK(ARG) |
Functions | |
template<class ContainerType > | |
void | selectObjects (const ContainerType *container) |
template<> | |
void | selectObjects< xAOD::JetContainer > (const xAOD::JetContainer *jets) |
template<> | |
void | selectObjects< xAOD::TauJetContainer > (const xAOD::TauJetContainer *taus) |
void | printObj (const char *APP_NAME, const char *type, const xAOD::IParticle *obj) |
int | main (int argc, char *argv[]) |
Variables | |
ort::inputAccessor_t | selectAcc ("selected") |
ort::inputDecorator_t | selectDec ("selected") |
ort::outputAccessor_t | overlapAcc ("overlaps") |
ort::inputDecorator_t | bJetDec ("isBJet") |
ort::objLinkAccessor_t | objLinkAcc ("overlapObject") |
Contains RootCore testing code for the legacy OverlapRemovalTool. It is recommended to use instead the more advanced set of tools demonstrated in OverlapRemovalTester.cxx.
#define CHECK | ( | ARG | ) |
do { \ const bool result = ARG; \ if(!result) { \ ::Error(APP_NAME, "Failed to execute: \"%s\"", \ #ARG ); \ return 1; \ } \ } while( false )