Public Member Functions | Private Attributes

WCSimRecoClusterDigit Class Reference

#include "WCSimRecoClusterDigit.hh"

List of all members.

Public Member Functions

 WCSimRecoClusterDigit (WCSimRecoDigit *recoDigit)
 ~WCSimRecoClusterDigit ()
void AddClusterDigit (WCSimRecoClusterDigit *clusterDigit)
Int_t GetNClusterDigits ()
WCSimRecoClusterDigitGetClusterDigit (Int_t idigit)
std::vector
< WCSimRecoClusterDigit * > * 
GetClusterDigitList ()
Double_t GetX ()
Double_t GetY ()
Double_t GetZ ()
Double_t GetTime ()
void SetClustered (Bool_t yesno=1)
Bool_t IsClustered ()
Bool_t IsAllClustered ()
WCSimRecoDigitGetRecoDigit ()

Private Attributes

Bool_t fIsClustered
Bool_t fIsAllClustered
WCSimRecoDigitfRecoDigit
std::vector
< WCSimRecoClusterDigit * > * 
fClusterDigitList

Detailed Description

Definition at line 10 of file WCSimRecoClusterDigit.hh.


Constructor & Destructor Documentation

WCSimRecoClusterDigit::WCSimRecoClusterDigit ( WCSimRecoDigit recoDigit  ) 
WCSimRecoClusterDigit::~WCSimRecoClusterDigit (  ) 

Member Function Documentation

void WCSimRecoClusterDigit::AddClusterDigit ( WCSimRecoClusterDigit clusterDigit  ) 

Definition at line 26 of file WCSimRecoClusterDigit.cc.

References fClusterDigitList.

Referenced by WCSimDataCleaner::RecoClusters().

{ 
  fClusterDigitList->push_back(clusterDigit); 
}

WCSimRecoClusterDigit * WCSimRecoClusterDigit::GetClusterDigit ( Int_t  idigit  ) 

Definition at line 36 of file WCSimRecoClusterDigit.cc.

References fClusterDigitList.

Referenced by WCSimDataCleaner::RecoClusters().

{ 
  return (WCSimRecoClusterDigit*)(fClusterDigitList->at(idigit)); 
}

std::vector< WCSimRecoClusterDigit * > * WCSimRecoClusterDigit::GetClusterDigitList (  ) 

Definition at line 41 of file WCSimRecoClusterDigit.cc.

References fClusterDigitList.

{ 
  return fClusterDigitList; 
}

Int_t WCSimRecoClusterDigit::GetNClusterDigits (  ) 

Definition at line 31 of file WCSimRecoClusterDigit.cc.

References fClusterDigitList.

Referenced by WCSimDataCleaner::RecoClusters().

{ 
  return fClusterDigitList->size(); 
}

WCSimRecoDigit* WCSimRecoClusterDigit::GetRecoDigit (  )  [inline]

Definition at line 32 of file WCSimRecoClusterDigit.hh.

References fRecoDigit.

Referenced by WCSimDataCleaner::RecoClusters().

{ return fRecoDigit; }

Double_t WCSimRecoClusterDigit::GetTime (  )  [inline]

Definition at line 25 of file WCSimRecoClusterDigit.hh.

References fRecoDigit, and WCSimRecoDigit::GetTime().

Referenced by WCSimDataCleaner::RecoClusters().

{ return fRecoDigit->GetTime(); }

Double_t WCSimRecoClusterDigit::GetX (  )  [inline]

Definition at line 22 of file WCSimRecoClusterDigit.hh.

References fRecoDigit, and WCSimRecoDigit::GetX().

Referenced by WCSimDataCleaner::RecoClusters().

{ return fRecoDigit->GetX(); }

Double_t WCSimRecoClusterDigit::GetY (  )  [inline]

Definition at line 23 of file WCSimRecoClusterDigit.hh.

References fRecoDigit, and WCSimRecoDigit::GetY().

Referenced by WCSimDataCleaner::RecoClusters().

{ return fRecoDigit->GetY(); }

Double_t WCSimRecoClusterDigit::GetZ (  )  [inline]

Definition at line 24 of file WCSimRecoClusterDigit.hh.

References fRecoDigit, and WCSimRecoDigit::GetZ().

Referenced by WCSimDataCleaner::RecoClusters().

{ return fRecoDigit->GetZ(); }

Bool_t WCSimRecoClusterDigit::IsAllClustered (  ) 

Definition at line 46 of file WCSimRecoClusterDigit.cc.

References fClusterDigitList, fIsAllClustered, and IsClustered().

Referenced by WCSimDataCleaner::RecoClusters().

{
  if( fIsAllClustered==0 ){
    fIsAllClustered = 1;
    for( UInt_t n=0; n<fClusterDigitList->size(); n++ ){
      WCSimRecoClusterDigit* clusterDigit = (WCSimRecoClusterDigit*)(fClusterDigitList->at(n));
      if( clusterDigit->IsClustered()==0 ) fIsAllClustered = 0;
    }
  }

  return fIsAllClustered;
}

Bool_t WCSimRecoClusterDigit::IsClustered (  )  [inline]

Definition at line 28 of file WCSimRecoClusterDigit.hh.

References fIsClustered.

Referenced by IsAllClustered(), and WCSimDataCleaner::RecoClusters().

{ return fIsClustered; }

void WCSimRecoClusterDigit::SetClustered ( Bool_t  yesno = 1  )  [inline]

Definition at line 27 of file WCSimRecoClusterDigit.hh.

References fIsClustered.

Referenced by WCSimDataCleaner::RecoClusters().

{ fIsClustered = yesno; }


Member Data Documentation

Definition at line 37 of file WCSimRecoClusterDigit.hh.

Referenced by IsAllClustered().

Definition at line 36 of file WCSimRecoClusterDigit.hh.

Referenced by IsClustered(), and SetClustered().

Definition at line 39 of file WCSimRecoClusterDigit.hh.

Referenced by GetRecoDigit(), GetTime(), GetX(), GetY(), and GetZ().


The documentation for this class was generated from the following files: