69 if (!IsEnabled() || IsCreated())
return kTRUE;
71 UInt_t nvars = 0, ntgts = 0, nspcts = 0;
72 CountVariableTypes( nvars, ntgts, nspcts );
73 if (ntgts>0) Log() << kFATAL <<
"Targets used in Rearrange-transformation." <<
Endl;
83 if (!IsEnabled())
return ev;
86 if (!IsCreated()) Log() << kFATAL <<
"Transformation not yet created" <<
Endl;
88 if (fTransformedEvent==0) fTransformedEvent =
new Event();
91 std::vector<Char_t> mask;
92 GetInput( ev, input, mask );
93 SetOutput( fTransformedEvent, input, mask, ev );
95 return fTransformedEvent;
102 if (!IsEnabled())
return ev;
105 if (!IsCreated()) Log() << kFATAL <<
"Transformation not yet created" <<
Endl;
107 if (fBackTransformedEvent==0) fBackTransformedEvent =
new Event( *ev );
110 std::vector<Char_t> mask;
111 GetInput( ev, input, mask,
kTRUE );
112 SetOutput( fBackTransformedEvent, input, mask, ev,
kTRUE );
114 return fBackTransformedEvent;
124 std::vector<TString>* strVec =
new std::vector<TString>(
size);
146 void* inpnode = NULL;
150 Log() << kFATAL <<
"Unknown weight file format for transformations. (tried to read in 'rearrange' transform)" <<
Endl;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Class that contains all the data information.
Singleton class for Global types used by TMVA.
MsgLogger & Endl(MsgLogger &ml)