| 
        
          | lightana::DriftEstimatorPMTRatio::DriftEstimatorPMTRatio | ( | art::ToolConfigTable< Config > const & | config | ) |  |  | explicit | 
 
Definition at line 100 of file DriftEstimatorPMTRatio_tool.cc.
  108     cet::search_path sp(
"FW_SEARCH_PATH");
 
  110       throw cet::exception(
"DriftEstimatorPMTRatio") << 
"Calibration file " <<
 
  113     TFile* input_file = TFile::Open(file_name.c_str(), 
"READ");
 
  114     TProfile * hProf_Calibration = (TProfile*)input_file->Get(
"PMTRatioCalibrationProfile");
 
  117     fNCalBins = hProf_Calibration->GetNbinsX();
 
  119       fPMTRatioCal.push_back( hProf_Calibration->GetBinCenter(ix) );
 
  120       fDriftCal.push_back( hProf_Calibration->GetBinContent(ix) );
 
std::vector< double > fPMTRatioCal
then echo fcl sbnd_project sbnd_project sbnd_project sbnd_project production production file_name
Description of geometry of one entire detector. 
double DriftDistance() const 
TPCGeo const & TPC(unsigned int const tpc=0, unsigned int const cstat=0) const 
Returns the specified TPC. 
std::string fCalibrationFile
std::vector< double > fDriftCal
 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::GetDriftPosition | ( | std::vector< double > | PE_v | ) |  |  | overridevirtual | 
 
Implements lightana::DriftEstimatorBase.
Definition at line 136 of file DriftEstimatorPMTRatio_tool.cc.
  138     double coatedPE=0, uncoatedPE=0;
 
  140     for(
size_t oc=0; oc<PE_v.size(); oc++){
 
  142       else if( 
fPDSMap.
pdType(oc)==
"pmt_uncoated" ) uncoatedPE+=PE_v[oc];
 
  147       pmtratio = 4*uncoatedPE/coatedPE;
 
  149     double drift_distance;
 
  157     return drift_distance;
 
std::vector< double > fPMTRatioCal
double Interpolate(double val)
opdet::sbndPDMapAlg fPDSMap
std::string pdType(size_t ch) const override
std::vector< double > fDriftCal
 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::GetPropagationTime | ( | double | drift | ) |  |  | overridevirtual | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::Interpolate | ( | double | val | ) |  |  | private | 
 
 
      
        
          | double lightana::DriftEstimatorPMTRatio::PEToPropagationTime | ( | std::vector< double > | PE_v | ) |  | 
      
 
Definition at line 170 of file DriftEstimatorPMTRatio_tool.cc.
double GetPropagationTime(double drift) override
double GetDriftPosition(std::vector< double > PE_v) override
 
 
 
  
  | 
        
          | std::string lightana::DriftEstimatorPMTRatio::fCalibrationFile |  | private | 
 
 
  
  | 
        
          | std::vector<double> lightana::DriftEstimatorPMTRatio::fDriftCal |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fDriftDistance |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fKinkDistance |  | private | 
 
 
  
  | 
        
          | int lightana::DriftEstimatorPMTRatio::fNCalBins |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fPMTRatio_MaxVal |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fPMTRatio_MinVal |  | private | 
 
 
  
  | 
        
          | std::vector<double> lightana::DriftEstimatorPMTRatio::fPMTRatioCal |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fVGroupVIS |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fVGroupVUV |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fVGroupVUV_I |  | private | 
 
 
  
  | 
        
          | double lightana::DriftEstimatorPMTRatio::fVISLightPropTime |  | private | 
 
 
The documentation for this class was generated from the following file: