ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TTelescopeProcessor.h
Go to the documentation of this file.
1/**
2 * @file TTelescopeProcessor.h
3 * @brief
4 * @author Kodai Okawa<okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2024-01-17 16:53:01
6 * @note last modified: 2025-01-08 10:36:19
7 * @details if no valid converter given, this processor does nothing.
8 * it assume we use DSSSD
9 */
10
11#ifndef _CRIB_TTELESCOPEPROCESSOR_H_
12#define _CRIB_TTELESCOPEPROCESSOR_H_
13
14#include <TProcessor.h>
15
16namespace art::crib {
17class TTelescopeProcessor;
18class TDetectorParameter;
19class TTargetParameter;
20} // namespace art::crib
21
22class TClonesArray;
23
25 public:
26 // Default constructor
28 ~TTelescopeProcessor() override;
29
30 void Init(TEventCollection *col) override;
31 void Process() override;
32
33 static const Int_t DEFAULT_SSD_MAX_NUMBER = 4;
34
35 protected:
36 TString fInputColName1; //! from X strip SSD
37 TString fInputColName2; //! from Y strip SSD
38 TString fInputColName3; //! from thick SSD array
39 TString fOutputColName; //! output object
40
41 TClonesArray **fInData1; //! TTimingChargeData array from X strip SSD
42 TClonesArray **fInData2; //! TTimingChargeData array from Y strip SSD
43 TClonesArray **fInData3; //! TTimingChargeData array from thick SSDs
44 TClonesArray *fOutData; //! TTelescopeData array
45
46 Bool_t fIsDSSSD;
47 Bool_t fUseRandom;
49
50 // from parameter file
51 TString fDetPrmName;
53 TClonesArray **fDetParameters; //! all parameter info of TDetectorParameter
54 TClonesArray **fTargetParameters; //! all parameter info of TTargetParameter
55 TDetectorParameter *fDetParameter; //! one (this telescope) detector parameter
56 TTargetParameter *fTargetParameter; //! one (default index 0) target parameter
57
58 Bool_t fHasDetPrm;
60
61 Int_t fTelID;
62
63 private:
64 // Copy constructor (prohibited)
66 // Assignment operator (prohibited)
68
69 ClassDefOverride(TTelescopeProcessor, 2) // processor for calibration of timing and charge data
70};
71
72#endif // _TTELESCOPEPROCESSOR_H_
TDetectorParameter * fDetParameter
all parameter info of TTargetParameter
TTelescopeProcessor(const TTelescopeProcessor &rhs)=delete
TTargetParameter * fTargetParameter
one (this telescope) detector parameter
void Init(TEventCollection *col) override
TString fInputColName2
from X strip SSD
TClonesArray * fOutData
TTimingChargeData array from thick SSDs.
static const Int_t DEFAULT_SSD_MAX_NUMBER
TTelescopeProcessor & operator=(const TTelescopeProcessor &rhs)=delete
TString fOutputColName
from thick SSD array
TClonesArray ** fInData2
TTimingChargeData array from X strip SSD.
TClonesArray ** fInData3
TTimingChargeData array from Y strip SSD.
TClonesArray ** fInData1
output object
TClonesArray ** fTargetParameters
all parameter info of TDetectorParameter
TString fInputColName3
from Y strip SSD
Bool_t fIsDSSSD
TTelescopeData array.
Bool_t fHasDetPrm
one (default index 0) target parameter
return to the guide