StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcPointFitMaker.h
1 #ifndef __StEEmcPointFitMaker_h__
2 #define __StEEmcPointFitMaker_h__
3 
4 #include "StEEmcPointMaker.h"
5 
6 class EEmcSectorFit;
7 
9 {
10 public:
11  StEEmcPointFitMaker(const Char_t *n);
12  virtual ~StEEmcPointFitMaker(){ /*nada*/ };
14  virtual Int_t Init();
16  virtual Int_t Make();
18  Int_t FitSector(Int_t s);
20  virtual void Clear(Option_t *opts="");
22  EEmcSectorFit *fit(Int_t sec){ return mSectorFit[sec]; }
23  const EEmcSectorFit *fit(Int_t sec) const { return mSectorFit[sec]; }
24 
26  void doPermutations(Bool_t p){ mPermutations=p; }
27 
29  void print() const;
30 
31  void limit(Int_t lim){ mLimitFits = lim; }
32 
33 protected:
34 
38  Bool_t mPermutations;
39 
40  Int_t mClusterId;
41 
43  Int_t mLimitFits;
44 
45  ClassDef(StEEmcPointFitMaker,1);
46 };
47 
48 #endif
Bool_t mPermutations
Do or don't do permutations.
EEmcSectorFit * mSectorFit[12]
Fits.
void print() const
Print summary.
Int_t FitSector(Int_t s)
Fit the specified sector.
virtual void Clear(Option_t *opts="")
Clear the maker.
virtual Int_t Make()
Process event.
Class for building points from smd clusters.
Int_t mLimitFits
Maximum number of points to fit per sector.
void doPermutations(Bool_t p)
A class for finding EEMC points.
EEmcSectorFit * fit(Int_t sec)
Return the sector fit for the specified sector.
virtual Int_t Init()
Initialize.
Simultaneous fit of two smd planes to N gammas.
Definition: EEmcSectorFit.h:7