Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:25

0001 void clsprova()
0002 {
0003   ifstream myStream1("outprova.txt", ios::in);
0004 
0005 
0006   TH1F* hclsGen = new TH1F("Cls Gen", "Cls Gen", 30, 0.5,30.5);
0007   float cls = 0;
0008 
0009   while(!myStream1.eof()){
0010 
0011     myStream1>>cls;
0012     hclsGen->Fill(cls);
0013 
0014   }
0015   hclsGen->Draw();
0016 
0017 }