Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHFlowJetMaker.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHFlowJetMaker.h
1 #ifndef PHFLOWJETMAKER_H__
2 #define PHFLOWJETMAKER_H__
3 
4 #include <TLorentzVector.h>
5 #include <fun4all/SubsysReco.h>
6 #include <map>
7 #include <set>
8 #include <string>
9 #include <vector>
10 
12 class PHCompositeNode;
13 class PHG4HitContainer;
14 class RawTowerContainer;
15 class RawTowerGeom;
17 class RawCluster;
18 class GlobalVertex;
19 class PHMCTowerContainerV1;
21 class PHFastjetContainer;
22 class PHPyJetContainerV2;
24 class JetMap;
25 class SvtxTrack;
26 class SvtxTrackMap;
27 class TVector3;
28 class TLorentzVector;
29 class TH1F;
30 class TF1;
31 class TH2F;
32 class TNtuple;
33 
34 namespace fastjet
35 {
36 class PseudoJet;
37 class JetDefinition;
38 class SISConePlugin;
39 class ClusterSequence;
40 }
41 
42 class PHFlowJetMaker : public SubsysReco
43 {
44  public:
45  PHFlowJetMaker(const std::string& name = "PHFlowJetMaker", const std::string algorithm = "AntiKt", double r_param = 0.3);
46 
47  virtual ~PHFlowJetMaker();
48 
49  int Init(PHCompositeNode*);
50 
52 
53  int End(PHCompositeNode*);
54 
55 // * Jin - disable. Please use the standard cluster jet on the node tree
56 // void create_calo_pseudojets(std::vector<fastjet::PseudoJet>& particles, RawClusterContainer* emc_clusters, RawClusterContainer* hci_clusters, RawClusterContainer* hco_clusters, GlobalVertex* vtx, GlobalVertex* vtx);
57 
58  void run_particle_flow(std::vector<fastjet::PseudoJet>& flow_particles, RawClusterContainer* emc_clusters, RawClusterContainer* hci_clusters, RawClusterContainer* hco_clusters, SvtxTrackMap* reco_tracks, GlobalVertex* vtx);
59 
60  int get_matched(double clus_energy, double track_energy);
61 
63 
64  private:
65  //Sampling Fractions
66  static const float sfEMCAL;
67  static const float sfHCALIN;
68  static const float sfHCALOUT;
69 
70  char* outfile;
72  double r_param;
73 
75 
76  //Tolerance for cluster-track matching
79 
80  fastjet::JetDefinition* fJetAlgorithm;
81  double min_jet_pT;
82 
83  // PHPyJetContainerV2 *flow_jet_container;
84 };
85 
86 #endif