Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-19 09:24:40

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef PROTOTYPE2_CALOUNPACKPRDF_H
0004 #define PROTOTYPE2_CALOUNPACKPRDF_H
0005 
0006 //* Unpacks raw HCAL PRDF files *//
0007 // Abhisek Sen
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 Init(PHCompositeNode *topNode);
0022 
0023   int InitRun(PHCompositeNode *topNode);
0024 
0025   int process_event(PHCompositeNode *topNode);
0026 
0027   void CreateNodeTree(PHCompositeNode *topNode);
0028 
0029  private:
0030   Event *_event;
0031   Packet *_packet;
0032   int _nevents;
0033 
0034   // HCAL node
0035   PHCompositeNode *dst_node;
0036   PHCompositeNode *data_node;
0037 
0038   // Towers
0039   RawTowerContainer *hcalin_towers_lg;
0040   RawTowerContainer *hcalout_towers_lg;
0041 
0042   RawTowerContainer *hcalin_towers_hg;
0043   RawTowerContainer *hcalout_towers_hg;
0044 
0045   RawTowerContainer *emcal_towers;
0046 };
0047 
0048 #endif