Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

recobase::ShowerBase Class Reference

#include <ShowerBase.h>

Inheritance diagram for recobase::ShowerBase:

recobase::ShowerBase3D List of all members.

Public Types

typedef std::map< Int_t, std::multimap<
Double_t, recobase::CellHit * > > 
CellMap_t

Public Member Functions

 ShowerBase ()
 ~ShowerBase ()
Int_t GetNCell () const
void Zap ()
void AddCell (const recobase::CellHit *c, Bool_t)
const CellMap_tGetCells ()
Int_t GetBegPlane () const
Int_t GetEndPlane () const
Double_t GetPulseHeight () const
Int_t GetPlanes () const
Int_t GetSinglePlanes () const
Double_t GetEndZ () const
void SetEndZ (Double_t EndZ)
Double_t GetVtxZ () const
void SetVtxZ (Double_t VtxZ)
Double_t GetVtxT () const
void SetVtxT (Double_t VtxT)
Double_t GetEndT () const
void SetEndT (Double_t EndT)
Double_t GetVtxX () const
void SetVtxX (Double_t VtxX)
Double_t GetVtxY () const
void SetVtxY (Double_t VtxY)
Double_t GetVtxPlane () const
void SetVtxPlane (Double_t VtxPlane)
Double_t GetEnergy () const
void SetEnergy (Double_t Energy)
Double_t GetTMax () const
void SetTMax (Double_t tm)
Double_t GetZMax () const
void SetZMax (Double_t zm)
geo::View_t GetView () const
void SetView (geo::View_t View)
Float_t GetAvgDev () const
void SetAvgDev (Float_t AvgDev)
Float_t GetSlope () const
void SetSlope (Float_t Slope)
Bool_t IsMatched () const
void SetIsMatched (Bool_t IsMatched)
Float_t GetTransW () const
void SetTransW (Float_t trans_width)
Float_t GetZWMin () const
void SetZWMin (Float_t z_min_width)
Float_t GetZWMax () const
void SetZWMax (Float_t z_max_width)
Int_t GetPlaneWMax () const
void SetPlaneWMax (Int_t plane_max_width)
Int_t GetPlaneWMin () const
void SetPlaneWMin (Int_t plane_min_width)
Float_t GetLength () const
void GetChi2 (Int_t, Double_t &, Double_t &, Int_t &)
Int_t GetBestChi2 (Double_t &, Int_t &)
void GetBestPoint (Int_t, Double_t &, Double_t &, Double_t &)
void GetMiscPlaneInfo (Int_t &, Int_t &, Double_t &)
TMultiGraph * GetGraph ()
TMultiGraph * GetMeanGraph ()

Private Attributes

CellMap_t pCells
geo::View_t fView
TMultiGraph * pTMG
TMultiGraph * pMeanTMG
Double_t fEnergy
Double_t fSlope
Double_t fAvgDev
Double_t fVtxZ
Double_t fVtxX
Double_t fVtxY
Double_t fVtxT
Double_t fEndZ
Double_t fEndT
Double_t fVtxPlane
Double_t fTMax
Double_t fZMax
Double_t fPulseHeight
Int_t fPlanes
Int_t fSinglePlanes
Int_t fCells
Bool_t fIsMatched
Float_t fTrans_width
Float_t fZ_min_width
Float_t fZ_max_width
Int_t fPlane_max_width
Int_t fPlane_min_width

Member Typedef Documentation

typedef std::map<Int_t,std::multimap<Double_t,recobase::CellHit*> > recobase::ShowerBase::CellMap_t
 

Definition at line 21 of file ShowerBase.h.


Constructor & Destructor Documentation

ShowerBase::ShowerBase  ) 
 

Definition at line 13 of file ShowerBase.cxx.

00013                         {
00014    
00015       fEnergy          = 0 ;
00016       fSlope           = 0 ;
00017       fAvgDev          = 0 ;    
00018       fVtxZ            = 0 ;    
00019       fVtxX            = 0 ;
00020       fVtxY            = 0 ;
00021       fVtxT            = 0 ;
00022       fEndZ            = 0 ;
00023       fEndT            = 0 ;
00024       fVtxPlane        = 0 ;        
00025       fTMax            = 0 ;       
00026       fZMax            = 0 ;
00027       fPulseHeight     = 0 ; 
00028       fPlanes          = 0 ;        
00029       fSinglePlanes    = 0 ;
00030       fCells           = 0 ;
00031       fView            = geo::kXorY ;
00032       fTrans_width     = 0 ;
00033       fZ_min_width     = 0 ; 
00034       fZ_max_width     = 0 ;
00035       fPlane_max_width = 0 ;
00036       fPlane_min_width = 0 ;
00037 
00038       fIsMatched    = false ;
00039       pCells.clear();
00040      
00041       if(pTMG){
00042         pTMG=0;
00043       }
00044       if(pMeanTMG){
00045         pMeanTMG=0;
00046       }
00047       TGraphErrors *tge=new TGraphErrors();
00048       pTMG=new TMultiGraph();
00049       pTMG->Add(tge);
00050          
00051       TGraphErrors *mtge=new TGraphErrors();
00052       pMeanTMG=new TMultiGraph();
00053       pMeanTMG->Add(mtge);
00054     
00055     
00056   }

ShowerBase::~ShowerBase  ) 
 

Definition at line 57 of file ShowerBase.cxx.

References pCells, pMeanTMG, and pTMG.

00057                          {
00058     pCells.clear();
00059     delete pTMG;
00060     pTMG=0;
00061     delete pMeanTMG;
00062     pMeanTMG=0;
00063     
00064   }


Member Function Documentation

void ShowerBase::AddCell const recobase::CellHit c,
Bool_t 
 

Definition at line 66 of file ShowerBase.cxx.

References recobase::CellHit::Cell(), fCells, fPlanes, fPulseHeight, fSinglePlanes, pCells, recobase::CellHit::PECorr(), recobase::CellHit::Plane(), and pTMG.

Referenced by subshower::RecoSubShower::EatBlob(), and subshower::RecoSubShower::SaveCluster().

00066                                                                       {
00067 
00068    //  add a RecCell.  Also keep track of total planes in the blob, and
00069    //  planes with only 1 cell
00070    //  and, add to the graph if it's the primary creation of the Blob
00071      
00072      recobase::CellHit *ct = new recobase::CellHit(*cell);
00073 
00074      std::multimap<Double_t,recobase::CellHit*> &thisplane=pCells[ct->Plane()];
00075         
00076      float adc = ct->PECorr();
00077    
00078      thisplane.insert(std::pair<Double_t,recobase::CellHit*>(adc,ct));
00079 
00080      fPulseHeight+=adc;         
00081      fCells++;    // keep track of total cells
00082       
00083      if (thisplane.size() == 1) 
00084      {
00085          fPlanes++;             // total planes
00086          fSinglePlanes++;       //planes with 1 cell 
00087      } else if (thisplane.size() == 3) {
00088          fSinglePlanes--;       // remove from single planes when it goes over          
00089                                 // two single cells
00090      }
00091 
00092      if (AddToGraph) {
00093           TGraphErrors *tge=(TGraphErrors*)pTMG->GetListOfGraphs()->First();
00094           Int_t point=tge->GetN();
00095           // With new CellHit, need to get position from geo, not CellHit!
00096           // Hard coding something for now...
00097           // GEO_HOOK
00098           tge->SetPoint(point,cell->Plane()*6.633,cell->Cell()*3.935);
00099           if (adc>0) 
00100              tge->SetPointError(point,0.0001,TMath::Sqrt(1./adc));
00101      }
00102 
00103   }// AddCell()

Float_t recobase::ShowerBase::GetAvgDev  )  const [inline]
 

Definition at line 71 of file ShowerBase.h.

00071 { return fAvgDev;}

Int_t ShowerBase::GetBegPlane  )  const
 

Definition at line 107 of file ShowerBase.cxx.

References GetNCell(), and pCells.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle(), and subshower::RecoSubShower::LinkedBlobs().

00108   {
00109     if (this->GetNCell()<1) return 0;
00110     CellMap_t::const_iterator beg=pCells.begin();
00111     return beg->first;
00112   } 

Int_t ShowerBase::GetBestChi2 Double_t &  ,
Int_t & 
 

Definition at line 176 of file ShowerBase.cxx.

References pTMG.

00177   {
00178      // return the better chi2/dof: either global fit, or aggregate
00179      Int_t type=-1;
00180      chi2=0.;
00181      ndof=0;
00182 
00183      // global
00184      Double_t probGlobal=0.;
00185      TF1* gfunc=pTMG->GetFunction("FitFunc");
00186      if (gfunc) 
00187      {
00188         probGlobal=gfunc->GetProb();
00189      }
00190 
00191      // aggregate
00192      Double_t probAggr=0.; 
00193      TIter next(pTMG->GetListOfGraphs());
00194      while (TGraphErrors* tge=(TGraphErrors*)next()) 
00195      {
00196          TF1* func=tge->GetFunction("FitFunc");
00197          if (func) {
00198              probAggr=1-(1-probAggr)*(1-func->GetProb());
00199              chi2+=func->GetChisquare();
00200              ndof+=func->GetNDF();
00201          }
00202 
00203      }//while TGraphErrors
00204 
00205      if (probGlobal>probAggr)
00206      {
00207         // global fit is better
00208          type=0;
00209          chi2=gfunc->GetChisquare();
00210          ndof=gfunc->GetNDF();
00211      } else {
00212         // aggregate fit is better
00213          type=1; // chi2 and ndof were set above
00214      }
00215 
00216      return type;
00217 
00218   }//GetBestChi2()

void ShowerBase::GetBestPoint Int_t  ,
Double_t &  ,
Double_t &  ,
Double_t & 
 

Definition at line 220 of file ShowerBase.cxx.

References GetEndT(), GetEndZ(), GetSlope(), GetVtxT(), GetVtxZ(), and pTMG.

00222   {
00223      // return the position and slope and vertex (0) or end (1)
00224      // use global fit if it's good enough, local if not, or finally
00225      // original blob parameters if no fit
00226 
00227      tpos  = -999.;
00228      zpos  = -999;
00229      slope = 0;
00230 
00231      if ( end==0 )
00232      {
00233 
00234        zpos=this->GetVtxZ();
00235 
00236        // use the most upstream sub-shower fit, if it's there, or 
00237        // the global fit, if it's there, or the original parameters
00238        TIter next(pTMG->GetListOfGraphs());
00239        TF1* usFunc=0;
00240        Double_t usZ=9.e9;
00241        while (TGraphErrors* tge=(TGraphErrors*)next()) 
00242        {
00243            Double_t x,dummy;
00244            tge->GetPoint(0,x,dummy); // use fact that points are added from
00245                                     // upstream
00246 
00247            if (x<usZ) {
00248                 usFunc=tge->GetFunction("FitFunc");
00249                 usZ=x;
00250            }
00251 
00252        } // while
00253 
00254        if (usFunc) 
00255        {
00256           tpos=usFunc->Eval(zpos);        
00257           slope=usFunc->Derivative(zpos);        
00258 
00259        } else if (TF1* func=pTMG->GetFunction("FitFunc")) {
00260 
00261           tpos=func->Eval(zpos);        
00262           slope=func->Derivative(zpos);        
00263 
00264        } else {
00265 
00266           tpos  = this->GetVtxT();
00267           slope = this->GetSlope();
00268 
00269        }
00270        
00271        
00272      } else if (end==1){
00273 
00274        zpos= this->GetEndZ();
00275 
00276        // use the most downstream sub-shower fit, if it's there, or 
00277        // the global fit, if it's there, or the original parameters
00278 
00279        TIter next(pTMG->GetListOfGraphs());
00280        TF1* dsFunc=0;
00281        Double_t dsZ=-9.e9;
00282        while (TGraphErrors* tge=(TGraphErrors*)next()) 
00283        {
00284            Double_t x,dummy;
00285             // use fact that points are added from upstream to downstream
00286            tge->GetPoint(tge->GetN()-1,x,dummy); 
00287 
00288            if (x>dsZ) {
00289                 dsFunc=tge->GetFunction("FitFunc");
00290                 dsZ=x;
00291            }
00292 
00293        } // while
00294 
00295        if (dsFunc) 
00296        {
00297           tpos=dsFunc->Eval(zpos);        
00298           slope=dsFunc->Derivative(zpos);        
00299 
00300        } else if (TF1* func=pTMG->GetFunction("FitFunc")) {
00301 
00302           tpos=func->Eval(zpos);        
00303           slope=func->Derivative(zpos);        
00304 
00305        } else {
00306 
00307           tpos  = this->GetEndT();
00308           slope = this->GetSlope();
00309 
00310        }
00311        
00312      
00313      }//end
00314  
00315   } // GetBestPoint()

const CellMap_t& recobase::ShowerBase::GetCells  )  [inline]
 

Definition at line 30 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle(), subshower::RecoSubShower::CalculateMaxWidth(), subshower::RecoSubShower::EatBlob(), subshower::RecoSubShower::FitEM(), subshower::RecoSubShower::Get3DFrac(), and clusterss::CompareClusters::MatchCells().

00030 {return pCells;}

void ShowerBase::GetChi2 Int_t  ,
Double_t &  ,
Double_t &  ,
Int_t & 
 

Definition at line 137 of file ShowerBase.cxx.

References pTMG.

00139   {
00140      // return the request chi2: global for type=0, aggregate for type=1
00141      chi2=0.;
00142      ndof=0;
00143      prob=-1;
00144 
00145      if (type==0) 
00146      {
00147        // global
00148         TF1* gfunc=pTMG->GetFunction("FitFunc");
00149         if (gfunc) 
00150         {
00151            prob=gfunc->GetProb();
00152            chi2=gfunc->GetChisquare();
00153            ndof=gfunc->GetNDF();
00154         }
00155 
00156      } else {
00157 
00158      // aggregate
00159          prob=0;
00160          TIter next(pTMG->GetListOfGraphs());
00161          while (TGraphErrors* tge=(TGraphErrors*)next()) 
00162          {
00163              TF1* func=tge->GetFunction("FitFunc");
00164              if (func) {
00165                  prob=1-(1-prob)*(1-func->GetProb());
00166                  chi2+=func->GetChisquare();
00167                  ndof+=func->GetNDF();
00168              }
00169 
00170          }//while TGraphErrors
00171      }//type
00172 
00173 
00174   }//GetChi2()

Int_t ShowerBase::GetEndPlane  )  const
 

Definition at line 115 of file ShowerBase.cxx.

References GetNCell(), and pCells.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle(), fillntup::FillNtup::FillShower3DReco(), and subshower::RecoSubShower::LinkedBlobs().

00116   {
00117     if (this->GetNCell()<1) return 0;
00118     CellMap_t::const_iterator end=pCells.end();
00119     end--;
00120     return end->first;
00121       
00122   }  

Double_t recobase::ShowerBase::GetEndT  )  const [inline]
 

Definition at line 47 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco(), GetBestPoint(), GetLength(), and subshower::RecoSubShower::LinkedBlobs().

00047 {return fEndT;}

Double_t recobase::ShowerBase::GetEndZ  )  const [inline]
 

Definition at line 38 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco(), GetBestPoint(), GetLength(), subshower::RecoSubShower::LinkedBlobs(), and subshower::RecoSubShower::Match2DClusters().

00038 {return fEndZ;}

Double_t recobase::ShowerBase::GetEnergy  )  const [inline]
 

Definition at line 59 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00059 {return fEnergy;}

TMultiGraph* recobase::ShowerBase::GetGraph  )  [inline]
 

Definition at line 103 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::BlobT(), subshower::RecoSubShower::CalculateEnergyVertexAngle(), and subshower::RecoSubShower::EatBlob().

00103 {return pTMG;};

Float_t ShowerBase::GetLength  )  const
 

Definition at line 124 of file ShowerBase.cxx.

References GetEndT(), GetEndZ(), GetVtxT(), and GetVtxZ().

00125   {
00126     // return length of Blob in 2D
00127     // a hack...  linear approximation
00128 
00129    double dt=this->GetEndT()-this->GetVtxT();
00130    double dz=this->GetEndZ()-this->GetVtxZ();
00131    return TMath::Sqrt(dt*dt+dz*dz);
00132 
00133     return -1;
00134 
00135   }

TMultiGraph* recobase::ShowerBase::GetMeanGraph  )  [inline]
 

Definition at line 104 of file ShowerBase.h.

00104 {return pMeanTMG;};

void ShowerBase::GetMiscPlaneInfo Int_t &  ,
Int_t &  ,
Double_t & 
 

Definition at line 317 of file ShowerBase.cxx.

References recobase::CellHit::Cell(), and pCells.

00318   {
00319 
00320       // return the plane with the max number of cells, and that number
00321       //  useful for identifying perpendicular tracks, or ones with a hook
00322       //  at either end.
00323 
00324      // also return mean RMS strip position for each plane
00325 
00326       CellMap_t::const_iterator iter=pCells.begin();
00327 
00328       ncells = 0;
00329       plane  = 0;
00330       rms    = 0; //mean rms per plane
00331 
00332       while ( iter != pCells.end() )
00333       {
00334             const std::multimap<Double_t,recobase::CellHit*> cells=iter->second;
00335             if ( (int)cells.size() >ncells) {
00336                    ncells=cells.size();
00337                    plane=iter->first;
00338             }
00339 
00340             std::multimap<Double_t,recobase::CellHit*>::const_iterator citer=cells.begin();
00341             Double_t w    = 0;
00342             Double_t w_x  = 0;
00343             Double_t w_x2 = 0;
00344             while (citer!=cells.end())
00345             {
00346                const recobase::CellHit* rc=citer->second;
00347                const double ph=citer->first;
00348                w+=ph;
00349                // With new CellHit, need to get position from geo, not CellHit!
00350                // Hard coding something for now...
00351                // GEO_HOOK
00352                w_x+=ph*rc->Cell()*3.935;
00353                w_x2+=ph*rc->Cell()*rc->Cell()*3.935*3.935;
00354                citer++;          
00355             }
00356             if (w>0) rms+=TMath::Sqrt( TMath::Max(w_x2/w - (w_x/w)*(w_x/w),0.) );
00357             
00358             iter++;
00359        }
00360 
00361        if (pCells.size()>0) rms/=pCells.size();
00362 
00363 
00364   }//GetMaxCells()

Int_t recobase::ShowerBase::GetNCell  )  const [inline]
 

Definition at line 23 of file ShowerBase.h.

Referenced by clusterss::CompareClusters::Ana(), subshower::RecoSubShower::CalculateEnergyVertexAngle(), fillntup::FillNtup::FillShower3DReco(), GetBegPlane(), GetEndPlane(), subshower::RecoSubShower::LinkedBlobs(), subshower::RecoSubShower::Match2DClusters(), and subshower::RecoSubShower::WriteOutClusters().

00023 {return fCells;}

Int_t recobase::ShowerBase::GetPlanes  )  const [inline]
 

Definition at line 35 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle(), and subshower::RecoSubShower::LinkedBlobs().

00035 {return fPlanes;}

Int_t recobase::ShowerBase::GetPlaneWMax  )  const [inline]
 

Definition at line 89 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00089 {return fPlane_max_width;}

Int_t recobase::ShowerBase::GetPlaneWMin  )  const [inline]
 

Definition at line 92 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00092 {return fPlane_min_width;}

Double_t recobase::ShowerBase::GetPulseHeight  )  const [inline]
 

Definition at line 34 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle(), fillntup::FillNtup::FillShower3DReco(), and subshower::RecoSubShower::FindPrimary3DCluster().

00034 {return fPulseHeight;}

Int_t recobase::ShowerBase::GetSinglePlanes  )  const [inline]
 

Definition at line 36 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00036 {return fSinglePlanes;}

Float_t recobase::ShowerBase::GetSlope  )  const [inline]
 

Definition at line 74 of file ShowerBase.h.

Referenced by GetBestPoint(), and subshower::RecoSubShower::LinkedBlobs().

00074 {return fSlope;}

Double_t recobase::ShowerBase::GetTMax  )  const [inline]
 

Definition at line 62 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00062 {return fTMax;};

Float_t recobase::ShowerBase::GetTransW  )  const [inline]
 

Definition at line 80 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00080 {return fTrans_width;}

geo::View_t recobase::ShowerBase::GetView  )  const [inline]
 

Definition at line 68 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle(), subshower::RecoSubShower::Match2DClusters(), and subshower::RecoSubShower::SaveCluster().

00068 {return fView;}

Double_t recobase::ShowerBase::GetVtxPlane  )  const [inline]
 

Definition at line 56 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00056 {return fVtxPlane;}

Double_t recobase::ShowerBase::GetVtxT  )  const [inline]
 

Definition at line 44 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco(), GetBestPoint(), GetLength(), and subshower::RecoSubShower::LinkedBlobs().

00044 {return fVtxT;}

Double_t recobase::ShowerBase::GetVtxX  )  const [inline]
 

Definition at line 50 of file ShowerBase.h.

00050 {return fVtxX;}

Double_t recobase::ShowerBase::GetVtxY  )  const [inline]
 

Definition at line 53 of file ShowerBase.h.

00053 {return fVtxY;}

Double_t recobase::ShowerBase::GetVtxZ  )  const [inline]
 

Definition at line 41 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco(), GetBestPoint(), GetLength(), subshower::RecoSubShower::LinkedBlobs(), subshower::RecoSubShower::Match2DClusters(), and subshower::RecoSubShower::Merge2().

00041 {return fVtxZ;}

Double_t recobase::ShowerBase::GetZMax  )  const [inline]
 

Definition at line 65 of file ShowerBase.h.

Referenced by fillntup::FillNtup::FillShower3DReco().

00065 {return fZMax;};

Float_t recobase::ShowerBase::GetZWMax  )  const [inline]
 

Definition at line 86 of file ShowerBase.h.

00086 {return fZ_max_width;}

Float_t recobase::ShowerBase::GetZWMin  )  const [inline]
 

Definition at line 83 of file ShowerBase.h.

00083 {return fZ_min_width;}

Bool_t recobase::ShowerBase::IsMatched  )  const [inline]
 

Definition at line 77 of file ShowerBase.h.

00077 {return fIsMatched;};

void recobase::ShowerBase::SetAvgDev Float_t  AvgDev  )  [inline]
 

Definition at line 72 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00072 {fAvgDev = AvgDev;}

void recobase::ShowerBase::SetEndT Double_t  EndT  )  [inline]
 

Definition at line 48 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00048 {fEndT = EndT;}

void recobase::ShowerBase::SetEndZ Double_t  EndZ  )  [inline]
 

Definition at line 39 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00039 {fEndZ=EndZ;}

void recobase::ShowerBase::SetEnergy Double_t  Energy  )  [inline]
 

Definition at line 60 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00060 {fEnergy=Energy;}

void recobase::ShowerBase::SetIsMatched Bool_t  IsMatched  )  [inline]
 

Definition at line 78 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::Match2DClusters().

00078 {fIsMatched = IsMatched;};

void recobase::ShowerBase::SetPlaneWMax Int_t  plane_max_width  )  [inline]
 

Definition at line 90 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateMaxWidth().

00090 {fPlane_max_width = plane_max_width;}

void recobase::ShowerBase::SetPlaneWMin Int_t  plane_min_width  )  [inline]
 

Definition at line 93 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateMaxWidth().

00093 {fPlane_min_width = plane_min_width;}

void recobase::ShowerBase::SetSlope Float_t  Slope  )  [inline]
 

Definition at line 75 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00075 {fSlope = Slope;}

void recobase::ShowerBase::SetTMax Double_t  tm  )  [inline]
 

Definition at line 63 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00063 {fTMax=tm;};

void recobase::ShowerBase::SetTransW Float_t  trans_width  )  [inline]
 

Definition at line 81 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateMaxWidth().

00081 {fTrans_width = trans_width;}

void recobase::ShowerBase::SetView geo::View_t  View  )  [inline]
 

Definition at line 69 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::SaveCluster().

00069 {fView=View;}

void recobase::ShowerBase::SetVtxPlane Double_t  VtxPlane  )  [inline]
 

Definition at line 57 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00057 {fVtxPlane = VtxPlane;}

void recobase::ShowerBase::SetVtxT Double_t  VtxT  )  [inline]
 

Definition at line 45 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00045 {fVtxT = VtxT;}

void recobase::ShowerBase::SetVtxX Double_t  VtxX  )  [inline]
 

Definition at line 51 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00051 {fVtxX = VtxX;}

void recobase::ShowerBase::SetVtxY Double_t  VtxY  )  [inline]
 

Definition at line 54 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00054 {fVtxY = VtxY;}

void recobase::ShowerBase::SetVtxZ Double_t  VtxZ  )  [inline]
 

Definition at line 42 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00042 {fVtxZ=VtxZ;}

void recobase::ShowerBase::SetZMax Double_t  zm  )  [inline]
 

Definition at line 66 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateEnergyVertexAngle().

00066 {fZMax=zm;};

void recobase::ShowerBase::SetZWMax Float_t  z_max_width  )  [inline]
 

Definition at line 87 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateMaxWidth().

00087 {fZ_max_width = z_max_width;}

void recobase::ShowerBase::SetZWMin Float_t  z_min_width  )  [inline]
 

Definition at line 84 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::CalculateMaxWidth().

00084 {fZ_min_width = z_min_width;}

void recobase::ShowerBase::Zap  )  [inline]
 

Definition at line 25 of file ShowerBase.h.

Referenced by subshower::RecoSubShower::EatBlob().

00025 {fCells=0;};


Member Data Documentation

Double_t recobase::ShowerBase::fAvgDev [private]
 

Definition at line 115 of file ShowerBase.h.

Int_t recobase::ShowerBase::fCells [private]
 

Definition at line 128 of file ShowerBase.h.

Referenced by AddCell().

Double_t recobase::ShowerBase::fEndT [private]
 

Definition at line 121 of file ShowerBase.h.

Double_t recobase::ShowerBase::fEndZ [private]
 

Definition at line 120 of file ShowerBase.h.

Double_t recobase::ShowerBase::fEnergy [private]
 

Definition at line 113 of file ShowerBase.h.

Bool_t recobase::ShowerBase::fIsMatched [private]
 

Definition at line 129 of file ShowerBase.h.

Int_t recobase::ShowerBase::fPlane_max_width [private]
 

Definition at line 133 of file ShowerBase.h.

Int_t recobase::ShowerBase::fPlane_min_width [private]
 

Definition at line 134 of file ShowerBase.h.

Int_t recobase::ShowerBase::fPlanes [private]
 

Definition at line 126 of file ShowerBase.h.

Referenced by AddCell().

Double_t recobase::ShowerBase::fPulseHeight [private]
 

Definition at line 125 of file ShowerBase.h.

Referenced by AddCell().

Int_t recobase::ShowerBase::fSinglePlanes [private]
 

Definition at line 127 of file ShowerBase.h.

Referenced by AddCell().

Double_t recobase::ShowerBase::fSlope [private]
 

Definition at line 114 of file ShowerBase.h.

Double_t recobase::ShowerBase::fTMax [private]
 

Definition at line 123 of file ShowerBase.h.

Float_t recobase::ShowerBase::fTrans_width [private]
 

Definition at line 130 of file ShowerBase.h.

geo::View_t recobase::ShowerBase::fView [private]
 

Definition at line 109 of file ShowerBase.h.

Double_t recobase::ShowerBase::fVtxPlane [private]
 

Definition at line 122 of file ShowerBase.h.

Double_t recobase::ShowerBase::fVtxT [private]
 

Definition at line 119 of file ShowerBase.h.

Double_t recobase::ShowerBase::fVtxX [private]
 

Definition at line 117 of file ShowerBase.h.

Double_t recobase::ShowerBase::fVtxY [private]
 

Definition at line 118 of file ShowerBase.h.

Double_t recobase::ShowerBase::fVtxZ [private]
 

Definition at line 116 of file ShowerBase.h.

Float_t recobase::ShowerBase::fZ_max_width [private]
 

Definition at line 132 of file ShowerBase.h.

Float_t recobase::ShowerBase::fZ_min_width [private]
 

Definition at line 131 of file ShowerBase.h.

Double_t recobase::ShowerBase::fZMax [private]
 

Definition at line 124 of file ShowerBase.h.

CellMap_t recobase::ShowerBase::pCells [private]
 

Definition at line 108 of file ShowerBase.h.

Referenced by AddCell(), GetBegPlane(), GetEndPlane(), GetMiscPlaneInfo(), and ~ShowerBase().

TMultiGraph* recobase::ShowerBase::pMeanTMG [private]
 

Definition at line 111 of file ShowerBase.h.

Referenced by ~ShowerBase().

TMultiGraph* recobase::ShowerBase::pTMG [private]
 

Definition at line 110 of file ShowerBase.h.

Referenced by AddCell(), GetBestChi2(), GetBestPoint(), GetChi2(), and ~ShowerBase().


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 04:45:33 2009 for NOvA Offline by  doxygen 1.3.9.1