ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TTreeBeamGenerator.h
Go to the documentation of this file.
1/**
2 * @file TTreeBeamGenerator.h
3 * @brief
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2023-06-09 15:57:38
6 * @note last modified: 2025-01-10 11:09:06
7 * @details
8 */
9
10#ifndef CRIB_TTREEBEAMGENERATOR_H_
11#define CRIB_TTREEBEAMGENERATOR_H_
12
13#include <TProcessor.h>
14
15class TClonesArray;
16
17namespace art::crib {
19 public:
21 ~TTreeBeamGenerator() override;
22
23 void Init(TEventCollection *) override;
24 void Process() override;
25
26 private:
27 TString fInputColName{"track"};
28 TString fOutputColName{"beam"};
29 TClonesArray **fInData{nullptr}; //!
30 TClonesArray *fOutData{nullptr}; //!
31
32 Int_t fMassNum{0};
33 Int_t fAtmNum{0};
34 Int_t fChargeNum{0};
35 Double_t fBeamEnergy{100.0};
36 Double_t fEsigma{1.0};
37 Double_t fMass{0.0};
38
39 // Copy constructor (prohibited)
41 // Assignment operator (prohibited)
43
45};
46} // namespace art::crib
47
48#endif // end of #ifndef CRIB_TTREEBEAMGENERATOR_H_
TTreeBeamGenerator(const TTreeBeamGenerator &rhs)=delete
TTreeBeamGenerator & operator=(const TTreeBeamGenerator &rhs)=delete
ClassDefOverride(TTreeBeamGenerator, 2)
void Init(TEventCollection *) override
return to the guide