CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  {
19  public:
20  // Must have a default constructor
22  : unused_(0.f), minScale_(0.f), maxScale_(0.f), scaleUsed_(0.f),
24 
25  // Meaningful constructor
26  FFTJetProducerSummary(const std::vector<double>& thresholds,
27  const std::vector<unsigned>& levelOccupancy,
29  const std::vector<CandidatePtr>& constituents,
30  double unused, double minScale, double maxScale,
31  double scaleUsed, unsigned preclustersFound,
32  unsigned iterationsPerformed, bool converged);
33 
34  // Vector of occupancy thresholds generated by
35  // the locally adaptive resolution scheme
36  inline const std::vector<float>& thresholds() const
37  {return thresholds_;}
38 
39  // Clustering tree occupancy as a function of the level number
40  inline const std::vector<unsigned>& levelOccupancy() const
41  {return levelOccupancy_;}
42 
43  // Raw unclustered energy 4-vector
44  inline const math::XYZTLorentzVector& unclustered() const
45  {return unclustered_;}
46 
47  // Pointers to unclustered energy constituents
48  inline const std::vector<CandidatePtr>& unclusteredConstituents() const
49  {return unclusConstituents_;}
50 
51  // Scalar sum of unclustered transverse energies
52  inline float unusedEt() const {return unused_;}
53 
54  // Minimum and maximum resolution scales to be used for
55  // configuration stability calculations
56  inline float minScale() const {return minScale_;}
57  inline float maxScale() const {return maxScale_;}
58 
59  // The scale actually used to lookup clusters.
60  // This info is useful mostly for maximally stable
61  // and globally adaptive resolution schemes.
62  inline float scaleUsed() const {return scaleUsed_;}
63 
64  // Number of preclusters found by the peak selection code.
65  // Should normally coincide with the number of jets.
66  inline unsigned preclustersFound() const {return preclustersFound_;}
67 
68  // Actual number of iterations made by the jet reconstruction
69  // algorithm
70  inline unsigned iterationsPerformed() const
71  {return iterationsPerformed_;}
72 
73  // Did the jet reconstruction algorithm converge?
74  inline bool iterationsConverged() const {return converged_;}
75 
76  private:
77  std::vector<float> thresholds_;
78  std::vector<unsigned> levelOccupancy_;
80  std::vector<CandidatePtr> unclusConstituents_;
81  float unused_;
82  float minScale_;
83  float maxScale_;
84  float scaleUsed_;
87  bool converged_;
88  };
89 }
90 
91 #endif // DataFormats_JetReco_FFTJetProducerSummary_h
const std::vector< float > & thresholds() const
const std::vector< CandidatePtr > & unclusteredConstituents() const
std::vector< unsigned > levelOccupancy_
Data processing summary generated by FFTJetProducer.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
const std::vector< unsigned > & levelOccupancy() const
std::vector< CandidatePtr > unclusConstituents_
double f[11][100]
std::vector< float > thresholds_
math::XYZTLorentzVector unclustered_
const math::XYZTLorentzVector & unclustered() const
volatile std::atomic< bool > shutdown_flag false