SliceLID.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 SLICELID_H
9 #define SLICELID_H
10 
11 #include <vector>
12 #include "RecoBase/PID.h"
13 
14 namespace slid {
15 
16  class SliceLID : public rb::PID {
17  public:
18 
19  SliceLID() : fValue(-5.0){};
21 #ifndef __GCCXML__
22  SliceLID(int pdg, double val);
23 
24  void SetValue (float in) { fValue = in; }
25  float Value () const { return fValue; }
26 
27 #endif // __GCCXML__
28 
29  private:
30  float fValue;
31  };
32 
33 }
34 #endif
A pid value and corresponding pdg code.
Definition: PID.h:13
pdg code and pid value
ifstream in
Definition: comparison.C:7
float Value() const
Definition: SliceLID.h:25
Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make av...
Definition: FillPIDs.h:13
void SetValue(float in)
Definition: SliceLID.h:24
float fValue
Definition: SliceLID.h:30