File indexing completed on 2025-12-19 09:24:41
0001
0002
0003 #ifndef PROTOTYPE3_CALOUNPACKPRDF_H
0004 #define PROTOTYPE3_CALOUNPACKPRDF_H
0005
0006
0007
0008
0009 #include <fun4all/SubsysReco.h>
0010
0011 class Event;
0012 class Packet;
0013 class PHCompositeNode;
0014 class RawTowerContainer;
0015
0016 class CaloUnpackPRDF : public SubsysReco
0017 {
0018 public:
0019 CaloUnpackPRDF();
0020
0021 int InitRun(PHCompositeNode *topNode);
0022
0023 int process_event(PHCompositeNode *topNode);
0024
0025 void CreateNodeTree(PHCompositeNode *topNode);
0026
0027
0028 void set_use_high_eta_EMCal(bool b) { _use_high_eta_EMCal = b ? 1 : 0; }
0029
0030 private:
0031 Event *_event;
0032 Packet *_packet;
0033 int _nevents;
0034
0035
0036 int _use_high_eta_EMCal;
0037
0038
0039 PHCompositeNode *dst_node;
0040 PHCompositeNode *data_node;
0041
0042
0043 RawTowerContainer *hcalin_towers_lg;
0044 RawTowerContainer *hcalout_towers_lg;
0045
0046 RawTowerContainer *hcalin_towers_hg;
0047 RawTowerContainer *hcalout_towers_hg;
0048
0049 RawTowerContainer *emcal_towers;
0050 };
0051
0052 #endif