Fork me on GitHub

source: git/external/PUPPI/PuppiContainer.hh@ bba5aca

ImprovedOutputFile Timing dual_readout llp
Last change on this file since bba5aca was 659c7b6, checked in by Michele Selvaggi <michele.selvaggi@…>, 8 years ago

fix PUPPI includes

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#include "PuppiAlgo.hh"
2#include "RecoObj2.hh"
3#include "fastjet/PseudoJet.hh"
4#include <vector>
5
6using namespace std;
7
8class PuppiContainer{
9public:
10 //PuppiContainer(const edm::ParameterSet &iConfig);
11 PuppiContainer(const std::string &iConfig);
12 PuppiContainer(bool iApplyCHS, bool iUseExp,double iPuppiWeightCut,std::vector<AlgoObj> &iAlgos);
13 ~PuppiContainer();
14 void initialize(const std::vector<RecoObj> &iRecoObjects);
15 std::vector<fastjet::PseudoJet> pfParticles(){ return fPFParticles; }
16 std::vector<fastjet::PseudoJet> pvParticles(){ return fChargedPV; }
17 const std::vector<double> puppiWeights();
18 std::vector<fastjet::PseudoJet> puppiParticles() { return fPupParticles;}
19
20protected:
21 double goodVar (fastjet::PseudoJet &iPart,std::vector<fastjet::PseudoJet> &iParts, int iOpt,double iRCone);
22 void getRMSAvg (int iOpt,std::vector<fastjet::PseudoJet> &iConstits,std::vector<fastjet::PseudoJet> &iParticles,std::vector<fastjet::PseudoJet> &iChargeParticles);
23 double getChi2FromdZ(double iDZ);
24 int getPuppiId (const float &iPt,const float &iEta);
25 double var_within_R (int iId, const std::vector<fastjet::PseudoJet> & particles, const fastjet::PseudoJet& centre, double R);
26
27 std::vector<RecoObj> fRecoParticles;
28 std::vector<fastjet::PseudoJet> fPFParticles;
29 std::vector<fastjet::PseudoJet> fChargedPV;
30 std::vector<fastjet::PseudoJet> fPupParticles;
31 std::vector<double> fWeights;
32 std::vector<double> fVals;
33 bool fApplyCHS;
34 bool fUseExp;
35 double fNeutralMinPt;
36 double fNeutralSlope;
37 double fPuppiWeightCut;
38 int fNAlgos;
39 int fNPV;
40 double fPVFrac;
41 std::vector<PuppiAlgo> fPuppiAlgo;
42};
43
44
Note: See TracBrowser for help on using the repository browser.