150 if (
fgFFT->GetNdim()!=ndim)
154 for (
Int_t i=0; i<ndim; i++){
195 if ((
h=
gROOT->GetPluginManager()->FindHandler(
"TVirtualFFT",
pluginname))) {
196 if (
h->LoadPlugin()==-1) {
197 ::Error(
"TVirtualFFT::FFT",
"handler not found");
202 ::Error(
"TVirtualFFT::FFT",
"plugin failed to create TVirtualFFT object");
207 if (opt.
Contains(
"R2HC")) kind[0] = 10;
208 if (opt.
Contains(
"HC2R")) kind[0] = 11;
209 if (opt.
Contains(
"DHT")) kind[0] = 12;
219 ::Error(
"TVirtualFFT::FFT",
"plugin not found");
232 if (opt.
Contains(
"R2HC")) kind[0] = 10;
233 if (opt.
Contains(
"HC2R")) kind[0] = 11;
234 if (opt.
Contains(
"DHT")) kind[0] = 12;
297 for (
Int_t i=0; i<ndim; i++) {
319 if ((
h=
gROOT->GetPluginManager()->FindHandler(
"TVirtualFFT",
pluginname))) {
320 if (
h->LoadPlugin()==-1){
321 ::Error(
"TVirtualFFT::SineCosine",
"handler not found");
326 ::Error(
"TVirtualFFT::SineCosine",
"plugin failed to create TVirtualFFT object");
334 ::Error(
"TVirtualFFT::SineCosine",
"handler not found");
353 ::Warning(
"TVirtualFFT::GetCurrentTransform",
"fgFFT is not defined yet");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TVirtualMutex * gROOTMutex
#define R__LOCKGUARD(mutex)
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
void ToUpper()
Change string to upper case.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TVirtualFFT is an interface class for Fast Fourier Transforms.
virtual ~TVirtualFFT()
destructor
static void SetDefaultFFT(const char *name="")
static: set name of default fft
static void SetTransform(TVirtualFFT *fft)
static: set the current transfrom to parameter
static TVirtualFFT * FFT(Int_t ndim, Int_t *n, Option_t *option)
Returns a pointer to the FFT of requested size and type.
static TVirtualFFT * GetCurrentTransform()
static: return current fgFFT
static TVirtualFFT * SineCosine(Int_t ndim, Int_t *n, Int_t *r2rkind, Option_t *option)
Returns a pointer to a sine or cosine transform of requested size and kind.
static TVirtualFFT * fgFFT
static const char * GetDefaultFFT()
static: return the name of the default fft