ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TSolidAngleProcessor.h
Go to the documentation of this file.
1/**
2 * @file TSolidAngleProcessor.h
3 * @brief
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2023-08-01 11:08:17
6 * @note last modified: 2025-01-08 10:35:36
7 * @details
8 */
9
10#ifndef _CRIB_TSOLIDANGLEPROCESSOR_H_
11#define _CRIB_TSOLIDANGLEPROCESSOR_H_
12
13#include <TProcessor.h>
14
15#include <TH2.h>
16
17namespace art::crib {
18class TSolidAngleProcessor;
19}
20
21class TClonesArray;
22
24 public:
25 /// @brief default constructor
27 /// @brief default destructor
28 ~TSolidAngleProcessor() override;
29
30 /// @brief Init (override)
31 /// @param col
32 void Init(TEventCollection *col) override;
33
34 /// @brief Process (override)
35 void Process() override;
36 /// @brief EndOfRun process (override)
37 void EndOfRun() override;
38
39 protected:
40 /// @brief Input detected particle object name
42 /// @brief Input reaction object name
44 /// @brief Input detected particle object
45 TClonesArray **fInData; //!
46 /// @brief Input reaction object
47 TClonesArray **fInReacData; //!
48
49 /// @brief Histogram bin number
51 /// @brief Histogram range (min, max)
52 DoubleVec_t fRange_angle;
53 /// @brief Histogram bin number
55 /// @brief Histogram range (min, max)
56 DoubleVec_t fRange_energy;
57
58 /// @brief Output histogram ROOT file name
59 TString fFileName;
60
61 /// @brief solid angle (x: angle_cm)
62 TH1D *h1_a;
63 /// @brief for normalize (x: angle_cm)
64 TH1D *h1_a_all;
65 /// @brief solid angle (x: Ecm)
66 TH1D *h1_e;
67 /// @brief for normalize (x: Ecm)
68 TH1D *h1_e_all;
69 /// @brief solid angle (x: Ecm, y: angle_cm)
70 TH2D *h2;
71 /// @brief for normalie (x: Ecm, y: angle_cm)
72 TH2D *h2_all;
73
74 private:
77
78 ClassDefOverride(TSolidAngleProcessor, 1)
79};
80
81#endif // end of #ifndef _TSOLIDANGLEPROCESSOR_H_
TH2D * h2_all
for normalie (x: Ecm, y: angle_cm)
void EndOfRun() override
EndOfRun process (override)
DoubleVec_t fRange_energy
Histogram range (min, max)
TSolidAngleProcessor & operator=(const TSolidAngleProcessor &rhs)=delete
TH1D * h1_e_all
for normalize (x: Ecm)
TString fInputReacColName
Input reaction object name.
TString fInputColName
Input detected particle object name.
TSolidAngleProcessor(const TSolidAngleProcessor &rhs)=delete
DoubleVec_t fRange_angle
Histogram range (min, max)
~TSolidAngleProcessor() override
default destructor
TH2D * h2
solid angle (x: Ecm, y: angle_cm)
TClonesArray ** fInData
Input detected particle object.
TH1D * h1_a_all
for normalize (x: angle_cm)
void Init(TEventCollection *col) override
Init (override)
TH1D * h1_e
solid angle (x: Ecm)
TString fFileName
Output histogram ROOT file name.
TH1D * h1_a
solid angle (x: angle_cm)
Int_t fNbin_angle
Histogram bin number.
TClonesArray ** fInReacData
Input reaction object.
void Process() override
Process (override)
Int_t fNbin_energy
Histogram bin number.
return to the guide