Changeset 4835


Ignore:
Timestamp:
09/02/04 15:55:13 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmontecarlo/MMcWeightEnergySpecCalc.cc

    r2474 r4835  
    123123//
    124124MMcWeightEnergySpecCalc::MMcWeightEnergySpecCalc(Float_t slope,
    125                                           const char *name, const char *title)
     125                                                 const char *name, const char *title)
    126126{
    127127    fNewSpecIsPowLaw = kTRUE;
     
    133133}
    134134
     135// ---------------------------------------------------------------------------
    135136//
    136137// Constructor. The new spectrum will have a general shape, given by the user
     
    138139//
    139140MMcWeightEnergySpecCalc::MMcWeightEnergySpecCalc(const TF1& spectrum,
    140                                           const char *name, const char *title)
     141                                                 const char *name, const char *title)
    141142{
    142143    fNewSpecIsPowLaw = kFALSE;
     
    146147}
    147148
     149// ---------------------------------------------------------------------------
    148150//
    149151// As before, but the function which represent the new spectrum is given as
     
    151153//
    152154MMcWeightEnergySpecCalc::MMcWeightEnergySpecCalc(const char* spectrum,
    153                                           const char *name, const char *title)
     155                                                 const char *name, const char *title)
    154156{
    155157    fNewSpecIsPowLaw = kFALSE;
     
    159161}
    160162
     163// ---------------------------------------------------------------------------
    161164//
    162165// As before, but the new spectrum is given as a intrepreted C++ function.
     
    181184//
    182185MMcWeightEnergySpecCalc::MMcWeightEnergySpecCalc(void* function,
    183                                           const char *name, const char *title)
     186                                                 const char *name, const char *title)
    184187{
    185188    fNewSpecIsPowLaw = kFALSE;
     
    189192}
    190193
     194// ---------------------------------------------------------------------------
    191195//
    192196// As before, but this is the constructor for real functions, i.e. it is called
     
    356360    return kTRUE;
    357361}
    358 
    359 
    360 
    361 
    362 
    363 
    364 
    365 
    366 
    367 
    368 
    369 
    370 
    371 
    372 
    373 
    374 
    375 
    376 
    377 
    378 
Note: See TracChangeset for help on using the changeset viewer.