Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
what will get in the “cut=cut_s.data()”?
class detector
{
public:
detector(string name,double min,double max);
TCut cut;
private:
double upper;
double lower;
};
detector::detector(string name,double min,double max):lower(min),upper(max)
{
string cut_s=name+Form(">%f",lower)+"&&"+name+Form("<%f",upper); //Form?
cut=cut_s.data(); //?
}