Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:12:37

0001 
0002 #ifndef __FILTEREVENTSUPSILON_H__
0003 #define __FILTEREVENTSUPSILON_H__
0004 
0005 #include <fun4all/SubsysReco.h>
0006 
0007 #include <TVector3.h>
0008 
0009 class SvtxTrack;
0010 class SvtxTrackMap;
0011 class SvtxVertexMap;
0012 class GlobalVertexMap;
0013 class RawCluster;
0014 class RawClusterContainer;
0015 class TrackSeedContainer;
0016 class TrkrClusterContainer;
0017 
0018 class FilterEventsUpsilon: public SubsysReco {
0019 
0020 public:
0021 
0022   FilterEventsUpsilon(const std::string &name = "FilterEventsUpsilon");
0023   virtual ~FilterEventsUpsilon() {}
0024 
0025   int Init(PHCompositeNode *topNode);
0026   int InitRun(PHCompositeNode *topNode);
0027   int process_event(PHCompositeNode *topNode);
0028   int End(PHCompositeNode *topNode);
0029 
0030 protected:
0031 
0032   int GetNodes(PHCompositeNode *topNode);
0033   TVector3 GetProjectionCEMC(SvtxTrack* track);
0034   RawCluster* MatchClusterCEMC(SvtxTrack* track, RawClusterContainer* cemc_clusters, double &dphi, double &deta, double Zvtx);
0035 
0036   PHCompositeNode*     _topNode;
0037   SvtxTrackMap*        _trackmap;
0038   SvtxVertexMap*       _vtxmap;
0039   //GlobalVertexMap*     _global_vtxmap;
0040   RawClusterContainer* _cemc_clusters;
0041   TrackSeedContainer* _trackseedcontainer_svtx;
0042   TrackSeedContainer* _trackseedcontainer_silicon;
0043   TrackSeedContainer* _trackseedcontainer_tpc;
0044   TrkrClusterContainer* _trkrclusters;
0045 
0046   SvtxTrackMap*        _trackmap_ee;
0047   RawClusterContainer* _cemc_clusters_ee;
0048 
0049   std::string outnodename_trackmap;
0050   std::string outnodename_cemc_clusters;
0051 
0052   int EventNumber;
0053   int goodEventNumber;
0054 
0055 };
0056 
0057 #endif
0058