CMS 3D CMS Logo

FFTJetProducerSummary.h
Go to the documentation of this file.
1 
8 #ifndef DataFormats_JetReco_FFTJetProducerSummary_h
9 #define DataFormats_JetReco_FFTJetProducerSummary_h
10 
11 #include <vector>
12 
15 
16 namespace reco {
18  public:
19  // Must have a default constructor
21  : unused_(0.f),
22  minScale_(0.f),
23  maxScale_(0.f),
24  scaleUsed_(0.f),
27  converged_(false) {}
28 
29  // Meaningful constructor
30  FFTJetProducerSummary(const std::vector<double>& thresholds,
31  const std::vector<unsigned>& levelOccupancy,
33  const std::vector<CandidatePtr>& constituents,
34  double unused,
35  double minScale,
36  double maxScale,
37  double scaleUsed,
38  unsigned preclustersFound,
39  unsigned iterationsPerformed,
40  bool converged);
41 
42  // Vector of occupancy thresholds generated by
43  // the locally adaptive resolution scheme
44  inline const std::vector<float>& thresholds() const { return thresholds_; }
45 
46  // Clustering tree occupancy as a function of the level number
47  inline const std::vector<unsigned>& levelOccupancy() const { return levelOccupancy_; }
48 
49  // Raw unclustered energy 4-vector
50  inline const math::XYZTLorentzVector& unclustered() const { return unclustered_; }
51 
52  // Pointers to unclustered energy constituents
53  inline const std::vector<CandidatePtr>& unclusteredConstituents() const { return unclusConstituents_; }
54 
55  // Scalar sum of unclustered transverse energies
56  inline float unusedEt() const { return unused_; }
57 
58  // Minimum and maximum resolution scales to be used for
59  // configuration stability calculations
60  inline float minScale() const { return minScale_; }
61  inline float maxScale() const { return maxScale_; }
62 
63  // The scale actually used to lookup clusters.
64  // This info is useful mostly for maximally stable
65  // and globally adaptive resolution schemes.
66  inline float scaleUsed() const { return scaleUsed_; }
67 
68  // Number of preclusters found by the peak selection code.
69  // Should normally coincide with the number of jets.
70  inline unsigned preclustersFound() const { return preclustersFound_; }
71 
72  // Actual number of iterations made by the jet reconstruction
73  // algorithm
74  inline unsigned iterationsPerformed() const { return iterationsPerformed_; }
75 
76  // Did the jet reconstruction algorithm converge?
77  inline bool iterationsConverged() const { return converged_; }
78 
79  private:
80  std::vector<float> thresholds_;
81  std::vector<unsigned> levelOccupancy_;
83  std::vector<CandidatePtr> unclusConstituents_;
84  float unused_;
85  float minScale_;
86  float maxScale_;
87  float scaleUsed_;
90  bool converged_;
91  };
92 } // namespace reco
93 
94 #endif // DataFormats_JetReco_FFTJetProducerSummary_h
funct::false
false
Definition: Factorize.h:29
reco::FFTJetProducerSummary::unclustered
const math::XYZTLorentzVector & unclustered() const
Definition: FFTJetProducerSummary.h:50
reco::FFTJetProducerSummary::levelOccupancy
const std::vector< unsigned > & levelOccupancy() const
Definition: FFTJetProducerSummary.h:47
reco::FFTJetProducerSummary::iterationsPerformed_
unsigned iterationsPerformed_
Definition: FFTJetProducerSummary.h:89
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
reco::FFTJetProducerSummary::scaleUsed
float scaleUsed() const
Definition: FFTJetProducerSummary.h:66
reco::FFTJetProducerSummary::minScale_
float minScale_
Definition: FFTJetProducerSummary.h:85
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::FFTJetProducerSummary::levelOccupancy_
std::vector< unsigned > levelOccupancy_
Definition: FFTJetProducerSummary.h:81
reco::FFTJetProducerSummary::maxScale_
float maxScale_
Definition: FFTJetProducerSummary.h:86
reco::FFTJetProducerSummary::preclustersFound
unsigned preclustersFound() const
Definition: FFTJetProducerSummary.h:70
CandidateFwd.h
reco::FFTJetProducerSummary::unclusteredConstituents
const std::vector< CandidatePtr > & unclusteredConstituents() const
Definition: FFTJetProducerSummary.h:53
reco::FFTJetProducerSummary::minScale
float minScale() const
Definition: FFTJetProducerSummary.h:60
reco::FFTJetProducerSummary::maxScale
float maxScale() const
Definition: FFTJetProducerSummary.h:61
reco::FFTJetProducerSummary::thresholds_
std::vector< float > thresholds_
Definition: FFTJetProducerSummary.h:80
reco::FFTJetProducerSummary::unusedEt
float unusedEt() const
Definition: FFTJetProducerSummary.h:56
reco::FFTJetProducerSummary::unclusConstituents_
std::vector< CandidatePtr > unclusConstituents_
Definition: FFTJetProducerSummary.h:83
LorentzVector.h
reco::FFTJetProducerSummary::thresholds
const std::vector< float > & thresholds() const
Definition: FFTJetProducerSummary.h:44
reco::FFTJetProducerSummary::converged_
bool converged_
Definition: FFTJetProducerSummary.h:90
reco::FFTJetProducerSummary
Data processing summary generated by FFTJetProducer.
Definition: FFTJetProducerSummary.h:17
reco::FFTJetProducerSummary::unclustered_
math::XYZTLorentzVector unclustered_
Definition: FFTJetProducerSummary.h:82
reco::FFTJetProducerSummary::preclustersFound_
unsigned preclustersFound_
Definition: FFTJetProducerSummary.h:88
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
reco::FFTJetProducerSummary::FFTJetProducerSummary
FFTJetProducerSummary()
Definition: FFTJetProducerSummary.h:20
reco::FFTJetProducerSummary::unused_
float unused_
Definition: FFTJetProducerSummary.h:84
reco::FFTJetProducerSummary::iterationsPerformed
unsigned iterationsPerformed() const
Definition: FFTJetProducerSummary.h:74
reco::FFTJetProducerSummary::iterationsConverged
bool iterationsConverged() const
Definition: FFTJetProducerSummary.h:77
reco::FFTJetProducerSummary::scaleUsed_
float scaleUsed_
Definition: FFTJetProducerSummary.h:87