Class Reference for E1039 Core & Analysis Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UtilSRawEvent.h
Go to the documentation of this file.
1 #ifndef _UTIL_SRAWEVENT__H_
2 #define _UTIL_SRAWEVENT__H_
3 #include <map>
4 class SRawEvent;
5 class SQEvent;
6 class SQSpillMap;
7 class SQSpill;
8 class SQHitVector;
9 
11 namespace UtilSRawEvent {
12  bool SetEvent (SRawEvent* sraw, const SQEvent* evt , const bool do_assert=false);
13  bool SetSpill (SRawEvent* sraw, const SQSpill* sp , const bool do_assert=false);
14  bool SetHit (SRawEvent* sraw, const SQHitVector* hit_vec, std::map<int, size_t>* hitID_idx=0, const bool do_assert=false);
15  bool SetTriggerHit(SRawEvent* sraw, const SQHitVector* hit_vec, std::map<int, size_t>* hitID_idx=0, const bool do_assert=false);
16 };
17 
18 #endif // _UTIL_SRAWEVENT__H_
An SQ interface class to hold one event header.
Definition: SQEvent.h:17
An SQ interface class to hold a list of SQHit objects.
Definition: SQHitVector.h:32
An SQ interface class to hold a list of SQSpill objects.
Definition: SQSpillMap.h:19
An SQ interface class to hold the data of one spill.
Definition: SQSpill.h:19
A set of utility functions about SRawEvent.
Definition: UtilSRawEvent.h:11
bool SetTriggerHit(SRawEvent *sraw, const SQHitVector *hit_vec, std::map< int, size_t > *hitID_idx=0, const bool do_assert=false)
bool SetEvent(SRawEvent *sraw, const SQEvent *evt, const bool do_assert=false)
bool SetHit(SRawEvent *sraw, const SQHitVector *hit_vec, std::map< int, size_t > *hitID_idx=0, const bool do_assert=false)
bool SetSpill(SRawEvent *sraw, const SQSpill *sp, const bool do_assert=false)