ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17
18#ifndef __TAU_Pi0_DETAILS_H__
19#define __TAU_Pi0_DETAILS_H__
20
21#include <iostream>
22
23#include "tauEvent/TauDetails.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
33namespace Analysis {
34
35 class TauPi0Details : public TauDetails {
36
37 public:
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
80
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__
Declaration of tau details base class.
TauDetails()
Default constructor.
CLHEP::HepLorentzVector sumPi0hlv() const
int nPi0Candidates() const
virtual ~TauPi0Details()
destructor (virtual)
const std::vector< TauPi0Candidate * > & pi0CandidateVector() const
std::vector< TauPi0Cluster * > m_pi0ClusContainer
CLHEP::HepLorentzVector visTauhlv() const
std::vector< TauPi0Candidate * > m_pi0CandContainer
void addShot(TauShot *)
const std::vector< TauShot * > & shotVector() const
TauPi0Details & operator=(const TauPi0Details &rhs)
Assignment operator.
TauPi0Details()
default constructor
CLHEP::HepLorentzVector m_visTau_hlv
const std::vector< TauPi0Cluster * > & pi0ClusterVector() const
std::vector< TauShot * > & shotVector()
std::vector< TauPi0Cluster * > & pi0ClusterVector()
void addPi0Candidate(TauPi0Candidate *)
static const std::string s_className
void setVisTauhlv(CLHEP::HepLorentzVector visTauhlv)
void addPi0Cluster(TauPi0Cluster *)
std::vector< TauShot * > m_shotContainer
virtual const std::string & className() const
Get name of class.
std::vector< TauPi0Candidate * > & pi0CandidateVector()
The namespace of all packages in PhysicsAnalysis/JetTagging.