ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TF1PPACProcessor.h
Go to the documentation of this file.
1/**
2 * @file TF1PPACProcessor.h
3 * @brief Created from TPPACProcessor
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2022-08-08 17:27:59
6 * @note last modified: 2025-01-08 10:27:48
7 * @details
8 */
9
10#ifndef _CRIB_TF1PPACPROCESSOR_H
11#define _CRIB_TF1PPACPROCESSOR_H
12
13#include <TProcessor.h>
14
15namespace art {
16class TCategorizedData;
17class TConverterBase;
18class TPPACParameter;
19} // namespace art
20
21namespace art::crib {
22class TF1PPACProcessor;
23} // namespace art::crib
24
25class TClonesArray;
26
28
29 public:
30 // Default constructor
32 ~TF1PPACProcessor() override;
33
34 void Init(TEventCollection *col) override;
35 void Process() override;
36
37 protected:
38 StringVec_t fInputColName;
40 TCategorizedData **fCategorizedData; //!
41 TClonesArray *fPPACOut;
42
43 Int_t fCatID; // default: 1 (ppac in anapaw)
44
45 static const Int_t DETID_ORIGIN = 0;
46
51
52 std::vector<TConverterBase *> *fTimingConverterArray; //!
53 std::vector<TConverterBase *> *fChargeConverterArray; //!
54 std::vector<TConverterBase *> *fXConverterArray; //!
55 std::vector<TConverterBase *> *fYConverterArray; //!
56
57 // using ppac parameter set
58 TString fParameterName; // name of parameter set
59 TClonesArray **fParameterSet; //! parameter set
60 StringVec_t fListOfParameterNames; // list of parameter name for each ppac
61 std::vector<TPPACParameter *> fPPACParameter; //! list of parmaeter for each ppac
62 // output separately
63 StringVec_t fListOfPPACNames; // list of ppac name for each ppac
64 std::vector<TClonesArray *> fPPACArray; //! list of ppacs
65 Bool_t fDoSeparatePPACs; // flag if separte the output of PPACs
66 Bool_t fHasEachChConverter; // flag if the converter for each channel is prepared
67 Bool_t fDoInsideOffset; // flag to calibrate inside offset
68 Bool_t fDoOutsideOffset; // flag to calibrate outside offset
69 Bool_t fDoGeometryOffset; // flag to calibrate geometry offset
70
71 private:
72 // Copy constructor (prohibited)
73 TF1PPACProcessor(const TF1PPACProcessor &rhs) = delete;
74 // Assignment operator (prohibited)
76
77 ClassDefOverride(TF1PPACProcessor, 0) // processor for PPAC analysis
78};
79
80#endif // TF1PPACPROCESSOR_H
std::vector< TClonesArray * > fPPACArray
std::vector< TConverterBase * > * fChargeConverterArray
TCategorizedData ** fCategorizedData
Bool_t fDoSeparatePPACs
list of ppacs
TF1PPACProcessor & operator=(const TF1PPACProcessor &rhs)=delete
static const Int_t DETID_ORIGIN
std::vector< TConverterBase * > * fXConverterArray
StringVec_t fListOfParameterNames
parameter set
std::vector< TPPACParameter * > fPPACParameter
std::vector< TConverterBase * > * fYConverterArray
TF1PPACProcessor(const TF1PPACProcessor &rhs)=delete
StringVec_t fListOfPPACNames
list of parmaeter for each ppac
void Init(TEventCollection *col) override
std::vector< TConverterBase * > * fTimingConverterArray
return to the guide