Fork me on GitHub

Changeset 383 in svn for trunk


Ignore:
Timestamp:
May 15, 2009, 1:22:24 PM (16 years ago)
Author:
Xavier Rouby
Message:

new flag JET_Eflow

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/DetectorCard.dat

    r380 r383  
    7979JET_jetalgo      1              // 1 for Cone algorithm, 2 for MidPoint algorithm, 3 for SIScone algorithm, 4 for kt algorithm
    8080JET_seed         1.0            // minimum seed to start jet reconstruction, in GeV
     81JET_Eflow        1              // Perfect energy assumed in the tracker coverage
    8182
    8283# Tagging definition
  • trunk/data/DetectorCard_ATLAS.dat

    r380 r383  
    8181JET_jetalgo      1              // 1 for Cone algorithm, 2 for MidPoint algorithm, 3 for SIScone algorithm, 4 for kt algorithm
    8282JET_seed         1.0            // minimum seed to start jet reconstruction, in GeV
     83JET_Eflow        1              // Perfect energy assumed in the tracker coverage
    8384
    8485# Tagging definition
  • trunk/data/DetectorCard_CMS.dat

    r380 r383  
    8181JET_jetalgo      1              // 1 for Cone algorithm, 2 for MidPoint algorithm, 3 for SIScone algorithm, 4 for kt algorithm
    8282JET_seed         1.0            // minimum seed to start jet reconstruction, in GeV
     83JET_Eflow        1              // Perfect energy assumed in the tracker coverage
    8384
    8485# Tagging definition
  • trunk/interface/SmearUtil.h

    r380 r383  
    215215 int NEvents_Frog;
    216216 float PT_QUARKS_MIN;    // minimal pt needed for quarks to reach the tracker, in GeV
     217 int JET_Eflow;
    217218
    218219 string PdgTableFilename;
  • trunk/src/SmearUtil.cc

    r380 r383  
    127127  JET_jetalgo      = 1;              // 1 for Cone algorithm, 2 for MidPoint algorithm, 3 for SIScone algorithm, 4 for kt algorithm
    128128  JET_seed         = 1.0;            // minimum seed to start jet reconstruction
     129  JET_Eflow        = 1;              // 1 for Energy flow in jets reco ; 0 if not
    129130
    130131  // Tagging definition
     
    272273  JET_jetalgo      = DET.JET_jetalgo;
    273274  JET_seed         = DET.JET_seed;
     275  JET_Eflow        = DET.JET_Eflow;
    274276
    275277  // Tagging definition
     
    409411  JET_jetalgo      = DET.JET_jetalgo;
    410412  JET_seed         = DET.JET_seed;
     413  JET_Eflow        = DET.JET_Eflow;
    411414
    412415  // Tagging definition
     
    574577    else if(strstr(temp_string.c_str(),"JET_jetalgo"))      {curstring >> varname >> ivalue;JET_jetalgo       = ivalue;}
    575578    else if(strstr(temp_string.c_str(),"JET_seed"))         {curstring >> varname >> value; JET_seed          = value;}
     579    else if(strstr(temp_string.c_str(),"JET_Eflow"))        {curstring >> varname >> value; JET_Eflow         = value;}
    576580 
    577581    else if(strstr(temp_string.c_str(),"BTAG_b"))           {curstring >> varname >> ivalue;BTAG_b            = ivalue;}
     
    907911  f_out<<"# Jet definition                                                     *"<<"\n";
    908912  f_out<<"#***************                                                     *"<<"\n";
     913  if(JET_Eflow)
     914    {
     915      f_out<<"#***************                                                     *"<<"\n";
     916      f_out<<"#*  Running considering perfect energy flow on the tracker coverage  *"<<"\n";
     917    }
     918  else
     919    {
     920      f_out<<"#*     Running considering no energy flow on the tracker coverage    *"<<"\n";
     921      f_out<<"#*         --> jet algo applied on the calorimetric towers           *"<<"\n";
     922    }
    909923  f_out<<"*                                                                    *"<<"\n";
    910924  f_out<<"*  Six algorithms are currently available:                           *"<<"\n";
Note: See TracChangeset for help on using the changeset viewer.