Back to home page

sPhenix code displayed by LXR

 
 

    


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

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