Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
p3pi_hists/DCustomAction_CutExtraTrackPID.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DCustomAction_CutExtraTrackPID.h
4 // Created: Thu Oct 1 21:41:32 EDT 2015
5 // Creator: pmatt (on Darwin Pauls-MacBook-Pro-2.local 13.4.0 i386)
6 //
7 
8 #ifndef _DCustomAction_CutExtraTrackPID_
9 #define _DCustomAction_CutExtraTrackPID_
10 
11 #include <string>
12 #include <iostream>
13 
14 #include "JANA/JEventLoop.h"
15 #include "JANA/JApplication.h"
16 
18 #include "ANALYSIS/DCutActions.h"
19 #include "ANALYSIS/DReaction.h"
22 
23 using namespace std;
24 using namespace jana;
25 
27 {
28  public:
29 
30  DCustomAction_CutExtraTrackPID(const DReaction* locReaction, Particle_t locExtraTrackTargetPID, string locActionUniqueString = "") :
31  DAnalysisAction(locReaction, "Custom_CutExtraTrackPID", false, locActionUniqueString),
32  dExtraTrackTargetPID(locExtraTrackTargetPID) {}
33 
34  void Initialize(JEventLoop* locEventLoop);
35 
36  private:
37 
39  map<DetectorSystem_t, double> dPIDCuts;
41 
42  bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo);
43 
44  // Optional: Useful utility functions.
46 
47  //Store any histograms as member variables here
48 };
49 
50 #endif // _DCustomAction_CutExtraTrackPID_
51 
DCustomAction_CutExtraTrackPID(const DReaction *locReaction, Particle_t locExtraTrackTargetPID, string locActionUniqueString="")
Particle_t
Definition: particleType.h:12