File indexing completed on 2025-12-17 09:20:00
0001 #ifndef CALORECO_RAWCLUSTERZVTXRECORRECT_H
0002 #define CALORECO_RAWCLUSTERZVTXRECORRECT_H
0003
0004 #include "CaloRecoUtility.h"
0005
0006 #include <fun4all/SubsysReco.h>
0007
0008 #include <string>
0009 #include <vector>
0010
0011 class PHCompositeNode;
0012
0013
0014 class RawClusterZVertexRecorrect : public SubsysReco
0015 {
0016 public:
0017 explicit RawClusterZVertexRecorrect(const std::string &name);
0018
0019 int InitRun(PHCompositeNode *topNode) override;
0020 int process_event(PHCompositeNode *topNode) override;
0021 int End(PHCompositeNode *topNode) override;
0022
0023
0024
0025
0026 void set_UseTowerInfo(const int useMode)
0027 {
0028 m_UseTowerInfo = useMode;
0029 }
0030
0031
0032 void set_UseBbcZVtx(const bool useBbc)
0033 {
0034
0035 m_UseBbcZVtx = useBbc;
0036 }
0037
0038
0039 private:
0040
0041
0042
0043 std::string _det_name;
0044
0045 CaloRecoUtility m_calrecoUtilInstance;
0046 int m_UseTowerInfo = 0;
0047 bool m_UseBbcZVtx = false;
0048
0049 };
0050
0051 #endif