<commit_before>// Script to create reconstruction parameters and store them into CDB
// Author: <NAME>

/* $Id$ */

#if !defined(__CINT__)
#include "TControlBar.h"
#include "TString.h"

#include "AliEMCALRecParam.h"
#include "AliCDBMetaData.h"
#include "AliCDBId.h"
#include "AliCDBEntry.h"
#include "AliCDBManager.h"
#include "AliCDBStorage.h"
#endif


void AliEMCALSetRecParamCDB(AliRecoParam::EventSpecie_t default = AliRecoParam::kDefault)
{

  // Create an object AliEMCALRecParam and store it to OCDB

  //Activate CDB storage
  AliCDBManager* cdb = AliCDBManager::Instance();
  if(!cdb->IsDefaultStorageSet()) cdb->SetDefaultStorage("local://OCDB");


  // Create reconstruction parameter object and set parameter values
  TObjArray* recParamArray = new TObjArray();

  {
    //default
    AliEMCALRecParam *recParamDB = AliEMCALRecParam::GetDefaultParameters();
    
    //Clusterization
    recParamDB->SetClusteringThreshold(0.5);
    recParamDB->SetW0(4.5);<commit_msg>correct path to OCDB object<commit_after>// Script to create reconstruction parameters and store them into CDB
// Author: <NAME>

/* $Id$ */

#if !defined(__CINT__)
#include "TControlBar.h"
#include "TString.h"

#include "AliEMCALRecParam.h"
#include "AliCDBMetaData.h"
#include "AliCDBId.h"
#include "AliCDBEntry.h"
#include "AliCDBManager.h"
#include "AliCDBStorage.h"
#endif


void AliEMCALSetRecParamCDB(AliRecoParam::EventSpecie_t default = AliRecoParam::kDefault)
{

  // Create an object AliEMCALRecParam and store it to OCDB

  //Activate CDB storage
  AliCDBManager* cdb = AliCDBManager::Instance();
  if(!cdb->IsDefaultStorageSet()) cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");


  // Create reconstruction parameter object and set parameter values
  TObjArray* recParamArray = new TObjArray();

  {
    //default
    AliEMCALRecParam *recParamDB = AliEMCALRecParam::GetDefaultParameters();
    
    //Clusterization
    recParamDB->SetClusteringThreshold(0.5);
    recParamDB->SetW0(4.5);
{'fraction_non_alphanumeric': 0.12185297079556898, 'fraction_numerical': 0.005035246727089627, 'mean_word_length': 4.949101796407185, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2972554', 'n_tokens_mistral': 689, 'n_tokens_neox': 663, 'n_words': 149}