PIDDetails.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file PIDDetails.h
3 // \brief Attach LEM-specific info to the base PID object
4 // \author Christopher Backhouse - bckhouse@caltech.edu
5 ////////////////////////////////////////////////////////////////////////
6 
7 #ifndef LEM_PIDDETAILS_H
8 #define LEM_PIDDETAILS_H
9 
10 #include "RecoBase/PID.h"
11 
12 #include "LEM/func/MatchList.h"
13 #include "LEM/func/PIDExtraVars.h"
14 
15 #include <string>
16 
17 namespace lem
18 {
19  /// Attach LEM-specific info to the base PID object
20  class PIDDetails: public rb::PID
21  {
22  public:
24 #ifndef __GCCXML__
25  PIDDetails(double pid): PID(12, pid) {}
26 
27  std::string ToString() const;
28  static PIDDetails FromString(const std::string& s);
29 #endif // __GCCXML__
30 
33  };
34 }
35 
36 #endif
A pid value and corresponding pdg code.
Definition: PID.h:13
pdg code and pid value
PID()
Definition: PID.cxx:13
Collection of MatchSummary objects.
PID
Definition: FillPIDs.h:14
const XML_Char * s
Definition: expat.h:262
Collection of MatchSummary objects.
Definition: MatchList.h:17
Outputs of the MakePID module.
Definition: PIDExtraVars.h:15
MatchList matchList
Definition: PIDDetails.h:31
PIDDetails(double pid)
Definition: PIDDetails.h:25
static PIDDetails FromString(const std::string &s)
Definition: PIDDetails.cxx:19
PIDExtraVars vars
Definition: PIDDetails.h:32
std::string ToString() const
Definition: PIDDetails.cxx:9
Attach LEM-specific info to the base PID object.
Definition: PIDDetails.h:20
enum BeamMode string