MatchableEvent.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file MatchableEvent.h
3 /// \brief Attach some information used in matching to an EventSummary
4 /// \author Christopher Backhouse - bckhouse@caltech.edu
5 ////////////////////////////////////////////////////////////////////////
6 
7 #ifndef LEM_MATCHABLEEVENT_H
8 #define LEM_MATCHABLEEVENT_H
9 
10 #include "LEM/func/EventSummary.h"
11 
12 namespace lem
13 {
14  /// Attach some information used in matching to an EventSummary
16  {
17  public:
19  explicit MatchableEvent(const EventSummary& evt);
20 
21  MatchableEvent Downsampled(int factor) const;
22 
23  MatchableEvent Flipped(bool flipEven, bool flipOdd) const;
24 
25  double weight;
26  float selfEnergy;
27  };
28 } // namespace
29 
30 #endif
Simple representation of event for LEM use.
Definition: EventSummary.h:26
Attach some information used in matching to an EventSummary.
MatchableEvent Flipped(bool flipEven, bool flipOdd) const
PID
Definition: FillPIDs.h:14
int evt
MatchableEvent Downsampled(int factor) const
Simple representation of event for LEM use.