Definition at line 33 of file OpHitAna_module.cc.
 
      
        
          | opdet::OpHitAna::OpHitAna  | 
          ( | 
          const fhicl::ParameterSet &  | 
          pset | ) | 
           | 
        
      
 
Definition at line 87 of file OpHitAna_module.cc.
   94     art::ServiceHandle<OpDigiProperties> odp;
 
  108         art::ServiceHandle<art::TFileService const> 
tfs;
 
  109         fHitTree = tfs->make<TTree>(
"HitTree",
"HitTree");
 
art::ServiceHandle< art::TFileService > tfs
 
bool fMakeHistAllChannels
 
 
 
 
      
        
          | void opdet::OpHitAna::analyze  | 
          ( | 
          const art::Event &  | 
          evt | ) | 
           | 
        
      
 
Definition at line 120 of file OpHitAna_module.cc.
  124     art::Handle< std::vector< recob::OpHit > > HitHandle;
 
  135     art::ServiceHandle<art::TFileService const> 
tfs;
 
  137     art::ServiceHandle<geo::Geometry const> geom;
 
  138     int NOpChannels = geom->NOpChannels();
 
  140     std::vector<TH1D*> HitHist;
 
  142     sprintf(HistName, 
"Event %d AllOpDets", 
evt.id().
event());
 
  144     TH1D * AllHits = 
nullptr;
 
  147         AllHits = tfs->make<TH1D>(HistName, 
";t (ns);",
 
  153     for(
int i=0; i!=NOpChannels; ++i)
 
  156         sprintf(HistName, 
"Event %d OpDet %i", 
evt.id().
event(), i);
 
  169     for(
unsigned int i = 0; i < HitHandle->size(); ++i)
 
  172         art::Ptr< recob::OpHit > TheHitPtr(HitHandle, i);
 
  186                 mf::LogError(
"OpHitAna")<<
"Error : Trying to fill channel out of range, " << 
fOpChannel;
 
art::ServiceHandle< art::TFileService > tfs
 
bool fMakeHistAllChannels
 
 
 
 
  
  
      
        
          | Int_t opdet::OpHitAna::fEventID | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | TTree* opdet::OpHitAna::fHitTree | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | std::string opdet::OpHitAna::fInputModule | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | bool opdet::OpHitAna::fMakeHistAllChannels | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | bool opdet::OpHitAna::fMakeHistPerChannel | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | bool opdet::OpHitAna::fMakeHitTree | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | Float_t opdet::OpHitAna::fNPe | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | Int_t opdet::OpHitAna::fOpChannel | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | Float_t opdet::OpHitAna::fPeakTime | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | float opdet::OpHitAna::fSampleFreq | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | float opdet::OpHitAna::fTimeBegin | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | float opdet::OpHitAna::fTimeEnd | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: