From 65c9d70320c7eb5c9df9367a3f3693b74d7513af Mon Sep 17 00:00:00 2001 From: Sven Menke <Sven.Menke@cern.ch> Date: Mon, 30 Jan 2017 15:51:25 +0100 Subject: [PATCH] added cell-based mass as cluster moment MASS (xAODCaloEvent-00-01-30) * New ClusterMoment MASS * Root/CaloClusterAccessors_v1.cxx * xAODCaloEvent/versions/CaloCluster_v1.h * tag xAODCaloEvent-00-01-30 Former-commit-id: b94949b3a0cd0e322ecfeaeb16b97ce1868ca341 --- Event/xAOD/xAODCaloEvent/Root/CaloClusterAccessors_v1.cxx | 3 ++- .../xAODCaloEvent/xAODCaloEvent/versions/CaloCluster_v1.h | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Event/xAOD/xAODCaloEvent/Root/CaloClusterAccessors_v1.cxx b/Event/xAOD/xAODCaloEvent/Root/CaloClusterAccessors_v1.cxx index f058be04ff0..3238e8bc1b5 100644 --- a/Event/xAOD/xAODCaloEvent/Root/CaloClusterAccessors_v1.cxx +++ b/Event/xAOD/xAODCaloEvent/Root/CaloClusterAccessors_v1.cxx @@ -2,7 +2,7 @@ Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ -// $Id: CaloClusterAccessors_v1.cxx 727661 2016-03-04 12:35:27Z menke $ +// $Id: CaloClusterAccessors_v1.cxx 794609 2017-01-30 15:51:25Z menke $ // System include(s): #include <iostream> @@ -55,6 +55,7 @@ namespace xAOD { DEFINE_ACCESSOR( N_BAD_HV_CELLS ); DEFINE_ACCESSOR( SIGNIFICANCE ); DEFINE_ACCESSOR( PTD ); + DEFINE_ACCESSOR( MASS ); DEFINE_ACCESSOR( CELL_SIGNIFICANCE ); DEFINE_ACCESSOR( CELL_SIG_SAMPLING ); DEFINE_ACCESSOR( AVG_LAR_Q ); diff --git a/Event/xAOD/xAODCaloEvent/xAODCaloEvent/versions/CaloCluster_v1.h b/Event/xAOD/xAODCaloEvent/xAODCaloEvent/versions/CaloCluster_v1.h index d0cd53363a1..e28fe6e469c 100644 --- a/Event/xAOD/xAODCaloEvent/xAODCaloEvent/versions/CaloCluster_v1.h +++ b/Event/xAOD/xAODCaloEvent/xAODCaloEvent/versions/CaloCluster_v1.h @@ -4,7 +4,7 @@ Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ -// $Id: CaloCluster_v1.h 783594 2016-11-11 05:03:25Z ssnyder $ +// $Id: CaloCluster_v1.h 794609 2017-01-30 15:51:25Z menke $ #ifndef XAODCALOEVENT_VERSIONS_CALOCLUSTER_V1_H #define XAODCALOEVENT_VERSIONS_CALOCLUSTER_V1_H @@ -47,8 +47,8 @@ namespace xAOD { /// @author Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch> /// @author Walter Lampl <Walter.Lampl@cern.ch> /// - /// $Revision: 783594 $ - /// $Date: 2016-11-11 06:03:25 +0100 (Fri, 11 Nov 2016) $ + /// $Revision: 794609 $ + /// $Date: 2017-01-30 16:51:25 +0100 (Mon, 30 Jan 2017) $ /// class CaloCluster_v1 : public IParticle { friend class ::CaloClusterChangeSignalState; @@ -144,6 +144,8 @@ namespace xAOD { N_BAD_HV_CELLS = 829, ///< number of cells with bad HV /// relative spread of pT of constiuent cells = sqrt(n)*RMS/Mean PTD = 830, + /// cell based mass i.e. the mass of the 4-vector sum of all massless positive energetic cells + MASS = 831, EM_PROBABILITY = 900, ///< Classification probability to be em-like HAD_WEIGHT = 901, ///< Hadronic weight (E_w/E_em) OOC_WEIGHT = 902, ///< Out-of-cluster weight (E_ooc/E_w) -- GitLab