ATLAS Offline Software
TauShot.icc
Go to the documentation of this file.
1 // dear emacs, this is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 namespace Analysis{
9 
10 
11  //-------------------------------------------------------------------------
12  // photon shot
13  //-------------------------------------------------------------------------
14 
15  inline void TauShot::setCluster( const CaloCluster *cluster, const CaloClusterContainer *cont )
16  {
17  if( !cont )
18  m_cluster.setElement( cluster );
19  else
20  m_cluster.toContainedElement( *cont, cluster );
21  }
22 
23  inline const CaloCluster* TauShot::cluster() const
24  {
25  return *m_cluster;
26  }
27 
28  inline const ElementLink<CaloClusterContainer>& TauShot::clusterLink() const
29  {
30  return m_cluster;
31  }
32 
33  inline ElementLink<CaloClusterContainer>& TauShot::clusterLink()
34  {
35  return m_cluster;
36  }
37 
38 
39  inline void TauShot::setSeedCell( const CaloCell *cell, const CaloCellContainer *cont )
40  {
41  if( !cont )
42  m_seedCell.setElement( cell );
43  else
44  m_seedCell.toContainedElement( *cont, cell );
45  }
46 
47  inline const CaloCell* TauShot::seedCell() const
48  {
49  return *m_seedCell;
50  }
51 
52  inline const ElementLink<CaloCellContainer>& TauShot::seedCellLink() const
53  {
54  return m_seedCell;
55  }
56 
57  inline ElementLink<CaloCellContainer>& TauShot::seedCellLink()
58  {
59  return m_seedCell;
60  }
61 
62  // other setters/getters
63  inline int TauShot::nCellsInEta() const {return m_nCellsInEta;}
64  inline void TauShot::setNCellsInEta(int set) {m_nCellsInEta=set;}
65  inline float TauShot::pt1() const {return m_pt1;}
66  inline void TauShot::setpt1(float set) {m_pt1=set;}
67  inline float TauShot::pt3() const {return m_pt3;}
68  inline void TauShot::setpt3(float set) {m_pt3=set;}
69  inline float TauShot::pt5() const {return m_pt5;}
70  inline void TauShot::setpt5(float set) {m_pt5=set;}
71  inline float TauShot::ws5() const {return m_ws5;}
72  inline void TauShot::setws5(float set) {m_ws5=set;}
73  inline float TauShot::sdevEta5_WRTmean() const {return m_sdevEta5_WRTmean;}
74  inline void TauShot::setsdevEta5_WRTmean(float set) {m_sdevEta5_WRTmean=set;}
75  inline float TauShot::sdevEta5_WRTmode() const {return m_sdevEta5_WRTmode;}
76  inline void TauShot::setsdevEta5_WRTmode(float set) {m_sdevEta5_WRTmode=set;}
77  inline float TauShot::sdevPt5() const {return m_sdevPt5;}
78  inline void TauShot::setsdevPt5(float set) {m_sdevPt5=set;}
79  inline float TauShot::deltaPt12_min() const {return m_deltaPt12_min;}
80  inline void TauShot::setdeltaPt12_min(float set) {m_deltaPt12_min=set;}
81  inline float TauShot::Fside_3not1() const {return m_Fside_3not1;}
82  inline void TauShot::setFside_3not1(float set) {m_Fside_3not1=set;}
83  inline float TauShot::Fside_5not1() const {return m_Fside_5not1;}
84  inline void TauShot::setFside_5not1(float set) {m_Fside_5not1=set;}
85  inline float TauShot::Fside_5not3() const {return m_Fside_5not3;}
86  inline void TauShot::setFside_5not3(float set) {m_Fside_5not3=set;}
87  inline float TauShot::fracSide_3not1() const {return m_fracSide_3not1;}
88  inline void TauShot::setfracSide_3not1(float set) {m_fracSide_3not1=set;}
89  inline float TauShot::fracSide_5not1() const {return m_fracSide_5not1;}
90  inline void TauShot::setfracSide_5not1(float set) {m_fracSide_5not1=set;}
91  inline float TauShot::fracSide_5not3() const {return m_fracSide_5not3;}
92  inline void TauShot::setfracSide_5not3(float set) {m_fracSide_5not3=set;}
93  inline float TauShot::pt1OverPt3() const {return m_pt1OverPt3;}
94  inline void TauShot::setpt1OverPt3(float set) {m_pt1OverPt3=set;}
95  inline float TauShot::pt3OverPt5() const {return m_pt3OverPt5;}
96  inline void TauShot::setpt3OverPt5(float set) {m_pt3OverPt5=set;}
97  inline float TauShot::mergedScore() const {return m_mergedScore;}
98  inline void TauShot::setmergedScore(float set) {m_mergedScore=set;}
99  inline float TauShot::signalScore() const {return m_signalScore;}
100  inline void TauShot::setsignalScore(float set) {m_signalScore=set;}
101  inline int TauShot::nPhotons() const {return m_nPhotons;}
102  inline void TauShot::setNPhotons(int set) {m_nPhotons=set;}
103 
104 } //end of namespace analysis