/[PAMELA software]/PamCut/CollectionActions/Histo2DActions/RigFillAction/RigFillAction.h
ViewVC logotype

Diff of /PamCut/CollectionActions/Histo2DActions/RigFillAction/RigFillAction.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Thu Mar 11 19:11:27 2010 UTC revision 1.3 by pam-fi, Thu Jul 8 14:00:26 2010 UTC
# Line 27  Line 27 
27   * It is also possible to recover spillover events. These are defined as events with opposite sign   * It is also possible to recover spillover events. These are defined as events with opposite sign
28   * and absolute rigidity greater than a certain value (specified as a constructors' parameter).   * and absolute rigidity greater than a certain value (specified as a constructors' parameter).
29   * They will be added to the rigidity overflow bins (YOverflow).   * They will be added to the rigidity overflow bins (YOverflow).
30     * Another functionality of this action is the correction of deflection for residual misalignment when
31     * selecting data with a fixed MDR cut (which reduces the effective tracker geometry and thus brings up
32     * some residual misalignment).
33   * For output file naming conventions, see #Finalize.   * For output file naming conventions, see #Finalize.
34   *   *
35   * CUT DEPENDENCIES: TrkPhSinCut for single physical track, TrkRigGeoCut for galactic event.   * CUT DEPENDENCIES: TrkPhSinCut for single physical track, TrkRigGeoCut for galactic event.
36   *   *
37   */   */
38  class RigFillAction: public Histo2DAction<Int_t> {  class RigFillAction: public Histo2DAction<Float_t> {
39    
40  public:  public:
41    /*! @brief Constructor.    /*! @brief Constructor.
# Line 48  public: Line 51  public:
51     * @param outFileBase The output file base name. If "" is given as name, no file will be produced.     * @param outFileBase The output file base name. If "" is given as name, no file will be produced.
52     * @param rigBinsFile The file containing the rigidity bins     * @param rigBinsFile The file containing the rigidity bins
53     * @param thresholdCoeff The threshold coefficient for critical rigidity.     * @param thresholdCoeff The threshold coefficient for critical rigidity.
    * @param thresholdCoeff The threshold coefficient for critical rigidity.  
54     * @param chargeSign The sign of the rigidity of the particles that will fill the histograms. The     * @param chargeSign The sign of the rigidity of the particles that will fill the histograms. The
55     *                   particles with opposite sign will be discarded (except,for spillover events, eventually).     *                   particles with opposite sign will be discarded (except,for spillover events, eventually).
56     *                   See also aliases for positive and negative signs in CommonDefs.h.     *                   See also aliases for positive and negative signs in CommonDefs.h.
57     * @param spilloverFlag If true, spillover events (defined by spilloverLimit) will be not discarded and     * @param spilloverFlag If true, spillover events (defined by spilloverLimit) will be not discarded and
58     *                      added to the highest bin.     *                      added to the highest bin.
59     * @param spilloverLimit The inferior limit of the spillover rigidities (absolute value).     * @param spilloverLimit The inferior limit of the spillover rigidities (absolute value).
60       * @param mdrMin The fixed MDR cut (in GV) applied to data before this action, and for which the measured rigidity
61       *               will be corrected. See the implementation of #OnGood for details about the correction calculation.
62       *               No correction will be applied if this parameter is set to 0.
63       *
64     */     */
65    RigFillAction(const char *actionName, TString outFileBase, TString rigBinsFile, float thresholdCoeff,    RigFillAction(const char *actionName, TString outFileBase, TString rigBinsFile, float thresholdCoeff,
66        float chargeSign = POSITIVE, bool spilloverFlag = false, float spilloverLimit = 0);        float chargeSign = POSITIVE, bool spilloverFlag = false, float spilloverLimit = 0, float mdrMin = 0.);
67    
68    /*! @brief Constructor.    /*! @brief Constructor.
69     *     *
# Line 75  public: Line 81  public:
81     * @param spilloverFlag If true, spillover events (defined by spilloverLimit) will be not discarded and     * @param spilloverFlag If true, spillover events (defined by spilloverLimit) will be not discarded and
82     *                      added to the highest bin.     *                      added to the highest bin.
83     * @param spilloverLimit The inferior limit of the spillover rigidities (absolute value).     * @param spilloverLimit The inferior limit of the spillover rigidities (absolute value).
84       * @param mdrMin The fixed MDR cut (in GV) applied to data before this action, and for which the measured rigidity
85       *               will be corrected. See the implementation of #OnGood for details about the correction calculation.
86       *               No correction will be applied if this parameter is set to 0.
87     */     */
88    RigFillAction(const char *actionName, TString outFileBase, vector<float> &bins, float thresholdCoeff,    RigFillAction(const char *actionName, TString outFileBase, vector<float> &bins, float thresholdCoeff,
89        float chargeSign = POSITIVE, bool spilloverFlag = false, float spilloverLimit = 0);        float chargeSign = POSITIVE, bool spilloverFlag = false, float spilloverLimit = 0, float mdrMin = 0.);
90    
91    /*! @brief Destructor */    /*! @brief Destructor */
92    ~RigFillAction() {    ~RigFillAction() {
# Line 110  private: Line 119  private:
119    float _chargeSign;    float _chargeSign;
120    bool _spilloverFlag;    bool _spilloverFlag;
121    float _spilloverLimit;    float _spilloverLimit;
122      float _mdrMin;
123  };  };
124  #endif /* RIGFILLACTION_H_ */  #endif /* RIGFILLACTION_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23