ATLAS Offline Software
TauPi0Details.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
18 #ifndef __TAU_Pi0_DETAILS_H__
19 #define __TAU_Pi0_DETAILS_H__
20 
21 #include <iostream>
22 
23 #include "tauEvent/TauDetails.h"
25 #include "tauEvent/TauPi0Cluster.h"
26 #include "tauEvent/TauShot.h"
27 // remove this because the file will be taken out of CaloUtils
28 /* #include "CaloUtils/CaloClusterVertexCorrection.h" */
29 
30 // forward declaration
31 //class Analysis::TauPi0Candidate;
32 
33 namespace Analysis {
34 
35  class TauPi0Details : public TauDetails {
36 
37  public:
39  TauPi0Details();
40 
43  TauPi0Details( const TauPi0Details& rhs );
44 
46  virtual ~TauPi0Details();
47 
52 
55  virtual const std::string& className() const;
56 
57 
59  // public member accessors
61  public:
62  const std::vector<TauPi0Candidate*>& pi0CandidateVector() const;
63  std::vector<TauPi0Candidate*>& pi0CandidateVector();
65  int nPi0Candidates() const;
66 
67  const std::vector<TauPi0Cluster*>& pi0ClusterVector() const;
68  std::vector<TauPi0Cluster*>& pi0ClusterVector();
70  int nPi0Clusters() const;
71 
72  const std::vector<TauShot*>& shotVector() const;
73  std::vector<TauShot*>& shotVector();
74  void addShot( TauShot* );
75  int nShots() const;
76 
78 
81 
82  void setVisTauhlv(CLHEP::HepLorentzVector visTauhlv);
83  CLHEP::HepLorentzVector visTauhlv() const;
84 
85  int nPi0s() const;
86  CLHEP::HepLorentzVector sumPi0hlv() const;
87 
88 
90  // function to do vertex correction
92 
93  // removed because caloclustervertexcorrection header was removed
94  /* void doVertexCorrection(Amg::Vector3D* tauJetVertex) const; */
95 
97  // private data
99  private:
100 
101  static const std::string s_className;
102 
103  //TauPi0CandidateContainer m_pi0CandContainer;
104 
105  // owner of the TauPi0Candidates and TauPi0Clusters! Will delete them in the destructor
106  std::vector<TauPi0Candidate*> m_pi0CandContainer;
107  std::vector<TauPi0Cluster*> m_pi0ClusContainer;
108  std::vector<TauShot*> m_shotContainer;
109  CLHEP::HepLorentzVector m_visTau_hlv;
110  };
111 
112 } //end of namespace Analysis
113 
115 #include "TauPi0Details.icc"
116 
117 
118 #endif //__TAU_Pi0_DETAILS_H__
Analysis::TauPi0Details::nPi0s
int nPi0s() const
Analysis::TauPi0Details::pi0ClusterVector
const std::vector< TauPi0Cluster * > & pi0ClusterVector() const
Analysis::TauPi0Details::shotVector
const std::vector< TauShot * > & shotVector() const
Analysis::TauPi0Details::sumPi0hlv
CLHEP::HepLorentzVector sumPi0hlv() const
Analysis::TauPi0Details
Definition: TauPi0Details.h:35
Analysis::TauPi0Details::~TauPi0Details
virtual ~TauPi0Details()
destructor (virtual)
Definition: TauPi0Details.cxx:88
Analysis::TauPi0Details::m_pi0ClusContainer
std::vector< TauPi0Cluster * > m_pi0ClusContainer
Definition: TauPi0Details.h:107
TauPi0Candidate.h
Analysis::TauPi0Details::shotVector
std::vector< TauShot * > & shotVector()
Analysis::TauPi0Details::nPi0Candidates
int nPi0Candidates() const
TauShot.h
Analysis::TauPi0Details::nShots
int nShots() const
TauDetails.h
Analysis::TauDetails
Definition: TauDetails.h:26
Analysis::TauPi0Details::m_pi0CandContainer
std::vector< TauPi0Candidate * > m_pi0CandContainer
Definition: TauPi0Details.h:106
Analysis::TauPi0Cluster
Definition: TauPi0Cluster.h:28
Analysis::TauShot
Definition: TauShot.h:48
TauPi0Details.icc
Analysis::TauPi0Candidate
Definition: TauPi0Candidate.h:28
Analysis::TauPi0Details::pi0ClusterVector
std::vector< TauPi0Cluster * > & pi0ClusterVector()
TauPi0Cluster.h
Analysis::TauPi0Details::addShot
void addShot(TauShot *)
Analysis::TauPi0Details::addPi0Candidate
void addPi0Candidate(TauPi0Candidate *)
Analysis::TauPi0Details::pi0CandidateVector
const std::vector< TauPi0Candidate * > & pi0CandidateVector() const
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TauPi0Details::s_className
static const std::string s_className
Definition: TauPi0Details.h:101
Analysis::TauPi0Details::setVisTauhlv
void setVisTauhlv(CLHEP::HepLorentzVector visTauhlv)
Analysis::TauPi0Details::addPi0Cluster
void addPi0Cluster(TauPi0Cluster *)
Analysis::TauPi0Details::m_visTau_hlv
CLHEP::HepLorentzVector m_visTau_hlv
Definition: TauPi0Details.h:109
Analysis::TauPi0Details::m_shotContainer
std::vector< TauShot * > m_shotContainer
Definition: TauPi0Details.h:108
Analysis::TauPi0Details::className
virtual const std::string & className() const
Get name of class.
Definition: TauPi0Details.cxx:112
Analysis::TauPi0Details::pi0CandidateVector
std::vector< TauPi0Candidate * > & pi0CandidateVector()
Analysis::TauPi0Details::visTauhlv
CLHEP::HepLorentzVector visTauhlv() const
Analysis::TauPi0Details::operator=
TauPi0Details & operator=(const TauPi0Details &rhs)
Assignment operator.
Definition: TauPi0Details.cxx:50
Analysis::TauPi0Details::nPi0Clusters
int nPi0Clusters() const
Analysis::TauPi0Details::TauPi0Details
TauPi0Details()
default constructor
Definition: TauPi0Details.cxx:17