StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjAbstractMCParticleRegion.h
1 // -*- mode: C++ -*-
2 
3 //
4 // Grant Webb <gdwebb@bnl.gov>
5 //
6 // 10 August 2015
7 //
8 
9 #ifndef STJ_ABSTRACT_MCPARTICLE_REGION_H
10 #define STJ_ABSTRACT_MCPARTICLE_REGION_H
11 
12 // ROOT
13 #include "TObject.h"
14 
15 // STAR
16 #include "StjMCParticleList.h"
17 #include "StSpinPool/StJetEvent/StJetCandidate.h"
18 
19 class StjAbstractMCParticleRegion : public TObject {
20 public:
22  virtual ~StjAbstractMCParticleRegion() {}
23 
24  StjMCParticleList operator()(const StjMCParticleList& particleList, const StJetCandidate* jet, const TString name)
25  {
26  return Do(particleList, jet, name);
27  }
28 
29  virtual StjMCParticleList Do(const StjMCParticleList& particleList, const StJetCandidate* jet, const TString name) = 0;
30 
31  ClassDef(StjAbstractMCParticleRegion,0);
32 };
33 
34 #endif //STJ_ABSTRACT_MCPARTICLE_REGION_H