StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTowerRegion.h
1 // -*- mode: C++ -*-
2 
3 //
4 // Grant Webb <gdwebb@bnl.gov>
5 // Brookhaven National Laboratory
6 // 3 August 2015
7 //
8 
9 #ifndef STJ_TOWER_REGION_H
10 #define STJ_TOWER_REGION_H
11 
12 // STAR
13 #include "StjTowerEnergyList.h"
14 #include <iostream>
15 using namespace std;
16 //Local
17 #include "StjAbstractTowerRegion.h"
18 //#include "StJetFinder/StJetFinder.h"
19 //#include "StSpinPool/StJetEvent/StJetEventTypes.h" // Need to implement the jet candidate somehow
20 
22 public:
23  StjTowerRegion(float phiplus, float phiminus, float deta) : mphiplus(phiplus), mphiminus(phiminus), mdeta(deta){}
24  virtual ~StjTowerRegion() {}
25 
26  StjTowerEnergyList Do(const StjTowerEnergyList &towerList, const StJetCandidate* leadingjet, const TString bname);
27  float phiplus() const {return mphiplus;}
28  float phiminus() const {return mphiminus;}
29  float deta() const { return mdeta;}
30  void setphiplus(float phiplus) { mphiplus = phiplus;}
31  void setphiminus(float phiminus) { mphiminus = phiminus;}
32  void setdeta(float deta) {mdeta = deta;}
33 private:
34  float mphiplus;
35  float mphiminus;
36  float mdeta;
37  ClassDef(StjTowerRegion,0);
38 };
39 
40 #endif // STJ_TOWER_REGION_H