ATLAS Offline Software
TauShot.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
26 #ifndef TAUSHOT_H
27 #define TAUSHOT_H
28 
29 // includes for inheritance
30 #include "FourMom/P4PtEtaPhiM.h"
31 #include "Navigation/Navigable.h"
34 
35 // includes for datamembers
36 #include "CaloEvent/CaloClusterContainer.h"
38 #include "AthLinks/ElementLink.h"
39 
40 
41 namespace Analysis
42 {
43  class TauShot :
44  virtual public INavigable4Momentum,
45  public P4PtEtaPhiM,
47 
48  {
49  public:
50 
53  TauShot();
54 
58  //TauShot( const CaloCluster* cluster );
59 
61  TauShot(const TauShot &);
62 
64  TauShot &operator= (const TauShot &);
65 
67  bool operator== (const TauShot &) const;
68 
70  virtual ~TauShot();
71 
73  void print() const;
74 
77 
79  void setSeedCell( const CaloCell*, const CaloCellContainer*);
80 
81  // setters for other custom variables
82  void setNCellsInEta(int);
83  void setpt1(float);
84  void setpt3(float);
85  void setpt5(float);
86  void setws5(float);
87  void setsdevEta5_WRTmean(float);
88  void setsdevEta5_WRTmode(float);
89  void setsdevPt5(float);
90  void setdeltaPt12_min(float);
91  void setFside_3not1(float);
92  void setFside_5not1(float);
93  void setFside_5not3(float);
94  void setfracSide_3not1(float);
95  void setfracSide_5not1(float);
96  void setfracSide_5not3(float);
97  void setpt1OverPt3(float);
98  void setpt3OverPt5(float);
99  void setmergedScore(float);
100  void setsignalScore(float);
101  void setNPhotons(int);
102 
104  const CaloCluster* cluster() const;
105 
109 
111  const CaloCell* seedCell() const;
112 
116 
118  int nCellsInEta() const;
119  float pt1() const;
120  float pt3() const;
121  float pt5() const;
122  float ws5() const;
123  float sdevEta5_WRTmean() const;
124  float sdevEta5_WRTmode() const;
125  float sdevPt5() const;
126  float deltaPt12_min() const;
127  float Fside_3not1() const;
128  float Fside_5not1() const;
129  float Fside_5not3() const;
130  float fracSide_3not1() const;
131  float fracSide_5not1() const;
132  float fracSide_5not3() const;
133  float pt1OverPt3() const;
134  float pt3OverPt5() const;
135  float mergedScore() const;
136  float signalScore() const;
137  int nPhotons() const;
138 
140  std::vector<std::vector<const CaloCell*> > getCellVector(const CaloCell_ID* /*calo_id*/) const;
141 
142 private:
143 
146 
149 
152  float m_pt1;
153  float m_pt3;
154  float m_pt5;
155  float m_ws5;
158  float m_sdevPt5;
171  };
172 } // end of namespace Analysis
173 
174 // inline member function declarations
175 #include "TauShot.icc"
176 
177 
178 
179 #endif // TAUSHOT_H
Analysis::TauShot::fracSide_3not1
float fracSide_3not1() const
Analysis::TauShot::m_seedCell
ElementLink< CaloCellContainer > m_seedCell
pointer to seed cell
Definition: TauShot.h:148
Analysis::TauShot::setCluster
void setCluster(const CaloCluster *, const CaloClusterContainer *)
set cluster
TauShot.icc
Analysis::TauShot::fracSide_5not3
float fracSide_5not3() const
Analysis::TauShot::sdevEta5_WRTmean
float sdevEta5_WRTmean() const
Analysis::TauShot::clusterLink
const ElementLink< CaloClusterContainer > & clusterLink() const
element link to cluster
Analysis::TauShot::m_Fside_5not1
float m_Fside_5not1
Definition: TauShot.h:161
INavigable4Momentum.h
Analysis::TauShot::seedCellLink
const ElementLink< CaloCellContainer > & seedCellLink() const
element link to seed cell
Analysis::TauShot::setsdevPt5
void setsdevPt5(float)
Analysis::TauShot::setpt3
void setpt3(float)
Analysis::TauShot::setsignalScore
void setsignalScore(float)
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
Analysis::TauShot::m_pt3
float m_pt3
Definition: TauShot.h:153
Analysis::TauShot::deltaPt12_min
float deltaPt12_min() const
NavigableTerminalNode
Dummy type needed fro specialized implementation.
Definition: NavigableTerminalNode.h:19
Analysis::TauShot::Fside_5not3
float Fside_5not3() const
Analysis::TauShot::seedCell
const CaloCell * seedCell() const
pointer to seed cell
Analysis::TauShot::nPhotons
int nPhotons() const
Analysis::TauShot::m_ws5
float m_ws5
Definition: TauShot.h:155
Analysis::TauShot::pt1
float pt1() const
Analysis::TauShot::setpt1
void setpt1(float)
Analysis::TauShot::m_sdevEta5_WRTmode
float m_sdevEta5_WRTmode
Definition: TauShot.h:157
Analysis::TauShot::setNCellsInEta
void setNCellsInEta(int)
Analysis::TauShot::m_pt5
float m_pt5
Definition: TauShot.h:154
Analysis::TauShot::pt3
float pt3() const
Analysis::TauShot::setfracSide_5not3
void setfracSide_5not3(float)
Analysis::TauShot::signalScore
float signalScore() const
Analysis::TauShot::m_Fside_5not3
float m_Fside_5not3
Definition: TauShot.h:162
Analysis::TauShot::setws5
void setws5(float)
CaloCell_ID.h
Analysis::TauShot::m_mergedScore
float m_mergedScore
Definition: TauShot.h:168
Analysis::TauShot::setdeltaPt12_min
void setdeltaPt12_min(float)
Analysis::TauShot::setSeedCell
void setSeedCell(const CaloCell *, const CaloCellContainer *)
set seed cell
Analysis::TauShot::pt3OverPt5
float pt3OverPt5() const
Analysis::TauShot::m_cluster
ElementLink< CaloClusterContainer > m_cluster
element link to cluster
Definition: TauShot.h:145
Analysis::TauShot::m_pt3OverPt5
float m_pt3OverPt5
Definition: TauShot.h:167
Analysis::TauShot::setFside_5not1
void setFside_5not1(float)
Analysis::TauShot::setsdevEta5_WRTmean
void setsdevEta5_WRTmean(float)
Analysis::TauShot
Definition: TauShot.h:48
Analysis::TauShot::setFside_5not3
void setFside_5not3(float)
Analysis::TauShot::cluster
const CaloCluster * cluster() const
pointer to CaloCluster
Analysis::TauShot::operator==
bool operator==(const TauShot &) const
Comparison operator.
Definition: TauShot.cxx:105
Analysis::TauShot::m_Fside_3not1
float m_Fside_3not1
Definition: TauShot.h:160
Analysis::TauShot::setpt1OverPt3
void setpt1OverPt3(float)
Analysis::TauShot::sdevEta5_WRTmode
float sdevEta5_WRTmode() const
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
Analysis::TauShot::m_fracSide_3not1
float m_fracSide_3not1
Definition: TauShot.h:163
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
Analysis::TauShot::m_sdevEta5_WRTmean
float m_sdevEta5_WRTmean
Definition: TauShot.h:156
Analysis::TauShot::seedCellLink
ElementLink< CaloCellContainer > & seedCellLink()
Analysis::TauShot::setFside_3not1
void setFside_3not1(float)
Analysis::TauShot::fracSide_5not1
float fracSide_5not1() const
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TauShot::setfracSide_3not1
void setfracSide_3not1(float)
Analysis::TauShot::m_signalScore
float m_signalScore
Definition: TauShot.h:169
Analysis::TauShot::Fside_3not1
float Fside_3not1() const
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
Analysis::TauShot::clusterLink
ElementLink< CaloClusterContainer > & clusterLink()
Analysis::TauShot::setpt5
void setpt5(float)
Navigable.h
Analysis::TauShot::nCellsInEta
int nCellsInEta() const
other custom variable getters
Analysis::TauShot::pt5
float pt5() const
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
P4PtEtaPhiM.h
INavigable4Momentum
Definition: INavigable4Momentum.h:21
Analysis::TauShot::ws5
float ws5() const
Analysis::TauShot::print
void print() const
print method
Definition: TauShot.cxx:241
Analysis::TauShot::m_nCellsInEta
int m_nCellsInEta
other shot variables
Definition: TauShot.h:151
Analysis::TauShot::setNPhotons
void setNPhotons(int)
Analysis::TauShot::mergedScore
float mergedScore() const
Analysis::TauShot::getCellVector
std::vector< std::vector< const CaloCell * > > getCellVector(const CaloCell_ID *) const
get vector<vector<CaloCell*> > used for calculation of shape vars
Definition: TauShot.cxx:138
Analysis::TauShot::operator=
TauShot & operator=(const TauShot &)
Assignment operator.
Definition: TauShot.cxx:75
Analysis::TauShot::setfracSide_5not1
void setfracSide_5not1(float)
Analysis::TauShot::m_nPhotons
int m_nPhotons
Definition: TauShot.h:170
Analysis::TauShot::setmergedScore
void setmergedScore(float)
Analysis::TauShot::setsdevEta5_WRTmode
void setsdevEta5_WRTmode(float)
P4PtEtaPhiM
Definition: P4PtEtaPhiM.h:25
Analysis::TauShot::setpt3OverPt5
void setpt3OverPt5(float)
Analysis::TauShot::m_pt1OverPt3
float m_pt1OverPt3
Definition: TauShot.h:166
Analysis::TauShot::TauShot
TauShot()
Default Constructor standard constructor which sets everything to 0, needed for persistency.
Definition: TauShot.cxx:12
Analysis::TauShot::~TauShot
virtual ~TauShot()
Destructor.
Definition: TauShot.cxx:133
Analysis::TauShot::Fside_5not1
float Fside_5not1() const
Analysis::TauShot::sdevPt5
float sdevPt5() const
Analysis::TauShot::pt1OverPt3
float pt1OverPt3() const
Analysis::TauShot::m_deltaPt12_min
float m_deltaPt12_min
Definition: TauShot.h:159
Analysis::TauShot::m_fracSide_5not1
float m_fracSide_5not1
Definition: TauShot.h:164
Analysis::TauShot::m_pt1
float m_pt1
Definition: TauShot.h:152
Analysis::TauShot::m_sdevPt5
float m_sdevPt5
Definition: TauShot.h:158
Analysis::TauShot::m_fracSide_5not3
float m_fracSide_5not3
Definition: TauShot.h:165