#include "StoreGate/ReadHandle.h"
#include "TileTOFTool.h"
#include "CaloEvent/CaloCellContainer.h"
#include "TileEvent/TileCell.h"
#include "CaloIdentifier/TileID.h"
#include <cmath>
#include "TFile.h"
#include "TTree.h"
#include "TF1.h"
Go to the source code of this file.
|  | 
| #define | TIMECOR(MOD_REF1,  MOD_REF2,  PART_REF1,  PART_REF2,  COUNT,  TCOR) | 
|  | 
◆ TIMECOR
      
        
          | #define TIMECOR | ( |  | MOD_REF1, | 
        
          |  |  |  | MOD_REF2, | 
        
          |  |  |  | PART_REF1, | 
        
          |  |  |  | PART_REF2, | 
        
          |  |  |  | COUNT, | 
        
          |  |  |  | TCOR | 
        
          |  | ) |  |  | 
      
 
Value:  do {                                                                  \
    if (
mod[
i]==MOD_REF1   && 
mod[j]==MOD_REF2 &&                       \
        part[
i]==PART_REF1 && 
part[j]==PART_REF2) {                     \
 
      float TOF = sqrt(((
x[j]-
x[
i])*(
x[j]-
x[
i]))+((
y[j]-
y[
i])*(
y[j]-
y[
i]))+((
z[j]-
z[
i])*(
z[j]-
z[
i])))/299.792; \
      float 
tc = 
t[j]-
t[
i]-TOF;                                         \
      ++COUNT;                                                          \
    }                                                                   \
  } while(0)