--- PamCut/doc/Doxygen/html/classCaloNHitCut.html 2009/05/27 13:30:05 1.1 +++ PamCut/doc/Doxygen/html/classCaloNHitCut.html 2009/06/05 13:16:14 1.2 @@ -22,7 +22,7 @@
-

CaloNHitCut Class Reference

The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called. +

CaloNHitCut Class Reference

The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called. More...

#include <CaloNHitCut.h> @@ -41,29 +41,21 @@ List of all members. - + - + - + - - - - - - -

Public Member Functions

 CaloNHitCut (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10)
 CaloNHitCut (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, int nMinHit=10)
 Constructor.
 ~CaloNHitCut ()
~CaloNHitCut ()
 Destructor.
 Destructor.
int Check (PamLevel2 *event)
 The number of hit planes check.

Private Attributes

CaloAxis_xCaloAxis
CaloAxis_yCaloAxis
int _nMinHit


Detailed Description

-The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called. +The number of hits cut for the calorimeter. An event survives this selection if the number of hit planes in the calorimeter is greater than some value. To save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the CaloAxis objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.

-CUT DEPENDENCIES: CaloTrackCut for the existence of the track (it can also provide the CaloAxis objects). -

Definition at line 29 of file CaloNHitCut.h.

-

Constructor & Destructor Documentation

+CUT DEPENDENCIES: CaloTrackCut for the existence of the track (it can also provide the CaloAxis objects).

Constructor & Destructor Documentation

@@ -77,13 +69,13 @@ - CaloAxis *  + CaloAxis *  xCaloAxis, - CaloAxis *  + CaloAxis *  yCaloAxis, @@ -104,41 +96,16 @@

Constructor.

-The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event.

+The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event.

Parameters:
- - + +
cutName The cut name.
xCaloAxis The pointer to the CaloAxis object for X axis.
yCaloAxis The pointer to the CaloAxis object for Y axis.
xCaloAxis The pointer to the CaloAxis object for X axis.
yCaloAxis The pointer to the CaloAxis object for Y axis.
nMinHit The minimum number of hits.
-

Definition at line 43 of file CaloNHitCut.h.

- -
-

- -

-
- - - - - - - - -
CaloNHitCut::~CaloNHitCut (  )  [inline]
-
-
- -

-Destructor. -

- -

Definition at line 47 of file CaloNHitCut.h.

-


Member Function Documentation

@@ -161,7 +128,7 @@

The number of hit planes check.

-The check is done by looking if there is a charge release near the track, using the CaloAxis class. If a charge greater than 0 is found by invoking CaloAxis::GetQ for at least nMinHit planes (both for X and Y) the condition is fulfilled.

+The check is done by looking if there is a charge release near the track, using the CaloAxis class. If a charge greater than 0 is found by invoking CaloAxis::GetQ for at least nMinHit planes (both for X and Y) the condition is fulfilled.

Parameters:
@@ -173,74 +140,12 @@

Implements PamCut.

-

Definition at line 12 of file CaloNHitCut.cpp.

- -

References _nMinHit, _xCaloAxis, _yCaloAxis, CUTOK, and CaloAxis::GetQ().

- - -

-


Member Data Documentation

- -
-
-
event The event to analyze.
- - - -
int CaloNHitCut::_nMinHit [private]
-
-
- -

- -

Definition at line 65 of file CaloNHitCut.h.

- -

Referenced by Check().

- -
-

- -

-
- - - - -
CaloAxis* CaloNHitCut::_xCaloAxis [private]
-
-
- -

- -

Definition at line 64 of file CaloNHitCut.h.

- -

Referenced by Check().

- -
-

- -

-
- - - - -
CaloAxis * CaloNHitCut::_yCaloAxis [private]
-
-
- -

- -

Definition at line 64 of file CaloNHitCut.h.

- -

Referenced by Check().

-


The documentation for this class was generated from the following files: +
  • CaloCuts/CaloNHitCut/CaloNHitCut.h
  • CaloCuts/CaloNHitCut/CaloNHitCut.cpp -
    Generated on Wed May 27 15:21:32 2009 for PamCut by  +
    Generated on Fri Jun 5 15:09:00 2009 for PamCut by  doxygen 1.5.9