Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventInfoSummary.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventInfoSummary.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef PROTOTYPE4_EVENTINFOSUMMARY_H
4 #define PROTOTYPE4_EVENTINFOSUMMARY_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <map>
9 #include <string>
10 
11 class PHCompositeNode;
12 
14 {
15  public:
17 
18  int InitRun(PHCompositeNode *topNode);
19 
20  int process_event(PHCompositeNode *topNode);
21 
22  void CreateNodeTree(PHCompositeNode *topNode);
23 
25  void
27  const int packet_id,
28  const unsigned int offset,
29  const double calibration_const =
30  +1
31  );
32 
33  private:
35  {
36  public:
37  channel_info(int p, unsigned int o, double c)
38  : packet_id(p)
39  , offset(o)
41  {
42  }
43 
44  int packet_id;
45  unsigned offset;
47  };
48 
50  typedef std::map<std::string, channel_info> typ_channel_map;
51 
53 
55 };
56 
57 #endif