Skip to content
Snippets Groups Projects

Add a new functor that stores the MC_ORIGINFLAG (i.e. a flavour tag type)

Merged Sara Celani requested to merge scelani_originFlag_functor into master
Files
5
/*****************************************************************************\
* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
* *
* This software is distributed under the terms of the GNU General Public *
* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
* *
* In applying this licence, CERN does not waive the privileges and immunities *
* granted to it by virtue of its status as an Intergovernmental Organization *
* or submit itself to any jurisdiction. *
\*****************************************************************************/
#pragma once
#include "GaudiKernel/IAlgTool.h"
// from LHCb
#include "Event/MCParticle.h"
enum originTagCodes {
signal_B = 0,
SS_fragm = 1,
OS_decay = 2,
OS_excitedB = 3,
OS_bfragm = 4,
prompt = 5,
rest = 6,
error_notsamePV = 100
};
struct GAUDI_API IMCTaggingHelperTool : extend_interfaces<IAlgTool> {
DeclareInterfaceID( IMCTaggingHelperTool, 3, 0 );
virtual originTagCodes originType( const LHCb::MCParticle& bMC, const LHCb::MCParticle& bAnMC,
const LHCb::MCParticle& tMC ) const = 0;
virtual originTagCodes originType( const LHCb::MCParticle& bMC, const LHCb::MCParticle& tMC ) const = 0;
};
Loading