1 // Dear emacs, this is -*- c++ -*-
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
7 // $Id: DiTauJetAccessors_v1.icc 631921 2015-09-23 23:30:59Z dkirchme $
9 #ifndef XAODDITAU_DITAUACCESSORS_V1_ICC
10 #define XAODDITAU_DITAUACCESSORS_V1_ICC
15 #define DEFINE_DITAUJETPARAMETER_ACCESSOR(TYPE, NAME ) \
16 case xAOD::DiTauJetParameters::NAME: \
18 static const SG::AuxElement::Accessor< TYPE > a( #NAME ); \
24 template <> const SG::AuxElement::Accessor< float >* detailsAccessorV1<float>( xAOD::DiTauJetParameters::Detail detail ) {
27 DEFINE_DITAUJETPARAMETER_ACCESSOR( float, TauJetVtxFraction );
29 DEFINE_DITAUJETPARAMETER_ACCESSOR( float, R_jet );
30 DEFINE_DITAUJETPARAMETER_ACCESSOR( float, R_subjet );
31 DEFINE_DITAUJETPARAMETER_ACCESSOR( float, R_core );
32 DEFINE_DITAUJETPARAMETER_ACCESSOR( float, BDT );
35 std::cerr << "xAOD::DiTauJetParameters ERROR Unknown float detail ("
36 << detail << ") requested" << std::endl;
41 template <> const SG::AuxElement::Accessor< int >* detailsAccessorV1<int>( xAOD::DiTauJetParameters::Detail detail ) {
45 // DEFINE_DITAUJETPARAMETER_ACCESSOR( int, nCharged );
48 std::cerr << "xAOD::DiTauJetParameters ERROR Unknown integer detail ("
49 << detail << ") requested" << std::endl;
55 #endif // XAODDITAU_DITAUJETACCESSORS_V1_ICC