#include "FPGATrackSimBanks/FPGATrackSimSectorSlice.h"
#include <TFile.h>
#include <TTree.h>
#include <TBits.h>
#include <TClonesArray.h>
#include <AsgMessaging/MessageCheck.h>
Go to the source code of this file.
◆ getBin()
      
        
          | int getBin | ( | double | x, | 
        
          |  |  | double | min, | 
        
          |  |  | double | step, | 
        
          |  |  | int | clamp_max | 
        
          |  | ) |  |  | 
      
 
 
◆ largest_region_wrap()
      
        
          | void largest_region_wrap | ( | std::vector< bool > const & | good_bin, | 
        
          |  |  | int & | i_lower, | 
        
          |  |  | int & | i_upper | 
        
          |  | ) |  |  | 
      
 
Definition at line 321 of file FPGATrackSimSectorSlice.cxx.
  326     for (
int j = 0; j < 2*(
int)good_bins.size(); j++) 
 
  328         if (good_bins[j % good_bins.size()])
 
  332             if (
size > best_size)
 
  336                 if (best_size == (
int)good_bins.size()) 
break; 
 
  344     i_lower = best_start;
 
  345     i_upper = best_start + best_size - 1;