EventLID.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file EID.h
3 // \brief A pid object for electron identification based on Jianming
4 // Bian's original EID
5 // \version
6 // \author Alex Smith - smith@physics.umn.edu
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef EventLID_H
9 #define EventLID_H
10 
11 #include <vector>
12 #include "RecoBase/PID.h"
13 
14 namespace slid {
15 
16  class EventLID : public rb::PID {
17  public:
18 
19  EventLID() : fPIDWithE(-5.0),fPIDEPi0(-5.0){};
21 #ifndef __GCCXML__
22  EventLID(int pdg, double val);
23 
24  void SetValWithE (float in) { fPIDWithE = in; }
25  void SetValEPi0 (float in) { fPIDEPi0 = in; }
26  void SetValECos (float in) { fPIDECos = in; }
27 
28  float ValueWithE () const { return fPIDWithE; }
29  float ValueEPi0 () const { return fPIDEPi0; }
30  float ValueECos () const { return fPIDECos; }
31 
32 #endif // __GCCXML__
33 
34  private:
35  float fPIDWithE;
36  float fPIDEPi0;
37  float fPIDECos;
38 
39  };
40 
41 }
42 #endif
A pid value and corresponding pdg code.
Definition: PID.h:13
pdg code and pid value
void SetValWithE(float in)
Definition: EventLID.h:24
float fPIDECos
Definition: EventLID.h:37
float ValueEPi0() const
Definition: EventLID.h:29
void SetValEPi0(float in)
Definition: EventLID.h:25
float ValueWithE() const
Definition: EventLID.h:28
ifstream in
Definition: comparison.C:7
void SetValECos(float in)
Definition: EventLID.h:26
Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make av...
Definition: FillPIDs.h:13
float fPIDEPi0
Definition: EventLID.h:36
float ValueECos() const
Definition: EventLID.h:30
float fPIDWithE
Definition: EventLID.h:35