space problems in histogramming

Hallo All
I am histogramming in linux a two dimensional picture.
The numbers that are in the y axis are so big(28 digits),so i needed to define my y axis to be from zero to 13*(10^26) and here i faced the problem.
that is a part of my code where the problem is:



#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

// ROOT
#include "/usr/local/root/include/TFile.h"
#include "/usr/local/root/include/TH1.h"
#include "/usr/local/root/include/TH2.h"
#include "/usr/local/root/include/TCanvas.h"
#include "/usr/local/root/include/TApplication.h"

using namespace std;


int main(int argc, char** argv)
{

TApplication fooApp("fooApp",&argc,argv);

TH2F *h1 = new TH2F("2dim","two-dimensional histogram",100000,0,100000,1300000000000000000000000000,0,1300000000000000000000000000);

TCanvas *c1 = new TCanvas("c1","New Canvas 1",200,10,600,600);

c1->Divide(1,1);...........

here is the error:
error: integer constant is too large for âlongâ type
warning: overflow in implicit constant conversion

what should i do in this case?
i need this range
any ideas???
Topic archived. No new replies allowed.