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