ATLAS Offline Software
TauPi0Candidate.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
15 #ifndef TAUEVENT_TAUPi0CANDIDATE_H
16 #define TAUEVENT_TAUPi0CANDIDATE_H
17 
18 #include <iostream>
19 
20 //#include "CaloEvent/CaloCluster.h"
21 //#include "CaloEvent/CaloClusterContainer.h"
22 //#include "AthLinks/ElementLink.h"
23 //#include "AthLinks/ElementLinkVector.h"
24 #include "tauEvent/TauPi0Cluster.h"
25 
26 namespace Analysis {
27 
29 
30  public:
33 
36  TauPi0Candidate( const TauPi0Candidate& rhs );
37 
39  virtual ~TauPi0Candidate();
40 
44 
45 
49  bool operator==( const TauPi0Candidate& rhs ) const;
50 
54  bool operator!=( const TauPi0Candidate& rhs ) const;
55 
56 
58  // public member accessors
60  public:
61  void dump(); //just for testing
62 
64 
67 
70  const std::vector<TauPi0Cluster*>& pi0ClusterVec() const;
71 
74  std::vector<TauPi0Cluster*>& pi0ClusterVec();
75 
81  unsigned int i ) const;
82 
86  unsigned int nPi0Cluster() const;
87 
88  // Get HepLorentzVector of Pi0 Canidate (pi0 mass hypothesis)
89  CLHEP::HepLorentzVector hlv() const;
90 
97 
99  // private data
101  private:
102 
104  std::vector<TauPi0Cluster*> m_pi0ClusterVector;
105 
106  };
107 } //end of namespace analysis
108 
110 #include "TauPi0Candidate.icc"
111 
112 #endif // TAUEVENT_TAUPi0CANDIDATE_H
Analysis::TauPi0Candidate::pi0ClusterVec
std::vector< TauPi0Cluster * > & pi0ClusterVec()
Get pi0 cluster vector.
Analysis::TauPi0Candidate::m_pi0ClusterVector
std::vector< TauPi0Cluster * > m_pi0ClusterVector
pi0 cluster vector
Definition: TauPi0Candidate.h:104
Analysis::TauPi0Candidate::hlv
CLHEP::HepLorentzVector hlv() const
Analysis::TauPi0Candidate::addPi0Cluster
void addPi0Cluster(TauPi0Cluster *pi0Cluster)
Add cluster to pi0 cluster vector Concider using direct access through pi0LinkVec() instead.
Analysis::TauPi0Candidate::TauPi0Candidate
TauPi0Candidate()
default constructor
Definition: TauPi0Candidate.cxx:14
Analysis::TauPi0Candidate::operator==
bool operator==(const TauPi0Candidate &rhs) const
Equality operator.
Definition: TauPi0Candidate.cxx:38
Analysis::TauPi0Cluster
Definition: TauPi0Cluster.h:28
lumiFormat.i
int i
Definition: lumiFormat.py:85
Analysis::TauPi0Candidate
Definition: TauPi0Candidate.h:28
TauPi0Cluster.h
Analysis::TauPi0Candidate::operator=
TauPi0Candidate & operator=(const TauPi0Candidate &rhs)
assignment operator
Definition: TauPi0Candidate.cxx:25
TauPi0Candidate.icc
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TauPi0Candidate::pi0Cluster
const TauPi0Cluster * pi0Cluster(unsigned int i) const
Get pi0 cluster Concider using direct access through clusterLinkVec() instead.
Analysis::TauPi0Candidate::pi0ClusterVec
const std::vector< TauPi0Cluster * > & pi0ClusterVec() const
Get pi0 cluster vector (const)
Analysis::TauPi0Candidate::nPi0Cluster
unsigned int nPi0Cluster() const
Get length of cluster vector Concider using direct access through pi0LinkVec() instead.
Analysis::TauPi0Candidate::~TauPi0Candidate
virtual ~TauPi0Candidate()
destructor (virtual)
Definition: TauPi0Candidate.cxx:55
Analysis::TauPi0Candidate::dump
void dump()
Definition: TauPi0Candidate.cxx:60
Analysis::TauPi0Candidate::operator!=
bool operator!=(const TauPi0Candidate &rhs) const
Inequality operator.
Definition: TauPi0Candidate.cxx:46