23 #ifndef Gw_CorrelatedSpaceTree2
79 return Form(
"%s_2D", GetName());
85 return Form(
"%s_2D", GetTitle());
109 Int_t dimX =
GetHisto(
"x")->GetNbinsX();
114 for (Int_t i = 0; i < dimX; ++i) {
115 for (Int_t j = 0; j < dimX; ++j) {
138 Int_t dimX = h2->GetNbinsX();
145 for (Int_t i = 0; i < dimX; ++i) {
147 for (Int_t j = 0; j < dimX; ++j) {
173 for (Int_t i = 0; i <
dim; ++i) {
175 for (Int_t j = 0; j <
dim; ++j) {
220 h1 =
static_cast<TH1D*
> (
fHistoList->At(idx) );
231 Short_t inGate[dimProj];
232 Double_t energies[dimProj];
234 for (Int_t i= 0; i <
dim; ++i) {
236 energies[0] = (Double_t)i;
237 nofGates = filter->
IsInside(energies, dimProj, inGate);
240 fLog <<
error << Form(
"Too much good energies : %d", nofGates) <<
dolog;
244 if (inGate[0] == 1) {
245 for (Int_t j = 0; j <
dim; ++j) {
246 b->GetEntry(i*dim + j);
278 if (iCell >= dim*dim) {
284 static Bool_t first =
false;
286 if (first ==
false) {
293 Int_t i = iCell / (
dim);
306 b->GetEntry(i*dim + j);
329 void CorrelatedSpaceTree2::Streamer(TBuffer &R__b)
333 if (R__b.IsReading()) {
334 CorrelatedSpaceTree2::Class()->ReadBuffer(R__b,
this);
342 fTree->Write(
"", kOverwrite);
343 CorrelatedSpaceTree2::Class()->WriteBuffer(R__b,
this);
printf("******************************************************************** \n")
Bool_t IsForBkg()
Is for bkg gates.
LogMessage & error(LogMessage &)
LogMessage & warning(LogMessage &)
virtual Int_t IsInside(Double_t *, Int_t, Short_t *, Int_t=0)
Get the pattern of energies inside the gates.
LogMessage & nline(LogMessage &)
LogMessage & dolog(LogMessage &)
CSFilter base class for filter.
void SetCondition(Short_t cond)
Set dimension for gating.
virtual void SetProcessMethod(const char *)
To set the current method.
void SetDimension(Short_t dim)
Set dimension for projected space.