Fork me on GitHub

source: git/external/PUPPI/PuppiAlgo.hh@ e2339af

ImprovedOutputFile Timing dual_readout llp
Last change on this file since e2339af was 07b7064, checked in by Philip <violatingcp@…>, 8 years ago

added missing files

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#include "external/fastjet/internal/base.hh"
2#include "external/fastjet/PseudoJet.hh"
3#include "AlgoObj.hh"
4#include <vector>
5
6class PuppiAlgo{
7public:
8 PuppiAlgo(AlgoObj &iAlgoObj);
9 ~PuppiAlgo();
10 //Computing Mean and RMS
11 void reset();
12 void add(const fastjet::PseudoJet &iParticle,const double &iVal,const unsigned int iAlgo);
13 void computeMedRMS(const unsigned int &iAlgo,const double &iPVFrac);
14 //Get the Weight
15 double compute(std::vector<double> &iVals,double iChi2);
16 //Helpers
17 double ptMin();
18 double etaMin();
19 double etaMax();
20 int numAlgos ();
21 int algoId (const unsigned int &iAlgo);
22 bool isCharged(const unsigned int &iAlgo);
23 double coneSize (const unsigned int &iAlgo);
24 double neutralPt(int iNPV);
25
26private:
27 unsigned int fNAlgos;
28 float fEtaMax;
29 float fEtaMin;
30 float fPtMin ;
31 double fNeutralPtMin;
32 double fNeutralPtSlope;
33 double fRMSEtaSF;
34 double fMedEtaSF;
35 double fEtaMaxExtrap;
36 std::vector<float> fPups;
37 std::vector<float> fPupsPV;
38 std::vector<int> fAlgoId;
39 std::vector<bool> fCharged;
40 std::vector<bool> fAdjust;
41 std::vector<int> fCombId;
42 std::vector<double> fConeSize;
43 std::vector<double> fRMSPtMin;
44 std::vector<double> fRMSScaleFactor;
45 std::vector<double> fRMS;
46 std::vector<double> fMedian;
47 std::vector<double> fMean;
48 std::vector<int> fNCount;
49};
Note: See TracBrowser for help on using the repository browser.