/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/AssociationUtils/util/OverlapRemovalTesterLegacy.cxx File Reference

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")

Detailed Description

Contains RootCore testing code for the legacy OverlapRemovalTool. It is recommended to use instead the more advanced set of tools demonstrated in OverlapRemovalTester.cxx.

Author:
Steve Farrell <Steven.Farrell@cern.ch>

Define Documentation

#define CHECK ( ARG   ) 
Value:
do {                                               \
    const bool result = ARG;                         \
    if(!result) {                                    \
      ::Error(APP_NAME, "Failed to execute: \"%s\"", \
              #ARG );                                \
      return 1;                                      \
    }                                                \
  } while( false )
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1