/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.29/AssociationUtils/util/OverlapRemovalTester.cxx File Reference

Contains RootCore testing code for the overlap removal tools. More...

#include <memory>
#include "boost/program_options.hpp"
#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/OverlapRemovalInit.h"
#include "AssociationUtils/OverlapRemovalDefs.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

const bool outputPassValue = false
const std::string inputLabel = "selected"
const std::string outputLabel = outputPassValue? "passOR" : "overlaps"
const std::string bJetLabel = "isBJet"
const ort::inputAccessor_t selectAcc (inputLabel)
const ort::inputDecorator_t selectDec (inputLabel)
const ort::outputAccessor_t overlapAcc (outputLabel)
const ort::inputDecorator_t bJetDec (bJetLabel)
const ort::objLinkAccessor_t objLinkAcc ("overlapObject")

Detailed Description

Contains RootCore testing code for the overlap removal tools.

At the beginning you will find some global accessors/decorators and selection functions. These are just for convenience and roughly simulate a "standard" object selection.

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 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1