Fork me on GitHub

Changeset 107 in svn for trunk/src/FrogUtil.cc


Ignore:
Timestamp:
Dec 22, 2008, 9:48:14 PM (16 years ago)
Author:
Xavier Rouby
Message:

modifications FROG lyon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/FrogUtil.cc

    r100 r107  
    434434      photon = (TRootPhoton*) branchPhoton->At(p);
    435435      cout<<"Photon nO"<<p<<" PT: "<<photon->PT<<"Eta "<<photon->Eta<<" Phi"<<photon->Phi<<endl;
    436       FROG_Element_Event_Candidate* frog_photon = new FROG_Element_Event_Candidate(15,photon->E,photon->Eta,photon->Phi);
     436      FROG_Element_Event_Candidate* frog_photon = new FROG_Element_Event_Candidate(22,photon->E,photon->Eta,photon->Phi);
    437437      frog_branchPhotons->addDaughter(frog_photon);
    438438    }
    439439   
    440440    //SIM JETS
    441     //Create a new sub-branch in the SIM branch with name Jets: this sub branch will contais all the Jets
     441
     442//Create a new sub-branch in the SIM branch with name Jets: this sub branch will contais all the Jets
    442443    FROG_Element_Base_With_DetId_And_Name* frog_branchJets = new FROG_Element_Base_With_DetId_And_Name(EVTID_SIM+5000,"Jets");
    443444    frog_branchSIM->addDaughter(frog_branchJets);
     
    445446      jet = (TRootJet*) branchJet->At(p);
    446447      cout<<"Jet nO"<<p<<" PT: "<<jet->PT<<"Eta "<<jet->Eta<<" Phi"<<jet->Phi<<endl;
     448cout<<"eta du jet "<<jet->Eta<<" theta du jet "<<FROG_COORD::EtaToTheta(jet->Eta)<<" et en degre "<<57.29*FROG_COORD::EtaToTheta(jet->Eta)<<endl;
    447449      FROG_Element_Event_Jet* frog_jet = new FROG_Element_Event_Jet(jet->E,jet->Eta,jet->Phi);
    448450      frog_branchJets->addDaughter(frog_jet);
     
    493495 
    494496  int plus=1;
    495   int NumPhi=4;
    496  
     497 
     498int NumPhi=20;
     499
     500
     501 
     502
     503 
    497504  //************************************************Tracker*************************************************
    498505  //********************************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.