ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TTimingChargeAllMappingProcessor.h
Go to the documentation of this file.
1/**
2 * @file TTimingChargeAllMappingProcessor.h
3 * @brief from TTimingChargeMappingProcessor, both E and T
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2022?
6 * @note last modified: 2025-01-08 10:28:49
7 * @details
8 */
9
10#ifndef _CRIB_TTIMINGCHARGEALLMAPPINGPROCESSOR_H
11#define _CRIB_TTIMINGCHARGEALLMAPPINGPROCESSOR_H
12
13#include <TProcessor.h>
14
15namespace art {
16class TCategorizedData;
17} // namespace art
18
19namespace art::crib {
20class TTimingChargeAllMappingProcessor;
21} // namespace art::crib
22
23class TClonesArray;
24
26
27 public:
28 // Default constructor
31
32 void Init(TEventCollection *) override;
33 void Process() override;
34
35 protected:
38 TCategorizedData **fCategorizedData; //!
39 TClonesArray *fPlastic; //!
40
41 Int_t fCatID; // default: 21 (spla in anapaw)
42 Int_t fChargeType; // 0: V1190 width (default), 1: QDC (V792 etc)
43 Int_t fChargeTypeID; // used only when fChargeType is QDC
44 Int_t fTimingTypeID; // Typeid for timing (& width when fChargeType is V1190width)
45 Bool_t fTrailingComesFirst; // F: TL->TT (default), T: TT->TL (for QTC etc.)
46
47 Bool_t fIsSparse;
48
49 private:
50 // Copy constructor (prohibited)
52 // Assignment operator (prohibited)
54
55 void MapEdgedTime(const TObjArray *);
56 void MapPairedTimeCharge(const TObjArray *);
57 void MapTimeCharge(const TObjArray *, const TObjArray *);
58
63
64 ClassDefOverride(TTimingChargeAllMappingProcessor, 0) // processor for mapping timine and charge data
65};
66
67#endif // TTIMINGCHARGEALLMAPPINGPROCESSOR_H
TTimingChargeAllMappingProcessor & operator=(const TTimingChargeAllMappingProcessor &)=delete
TTimingChargeAllMappingProcessor(const TTimingChargeAllMappingProcessor &)=delete
void MapTimeCharge(const TObjArray *, const TObjArray *)
return to the guide