Fork me on GitHub

Changeset 371 in svn for trunk/Examples


Ignore:
Timestamp:
May 10, 2009, 8:18:19 PM (16 years ago)
Author:
Xavier Rouby
Message:

update , w.r.t to the new ZDC/ForwardTagger classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Examples/src/Analysis_Ex.cc

    r350 r371  
    133133  //VFD information
    134134  float S,q2,Tx,Ty; 
    135   int side;
     135  int side;
     136  bool hadronic_hit;
    136137       
    137138  for(entry = 0; entry < allEntries; ++entry)
     
    262263        {
    263264          E   = zdc->E;     // particle energy in GeV
    264           Px  = zdc->Px;    // particle momentum vector (x component) in GeV
    265           Py  = zdc->Py;    // particle momentum vector (y component) in GeV
    266           Pz  = zdc->Pz;    // particle momentum vector (z component) in GeV
    267          
    268           PT  = zdc->PT;    // particle transverse momentum in GeV
    269           Eta = zdc->Eta;   // particle pseudorapidity
    270           Phi = zdc->Phi;   // particle azimuthal angle in rad
    271          
    272265          T   = zdc->T;     // time of flight [s]
    273266          side  = zdc->side;  // -1 or +1
     267          hadronic_hit = zdc->hadronic_hit; // true if neutron, false if photon
    274268        }
    275269     
     
    278272      TRootRomanPotHits *rp220;
    279273      itRp220.Reset();
    280       //TRootRomanPotHits.MakeClass("test_xav");
     274     
    281275      while( (rp220 = (TRootRomanPotHits*) itRp220.Next()) )
    282276        {
    283           T   = rp220->T;     // time of flight to the detector [s]
     277          //T   = rp220->T;     // time of flight to the detector [s]
    284278          S   = rp220->S;     // distance to the IP [m]
    285279          E   = rp220->E;     // reconstructed energy [GeV]
Note: See TracChangeset for help on using the changeset viewer.