ATLAS Offline Software
SoftElectronInfo.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /********************************************************************
6 
7 NAME: SoftElectronInfo.cxx
8 PACKAGE: offline/PhysicsAnalysis/BTaggingID/BTaggingUtils
9 
10 AUTHORS: F. Derue, A. Kaczmarska, M. Wolter
11 CREATED: Nov 2005
12 
13 PURPOSE: EDM for b-tagging based on soft lepton identification
14 
15 COMMENTS: evolved from BJetLifetimeInfo
16 
17 UPDATE:
18 
19 ********************************************************************/
20 
22 
23 namespace Analysis
24 {
25 
28  : BaseTagInfo(),
29  m_nTrackProb(0),
30  m_trackinfo()
31 {
32 
33 }
34 
36 SoftElectronInfo::SoftElectronInfo(const TagInfoType& tagJetInfoType) : BaseTagInfo(tagJetInfoType),
37  m_vectorOfTrackProb(std::vector<double>()),
38  m_nTrackProb(-1.), m_trackinfo()
39 
40 {
41  m_vectorOfTrackProb.clear();
42  m_trackinfo.clear();
43 }
44 
48 SoftElectronInfo::SoftElectronInfo(const SoftElectronInfo& rhs) : BaseTagInfo(rhs),
49  m_vectorOfTrackProb(rhs.m_vectorOfTrackProb),
50  m_nTrackProb(rhs.m_nTrackProb), m_trackinfo(rhs.m_trackinfo)
51 
52 {}
53 
55 SoftElectronInfo& SoftElectronInfo::operator= (const SoftElectronInfo& rhs)
56 {
57  if (this!=&rhs)
58  {
59  m_trackinfo=rhs.m_trackinfo;
60  m_tagLikelihood=rhs.m_tagLikelihood;
61  m_vectorOfTrackProb=rhs.m_vectorOfTrackProb;
62  m_nTrackProb=rhs.m_nTrackProb;
63  m_tagJetInfoType=rhs.m_tagJetInfoType;
64 
65  }
66  return *this;
67 }
68 
70 SoftElectronInfo::~SoftElectronInfo()
71 {}
72 
73 }
74 
Analysis::BaseTagInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition: BaseTagInfo.h:75
Analysis::SoftElectronInfo::m_trackinfo
std::vector< SETrackInfo > m_trackinfo
Definition: SoftElectronInfo.h:88
Analysis::SoftElectronInfo
Definition: SoftElectronInfo.h:47
SoftElectronInfo.h
vector
Definition: MultiHisto.h:13
Analysis::SoftElectronInfo::SoftElectronInfo
SoftElectronInfo()
default constructor
Definition: SoftElectronInfo.cxx:41
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition: BaseTagInfo.h:40
Analysis::TagInfoType
std::string TagInfoType
Definition: JetTagInfoBase.h:19
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
Analysis::SoftElectronInfo::m_vectorOfTrackProb
FloatVec m_vectorOfTrackProb
Definition: SoftElectronInfo.h:86
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::SoftElectronInfo::m_nTrackProb
double m_nTrackProb
Definition: SoftElectronInfo.h:87
Analysis::BaseTagInfo::m_tagJetInfoType
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
Definition: BaseTagInfo.h:77