ATLAS Offline Software
CaloTag.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCOMBINEDEVENT_CALOTAG_H
6 #define MUONCOMBINEDEVENT_CALOTAG_H
7 
8 #include <vector>
9 
13 
14 namespace MuonCombined {
15 
17  class CaloTag : public TagBase, public Trk::EnergyLoss {
18  public:
30  enum EnergyLossType { Parametrized = 0, NotIsolated = 1, MOP = 2, Tail = 3, FSRcandidate = 4 };
31 
33  CaloTag(void);
34 
36  CaloTag(const Trk::EnergyLoss& eloss);
37 
38  CaloTag(xAOD::Muon::Author author, float deltaE, float sigmaDeltaE, float sigmaMinusDeltaE = 0.0, float sigmaPlusDeltaE = 0.0,
39  unsigned short energyLossType = 0, float likelihood = 0, float muonScore = 0, unsigned short tag = 0);
40 
43  unsigned short energyLossType, float likelihood, float muonScore, unsigned short tag,
44  const std::vector<DepositInCalo>& deposits);
45 
48 
50  std::string name() const { return "CaloTag"; }
51 
53  std::string toString() const { return name(); }
58 
60  unsigned short caloMuonIdTag() const { return m_caloMuonIdTag; }
61 
63  double caloLRLikelihood() const { return m_caloLRLikelihood; }
64 
66  double caloMuonScore() const { return m_caloMuonScore; }
67 
69  const std::vector<DepositInCalo>& depositInCalo() const { return m_deposits; }
70 
72  float fsrCandidateEnergy() const { return m_fsrCandidateEnergy; }
73 
75  float etCore() const { return m_etCore; }
76 
80  void set_energyLossType(const CaloTag::EnergyLossType lossType) { m_energyLossType = lossType; }
81 
83  void set_caloLRLikelihood(const float likelihood) { m_caloLRLikelihood = likelihood; }
84 
86  void set_caloMuonScore(const float muonScore) { m_caloMuonScore = muonScore; }
87 
89  void set_caloMuonIdTag(unsigned short tag) { m_caloMuonIdTag = tag; }
90 
92  void set_deposits(const std::vector<DepositInCalo>& deposits) { m_deposits = deposits; }
93 
95  void insert_deposit(const DepositInCalo& deposit) { m_deposits.push_back(deposit); }
96 
99 
101  void set_etCore(const float etcore) { m_etCore = etcore; }
102 
104  Author author2() const { return m_author2; }
105 
107  Author author3() const { return m_author3; }
108 
111 
114 
115  private:
117  CaloTag(const CaloTag&) = delete;
118  CaloTag& operator=(const CaloTag&) = delete;
119 
125  unsigned short m_caloMuonIdTag;
127  std::vector<DepositInCalo> m_deposits;
128  float m_etCore; // summed cell ET in core DeltaR
129  Author m_author2; // in case of tag by more than one algorithm
130  Author m_author3; // in case of tag by all three algorithms
131  };
133 
134  // should be blocked ?
135  // inline CaloTag* CaloTag::clone() const
136  // { return new CaloTag(*this); }
137 
138 } // namespace MuonCombined
139 
140 #endif
Trk::EnergyLoss::sigmaMinusDeltaE
double sigmaMinusDeltaE() const
returns the negative side
MuonCombined::CaloTag::m_deposits
std::vector< DepositInCalo > m_deposits
Definition: CaloTag.h:127
EnergyLoss.h
MuonCombined::CaloTag::operator=
CaloTag & operator=(const CaloTag &)=delete
MuonCombined::CaloTag::m_fsrCandidateEnergy
float m_fsrCandidateEnergy
Definition: CaloTag.h:126
MuonCombined::CaloTag::m_author2
Author m_author2
Definition: CaloTag.h:129
MuonCombined::CaloTag::set_caloLRLikelihood
void set_caloLRLikelihood(const float likelihood)
set the likelihood
Definition: CaloTag.h:83
MuonCombined::TagBase::Author
xAOD::Muon::Author Author
Definition: TagBase.h:52
MuonCombined::CaloTag::caloMuonIdTag
unsigned short caloMuonIdTag() const
the Calo Muon Identification tag
Definition: CaloTag.h:60
MuonCombined::CaloTag::set_etCore
void set_etCore(const float etcore)
isolation ET in core deltaR
Definition: CaloTag.h:101
MuonCombined::CaloTag::Tail
@ Tail
Definition: CaloTag.h:30
MuonCombined::CaloTag::set_author2
void set_author2(const Author author2)
set the secondary author
Definition: CaloTag.h:110
Trk::EnergyLoss::sigmaDeltaE
double sigmaDeltaE() const
returns the symmatric error
MuonCombined::CaloTag::set_author3
void set_author3(const Author author3)
set the third author
Definition: CaloTag.h:113
MuonCombined::CaloTag::fsrCandidateEnergy
float fsrCandidateEnergy() const
FSR Candidate Energy.
Definition: CaloTag.h:72
MuonCombined::CaloTag::depositInCalo
const std::vector< DepositInCalo > & depositInCalo() const
the vector of detailed deposits in calo layers
Definition: CaloTag.h:69
MuonCombined::CaloTag::insert_deposit
void insert_deposit(const DepositInCalo &deposit)
insert a deposit
Definition: CaloTag.h:95
MuonCombined::CaloTag::set_energyLossType
void set_energyLossType(const CaloTag::EnergyLossType lossType)
set methods
Definition: CaloTag.h:80
MuonCombined::CaloTag::name
std::string name() const
name string
Definition: CaloTag.h:50
MuonCombined::CaloTag::CaloTag
CaloTag(void)
default constructor - to be used only for persistency
Definition: CaloTag.cxx:10
MuonCombined::CaloTag::set_caloMuonScore
void set_caloMuonScore(const float muonScore)
set the calo muon score
Definition: CaloTag.h:86
MuonCombined::CaloTag::CaloTag
CaloTag(const CaloTag &)=delete
block copy and assignment
MuonCombined::CaloTag::set_fsrCandidateEnergy
void set_fsrCandidateEnergy(const float fs)
FSR Candidate Energy.
Definition: CaloTag.h:98
MuonCombined::CaloTag::~CaloTag
~CaloTag()
destructor
MuonCombined::CaloTag::set_deposits
void set_deposits(const std::vector< DepositInCalo > &deposits)
set the detailed energy deposits in the calorimeter layers
Definition: CaloTag.h:92
MuonCombined::CaloTag::Parametrized
@ Parametrized
Definition: CaloTag.h:30
MuonCombined::CaloTag::EnergyLossType
EnergyLossType
Calo Energy Loss Type Parametrized : reconstruction configured to use the parametrization w/o looking...
Definition: CaloTag.h:30
MuonCombined::CaloTag::caloMuonScore
double caloMuonScore() const
the calo Muon score
Definition: CaloTag.h:66
MuonCombined::CaloTag::FSRcandidate
@ FSRcandidate
Definition: CaloTag.h:30
MuonCombined::CaloTag::m_etCore
float m_etCore
Definition: CaloTag.h:128
MuonCombined::CaloTag::m_caloMuonScore
float m_caloMuonScore
Definition: CaloTag.h:124
MuonCombined::CaloTag::etCore
float etCore() const
isolation ET in core deltaR
Definition: CaloTag.h:75
MuonCombined::TagBase::author
Author author() const
access to Muon Author
Definition: TagBase.h:58
Trk::EnergyLoss::deltaE
double deltaE() const
returns the
DepositInCalo.h
MuonCombined::CaloTag::m_caloLRLikelihood
float m_caloLRLikelihood
Definition: CaloTag.h:123
MuonCombined::CaloTag::MOP
@ MOP
Definition: CaloTag.h:30
DepositInCalo
class describing the measured energy loss associated to muons on the detector level,...
Definition: DepositInCalo.h:23
MuonCombined::CaloTag::author2
Author author2() const
access to secondary author
Definition: CaloTag.h:104
MuonCombined::CaloTag::m_energyLossType
EnergyLossType m_energyLossType
data content
Definition: CaloTag.h:122
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition: EnergyLoss.h:34
MuonCombined::CaloTag
TagBase implementation for a calo tag.
Definition: CaloTag.h:17
MuonCombined::CaloTag::caloLRLikelihood
double caloLRLikelihood() const
the calo Muon Identification likehood
Definition: CaloTag.h:63
MuonCombined::CaloTag::author3
Author author3() const
access to third author
Definition: CaloTag.h:107
MuonCombined::CaloTag::toString
std::string toString() const
print content to string
Definition: CaloTag.h:53
TagBase.h
MuonCombined::CaloTag::NotIsolated
@ NotIsolated
Definition: CaloTag.h:30
MuonCombined
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
Definition: IMuonSystemExtensionTool.h:23
Herwig7_QED_EvtGen_ll.fs
dictionary fs
Definition: Herwig7_QED_EvtGen_ll.py:17
MuonCombined::CaloTag::set_caloMuonIdTag
void set_caloMuonIdTag(unsigned short tag)
set the tag
Definition: CaloTag.h:89
MuonCombined::CaloTag::m_author3
Author m_author3
Definition: CaloTag.h:130
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
ParticleJetParams::Author
Author
Definition: ParticleJetParamDefs.h:33
MuonCombined::CaloTag::m_caloMuonIdTag
unsigned short m_caloMuonIdTag
Definition: CaloTag.h:125
Trk::EnergyLoss::sigmaPlusDeltaE
double sigmaPlusDeltaE() const
returns the positive side
MuonCombined::TagBase
base-class for combined reconstruction output Provides access to MuonType and Author
Definition: TagBase.h:48
MuonCombined::CaloTag::energyLossType
CaloTag::EnergyLossType energyLossType(void) const
Accessor methods.
Definition: CaloTag.h:132