Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:15:04

0001 #ifndef SAVETOWERINFO_H__
0002 #define SAVETOWERINFO_H__
0003 
0004 #include <calobase/TowerInfov1.h>
0005 #include <calobase/TowerInfoContainerv1.h>
0006 
0007 #include <fun4all/SubsysReco.h>
0008 
0009 /// Class declarations for use in the analysis module
0010 class PHCompositeNode;
0011 
0012 /// Definition of this analysis module class
0013 class SaveTowerInfo : public SubsysReco
0014 {
0015  public:
0016 
0017   /// Constructor
0018   SaveTowerInfo(const std::string &name = "SaveTowerInfo");
0019 
0020   // Destructor
0021   virtual ~SaveTowerInfo();
0022 
0023   /// SubsysReco initialize processing method
0024   int Init(PHCompositeNode *);
0025 
0026   /// SubsysReco event processing method
0027   int process_event(PHCompositeNode *);
0028 
0029   /// SubsysReco end processing method
0030   int End(PHCompositeNode *);
0031 
0032   void CreateNodeTree(PHCompositeNode *topNode);
0033 
0034 
0035  private:
0036   /// String to contain the outfile name containing the trees
0037   TowerInfoContainerv1 *m_EMCalTowerContainer; //! Container
0038   PHCompositeNode *dst_node;
0039 
0040 
0041   /**
0042    * Make variables for the relevant trees
0043    */
0044 
0045 
0046 };
0047 
0048 #endif