forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAliTRIPreprocessor.h
42 lines (30 loc) · 1.31 KB
/
AliTRIPreprocessor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef ALI_TRI_PREPROCESSOR_H
#define ALI_TRI_PREPROCESSOR_H
class TMap;
class AliShuttleInterface;
#include "AliPreprocessor.h"
// Preprocessor for triggering detectors
// Every Triggering detector should implement his own ProcessDETTriggerData
// function which will be called according to the TriggerDetectorMask
// found in the DAQ logbook_trigger_clusters table
class AliTRIPreprocessor : public AliPreprocessor
{
public:
enum { kNDetectorsMap = 31 }; // number of entries in detectors_map as in /date/db/detCodes.h. Adding empty strings when there's an "empty" index
AliTRIPreprocessor(AliShuttleInterface* shuttle);
virtual ~AliTRIPreprocessor();
Short_t ProcessSPDTriggerData();
Short_t ProcessTOFTriggerData();
Short_t ProcessEmptyTriggerData();
protected:
virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
virtual UInt_t Process(TMap* /*dcsAliasMap*/);
virtual Bool_t ProcessDCS();
private:
AliTRIPreprocessor(const AliTRIPreprocessor & proc); // copy constructor
AliTRIPreprocessor& operator=(const AliTRIPreprocessor & proc);
static const char* fgkDetectorsMapName[kNDetectorsMap]; // names of detectors/systems in the DETECTORS_MAP in /date/db/detCodes.h
AliShuttleInterface *fShuttle;
ClassDef(AliTRIPreprocessor, 0);
};
#endif