Definition at line 562 of file PlotCalibrationGains.py.
 
◆ __init__()
      
        
          | def PlotCalibrationGains.HadPartitionPlots.__init__ | ( |  | self, | 
        
          |  |  |  | name, | 
        
          |  |  |  | nbins = 40, | 
        
          |  |  |  | minimum = 0., | 
        
          |  |  |  | maximum = 2., | 
        
          |  |  |  | XaxisTitle = "", | 
        
          |  |  |  | YaxisTitle = "" | 
        
          |  | ) |  |  | 
      
 
Definition at line 564 of file PlotCalibrationGains.py.
  564     def __init__(self,name,nbins=40,minimum=0.,maximum=2.,XaxisTitle="",YaxisTitle=""):
 
  567         self.ext = [
"all",
"00_09",
"09_15",
"15_25",
"25_32",
"32_50"]
 
  568         self.name = [
"all",
"Tile LB",
"Tile EB",
"HEC outer", 
"HEC inner",
"FCAL 2/3"]
 
  570         self.his_partitions  = []
 
  573         HadPartitionPlots.Counter += 1
 
  574         for i_had_partition 
in range(0,self.nPartitions):
 
  575             hname = (
"GainTTHad_%d"%HadPartitionPlots.Counter) + self.ext[i_had_partition]
 
  576             htitle = name+
" for "+self.name[i_had_partition]
 
  577             self.his_partitions.
append(ROOT.TH1F(hname,htitle,nbins,minimum,maximum))       
 
 
 
◆ Fill()
      
        
          | def PlotCalibrationGains.HadPartitionPlots.Fill | ( |  | self, | 
        
          |  |  |  | eta_bin, | 
        
          |  |  |  | gain | 
        
          |  | ) |  |  | 
      
 
Definition at line 598 of file PlotCalibrationGains.py.
  598     def Fill(self,eta_bin,gain):
 
  599         partition=self.get_partition_number(eta_bin)
 
  602             self.his_partitions[0].Fill(gain)
 
  603             self.his_partitions[partition].Fill(gain)
 
  605             print (
"Warning in HadPartitionPlots, nonexisting partition!"  )
 
 
 
◆ get_partition_number()
      
        
          | def PlotCalibrationGains.HadPartitionPlots.get_partition_number | ( |  | self, | 
        
          |  |  |  | eta_bin | 
        
          |  | ) |  |  | 
      
 
Definition at line 582 of file PlotCalibrationGains.py.
  582     def get_partition_number(self,eta_bin):
 
  584         if ( -9 <= eta_bin 
and eta_bin <= 8):                      
 
  586         elif ((eta_bin>8 
and eta_bin<=14)  
or (eta_bin>=-15 
and eta_bin<-9)):
 
  589         elif ((eta_bin>14 
and eta_bin<=24) 
or (eta_bin>=-25 
and eta_bin<-15)): 
 
  591         elif ((eta_bin>24 
and eta_bin<=31) 
or (eta_bin>=-32 
and eta_bin<-25)): 
 
  593         elif ((eta_bin>31)          
or (eta_bin<-32)):           
 
 
 
◆ Counter
  
  | 
        
          | PlotCalibrationGains.HadPartitionPlots.Counter |  | static | 
 
 
◆ ext
      
        
          | PlotCalibrationGains.HadPartitionPlots.ext | 
      
 
 
◆ his_partitions
      
        
          | PlotCalibrationGains.HadPartitionPlots.his_partitions | 
      
 
 
◆ name
      
        
          | PlotCalibrationGains.HadPartitionPlots.name | 
      
 
 
◆ nPartitions
      
        
          | PlotCalibrationGains.HadPartitionPlots.nPartitions | 
      
 
 
The documentation for this class was generated from the following file: