File indexing completed on 2025-08-07 08:12:34
0001 #ifndef COLUMNCHECK_H
0002 #define COLUMNCHECK_H
0003
0004
0005 #include "../ClusHistogram/ClusHistogram.h"
0006
0007 #include "../EvtVtxZTracklet/structure.h"
0008
0009 #include "../Constants.h"
0010
0011 class ColumnCheck : public ClusHistogram{
0012 public:
0013 ColumnCheck(
0014 int process_id_in,
0015 int runnumber_in,
0016 int run_nEvents_in,
0017 std::string input_directory_in,
0018 std::string input_file_name_in,
0019 std::string output_directory_in,
0020
0021 std::string output_file_name_suffix_in,
0022 std::pair<double, double> vertexXYIncm_in,
0023 double SetMbinFloat_in,
0024
0025 std::pair<double, double> VtxZRange_in,
0026 bool IsZClustering_in,
0027 bool BcoFullDiffCut_in,
0028 std::pair<bool, std::pair<double, double>> isClusQA_in,
0029
0030 bool ColMulMask_in
0031 );
0032
0033 void MainProcess() override;
0034
0035 void EndRun() override;
0036
0037 protected:
0038 void EvtCleanUp() override;
0039 void PrepareOutPutFileName() override;
0040 void PrepareOutPutRootFile() override;
0041 void PrepareHistograms() override;
0042
0043
0044 bool IsZClustering;
0045 std::pair<double, double> VtxZRange;
0046 double SetMbinFloat;
0047
0048
0049 std::map<std::string,TH1D*> h1D_map;
0050 std::map<std::string, TH2D*> h2D_map;
0051
0052
0053 double typeA_sensor_half_length_incm = Constants::typeA_sensor_half_length_incm;
0054 double typeB_sensor_half_length_incm = Constants::typeB_sensor_half_length_incm;
0055 int Semi_inclusive_bin = Constants::Semi_inclusive_bin;
0056
0057
0058
0059
0060 };
0061
0062 #endif