Class Reference for E1039 Core & Analysis Software
AnaEmbeddedData.h
Go to the documentation of this file.
1 #ifndef _ANA_EMBEDDED_DATA__H_
2 #define _ANA_EMBEDDED_DATA__H_
3 #include <map>
4 #include <fun4all/SubsysReco.h>
5 #include <UtilAna/TrigRoadset.h>
6 #include "TreeData.h"
7 class TFile;
8 class TTree;
9 class SQEvent;
10 class SRecEvent;
11 class SQMCEvent;
12 class SQHitVector;
13 class SQTrackVector;
14 class SQDimuonVector;
15 
17 
22 class AnaEmbeddedData: public SubsysReco {
24  SQEvent * mi_evt;
25  SQEvent * mi_evt_emb;
26  SQMCEvent * mi_evt_mc;
27  SQMCEvent * mi_evt_mc_emb;
28  SQHitVector * mi_vec_hit;
29  SQTrackVector * mi_vec_trk;
30  SQDimuonVector* mi_vec_dim;
31  SQTrackVector* mi_vec_trk_rec;
32  SQDimuonVector* mi_vec_dim_rec;
33 
35  TFile* mo_file;
36  TTree* mo_tree;
37  EventData mo_evt;
38  OccData mo_occ;
39  TrackList mo_trk_true;
40  TrackList mo_trk_reco;
41  DimuonList mo_dim_true;
42  DimuonList mo_dim_reco;
43 
44  int m_run_id;
45  int m_rs_id;
47 
48  public:
49  AnaEmbeddedData(const std::string name="AnaEmbeddedData");
50  virtual ~AnaEmbeddedData() {;}
51  int Init(PHCompositeNode *topNode);
52  int InitRun(PHCompositeNode *topNode);
53  int process_event(PHCompositeNode *topNode);
54  int End(PHCompositeNode *topNode);
55 
56  private:
57  void DivideHitVector(const SQHitVector* vec_in, std::map<int, SQHitVector*>& vec_sep, const bool in_time=false);
58 };
59 
60 #endif /* _ANA_EMBEDDED_DATA__H_ */
std::vector< DimuonData > DimuonList
Definition: TreeData.h:54
std::vector< TrackData > TrackList
Definition: TreeData.h:53
A SubsysReco module to analyze the hit-embedded data.
virtual ~AnaEmbeddedData()
int Init(PHCompositeNode *topNode)
AnaEmbeddedData(const std::string name="AnaEmbeddedData")
int End(PHCompositeNode *topNode)
Called at the end of all processing.
int process_event(PHCompositeNode *topNode)
int InitRun(PHCompositeNode *topNode)
An SQ interface class to hold a list of SQDimuon objects.
An SQ interface class to hold one event header.
Definition: SQEvent.h:17
An SQ interface class to hold a list of SQHit objects.
Definition: SQHitVector.h:32
An SQ interface class to hold one simulated-event header.
Definition: SQMCEvent.h:12
An SQ interface class to hold a list of SQTrack objects.
Definition: SQTrackVector.h:19
Class to handle the trigger roadset.
Definition: TrigRoadset.h:34