Public Member Functions | Static Public Member Functions | Private Member Functions

WCSimRecoFactory Class Reference

#include "WCSimRecoFactory.hh"

List of all members.

Public Member Functions

WCSimRecoMakeReco ()
WCSimRecoMakeReco (const char *name)

Static Public Member Functions

static WCSimRecoFactoryInstance ()

Private Member Functions

 WCSimRecoFactory ()
 ~WCSimRecoFactory ()

Detailed Description

Definition at line 8 of file WCSimRecoFactory.hh.


Constructor & Destructor Documentation

WCSimRecoFactory::WCSimRecoFactory (  )  [private]

Definition at line 52 of file WCSimRecoFactory.cc.

{
  
}

WCSimRecoFactory::~WCSimRecoFactory (  )  [private]

Definition at line 57 of file WCSimRecoFactory.cc.

{

}


Member Function Documentation

WCSimRecoFactory * WCSimRecoFactory::Instance (  )  [static]

Definition at line 13 of file WCSimRecoFactory.cc.

Referenced by WCSimDisplayViewer::BuildDisplay(), and WCSimNtupleWriter::BuildNtuple().

{
  if(!fgRecoFactory){
    fgRecoFactory = new WCSimRecoFactory();
  }

  // die if finder hasn't actually been created
  if(!fgRecoFactory){
    assert(fgRecoFactory);
  }

  // can do re-setting here
  if(fgRecoFactory){

  }

  return fgRecoFactory;
}

WCSimReco * WCSimRecoFactory::MakeReco ( const char *  name  ) 

Definition at line 37 of file WCSimRecoFactory.cc.

{
  if( strcmp(name,"default")==0 ) {
    WCSimReco* reco = new WCSimRecoAB();
    return reco;
  }

  if( strcmp(name,"AB")==0 ) {
    WCSimReco* reco = new WCSimRecoAB();
    return reco;
  }

  return 0;
}

WCSimReco * WCSimRecoFactory::MakeReco (  ) 

Definition at line 32 of file WCSimRecoFactory.cc.

Referenced by WCSimDisplayViewer::BuildDisplay(), and WCSimNtupleWriter::BuildNtuple().

{
  return this->MakeReco("default");
}


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