Angelo Licastro

Monte Carlo Number Scheme

f1(1285)

Particle Data GroupParticle Listings → MESONS (pi, K, D, B, psi, Upsilon, ...) → LIGHT UNFLAVORED MESONS (S = C = B = 0) → f(1)(1285)

Decay Modes

Γ3 = 2π+ 2π = eπ+ππ+π= 11 : 211 : -211 : 211 : -211

ROOT

$ root
root [0] TBrowser *TBrowser = new TBrowser()

clasrun_42011.root → CLASEVENT;1 → EVENT → EVENT.Vz

ROOT Object Browser

process

process.cc

#include <iostream>
#include "TEventReader.h"
#define DEBUG 0
using namespace std;
void process (string file) {
  TEventReader reader;
  reader.addFile(file.c_str());
  int entries = reader.getEntries();
  cout << "Entries: " << entries << endl;
  for (int processed = 0; processed < entries; processed = processed + 1) {
    if (DEBUG) {
      if (!(processed % 100)) {
    cout << "Processed Entries: " << processed << endl;
      }
      reader.printEvent();
    }
    reader.readEntry(processed);
  }
  cout << "Processed Entries: " << entries << endl;
}
#ifndef __CINT__
int main (void) {
  string file;
  cout << "File: ";
  cin >> file;
  process(file);
}
#endif

SConstruct

env = Environment()
env.ParseConfig('root-config --cflags --glibs')
t = env.Program(target='process', source=['process.cc', 'libEvioRoot.so'])
Default(t)
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o process.o -c -m64 -pthread -rdynamic -I/usr/local/include/root process.cc
g++ -o process -pthread process.o libEvioRoot.so -L/usr/local/lib/root -lGui -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lm -ldl
scons: done building targets.
$ ./process
File: clasrun_c12_all.root
[TEventReader::initClones] (INFO) : Initializing EVNT Clones Array
[TEventReader::initClones] (INFO) : Initializing HEAD Clones Array
[TEventReader::initClones] (INFO) : Initializing EVPB Clones Array
[TEventReader::initClones] (INFO) : Initializing EXPB Clones Array
[TEventReader::initClones] (INFO) : Initializing TGPB Clones Array
[TEventReader::AddFile] (INFO) : First file added. Initializing Branches
Error in <TTree::SetBranchStatus>: unknown branch -> TGPB
Entries: 302926
Processed Entries: 302926