BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TofRawDataProvider.h
Go to the documentation of this file.
1#ifndef TOFRAWDATAPROVIDER_H
2#define TOFRAWDATAPROVIDER_H
3
4#include "GaudiKernel/ISvcLocator.h"
5#include "GaudiKernel/IMessageSvc.h"
6#include "GaudiKernel/IIncidentListener.h"
9
10const double timeDiff = 20.0;
11const double tClockDiff = 1.0;
12const double timeForward = 120.0;
13const double timeBackward = 24.0;
14const double tClockForward = 5.0;
15const double tClockBackward = 1.0;
16
17// RawDataProvider for TOF
18// author: Sun Shengsen
20 public:
22 TofRawDataProvider( const char* name );
24
25 // initialize service point
26 StatusCode initialize( bool mode= false, ISvcLocator* svcLoc=0, IMessageSvc* pMsg=0 );
27
28 // Incident handler
29 void handle(const Incident&);
30
31 // get multimap or vector of the TofData
32 void tofDataMapFull();
33
34 // online mode
35 TofDataMap& tofDataMapOnlineMode(uint32_t control=1);
36 TofDataVector& tofDataVectorOnlineMode(uint32_t control=1);
37
38 // event start time
41
42 // tof reconstruction
43 TofDataMap& tofDataMapTof( double estime = 0.0 );
44 TofDataVector& tofDataVectorTof( double estime = 0.0 );
45
46 // emc reconstruction
47 TofDataMap& tofDataMapEmc( double estime = 0.0 );
48 TofDataVector& tofDataVectorEmc( double estime = 0.0 );
49
50 private:
51 bool m_hasFilled;
52 TofDataMap m_tofDataMap; // storage of result
53 // OnlineMode
54 TofDataMap m_tofDataMapOnline;
55 TofDataVector m_tofDataVectorOnline;
56 // Event Start Time
57 TofDataMap m_tofDataMapEstime;
58 TofDataVector m_tofDataVectorEstime;
59 // TOF Reconstruction
60 TofDataMap m_tofDataMapTof;
61 TofDataVector m_tofDataVectorTof;
62 // EMC Reconstruction using energy deposit in TOF
63 TofDataMap m_tofDataMapEmc;
64 TofDataVector m_tofDataVectorEmc;
65
66};
67#endif
std::multimap< unsigned int, TofData * > TofDataMap
Definition: TofData.h:244
std::vector< TofData * > TofDataVector
Definition: TofData.h:247
const double tClockBackward
const double tClockForward
const double timeDiff
const double timeForward
const double tClockDiff
const double timeBackward
TofDataMap & tofDataMapTof(double estime=0.0)
void handle(const Incident &)
TofDataVector & tofDataVectorTof(double estime=0.0)
TofDataMap & tofDataMapOnlineMode(uint32_t control=1)
TofDataMap & tofDataMapEstime()
TofDataVector & tofDataVectorEmc(double estime=0.0)
TofDataVector & tofDataVectorEstime()
TofDataVector & tofDataVectorOnlineMode(uint32_t control=1)
StatusCode initialize(bool mode=false, ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0)
TofDataMap & tofDataMapEmc(double estime=0.0)