Fork me on GitHub

Changeset 379 in svn for trunk/Examples


Ignore:
Timestamp:
May 12, 2009, 9:46:42 AM (16 years ago)
Author:
Xavier Rouby
Message:

switch back to old ZDC version

File:
1 edited

Legend:

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

    r371 r379  
    264264          E   = zdc->E;     // particle energy in GeV
    265265          T   = zdc->T;     // time of flight [s]
     266        /*
     267          Px  = zdc->Px;    // particle momentum vector (x component) in GeV
     268          Py  = zdc->Py;    // particle momentum vector (y component) in GeV
     269          Pz  = zdc->Pz;    // particle momentum vector (z component) in GeV
     270         
     271          PT  = zdc->PT;    // particle transverse momentum in GeV
     272          Eta = zdc->Eta;   // particle pseudorapidity
     273          Phi = zdc->Phi;   // particle azimuthal angle in rad
     274        */
    266275          side  = zdc->side;  // -1 or +1
    267           hadronic_hit = zdc->hadronic_hit; // true if neutron, false if photon
     276          //hadronic_hit = zdc->hadronic_hit; // true if neutron, false if photon
    268277        }
    269278     
     
    285294          Tx  = rp220->Tx;    // angle of the momentum in the horizontal (x,z) plane [urad]
    286295          Ty  = rp220->Ty;    // angle of the momentum in the verical (y,z) plane [urad]
    287          
     296         
     297          T   = rp220->T;     // time of arrival of the particle in the detector [s]
    288298          side  = rp220->side;  // -1 or 1
    289299        }
     
    304314      bool GlobalResponse=false;
    305315      if(NumTrigBit!=0)GlobalResponse=true;
    306       cout<<"GlobalResponse "<<GlobalResponse<<endl;
     316      //cout<<"GlobalResponse "<<GlobalResponse<<endl;
    307317      for(int i=0; i < NumTrigBit-1; i++){
    308318        trig = (TRootTrigger*)TRIGGER->At(i);
Note: See TracChangeset for help on using the changeset viewer.