\hypertarget{classPamCut}{
\section{PamCut Class Reference}
\label{classPamCut}\index{PamCut@{PamCut}}
}
An abstract class to apply cuts to Pamela data.  


{\tt \#include $<$PamCutBase.h$>$}

Inheritance diagram for PamCut::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12cm]{classPamCut}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{classPamCut_a8192c75b3fe95687f6835100d6ee8b9}{PamCut} (const char $\ast$cutName)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
virtual \hyperlink{classPamCut_8a6fb3b6ff60cd514fed53c7a9044790}{$\sim$PamCut} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
virtual int \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{Check} (PamLevel2 $\ast$event)=0
\begin{CompactList}\small\item\em The basic event check. \item\end{CompactList}\item 
virtual int \hyperlink{classPamCut_132a1a7cf365ff28eca38b7dda1acb7f}{ApplyCut} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em Applies the cut to the current event. \item\end{CompactList}\item 
virtual void \hyperlink{classPamCut_047b75499ea4457d60397ee5491adcd4}{Process} (PamLevel2 $\ast$events, ULong\_\-t firstEvent, ULong\_\-t lastEvent)
\begin{CompactList}\small\item\em Applies the cut to a range of events. \item\end{CompactList}\item 
virtual void \hyperlink{classPamCut_56021e959232270c12528ddec3062985}{OnGood} (PamLevel2 $\ast$event)
\begin{CompactList}\small\item\em Post-selection tasks. \item\end{CompactList}\item 
virtual void \hyperlink{classPamCut_cbb3b507d79f20878fac4392ffa57acb}{OnBad} (PamLevel2 $\ast$event, int selectionResult)
\begin{CompactList}\small\item\em Post-selection tasks. \item\end{CompactList}\item 
virtual UInt\_\-t \hyperlink{classPamCut_3ae6ebc9dd777e11e0d8ce18948538be}{GetNEv} ()
\begin{CompactList}\small\item\em Returns the number of checked events. \item\end{CompactList}\item 
virtual UInt\_\-t \hyperlink{classPamCut_b8a69206312cfcf6df6897aef973ef4a}{GetNGood} ()
\begin{CompactList}\small\item\em Returns the number of good events. \item\end{CompactList}\item 
virtual void \hyperlink{classPamCut_e587828903b809c99f9ab5ba97ae6616}{Setup} (PamLevel2 $\ast$events)
\begin{CompactList}\small\item\em The pre-analysis task definition. \item\end{CompactList}\item 
virtual void \hyperlink{classPamCut_fd74c1565552cabe4aced316df803737}{Finalize} ()
\begin{CompactList}\small\item\em The post-analysis task definition. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{classPamCut_9f14d875c176c2af470838a1b6dc069b}{GetName} () const 
\begin{CompactList}\small\item\em Returns the cut name. \item\end{CompactList}\item 
void \hyperlink{classPamCut_276bd306ea0a62cc0effa5dea4118e21}{SetName} (const char $\ast$newName)
\begin{CompactList}\small\item\em Changes the cut's name. \item\end{CompactList}\item 
\hyperlink{classPamCut}{PamCut} \& \hyperlink{classPamCut_cff560f2c6a663345c81f95df905956e}{operator=} (const \hyperlink{classPamCut}{PamCut} \&rightValue)
\begin{CompactList}\small\item\em The assignment operator. This operator defines how to copy a \hyperlink{classPamCut}{PamCut} object into another. In current implementation, it only copies the cut's name of the RHS on the LHS. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
UInt\_\-t \hyperlink{classPamCut_0525bd3c71dbd445f817c163d56562d5}{\_\-nEv}
\begin{CompactList}\small\item\em The number of analyzed events. \item\end{CompactList}\item 
UInt\_\-t \hyperlink{classPamCut_eacb32030a52b4353861159e3ca098d0}{\_\-nGood}
\begin{CompactList}\small\item\em The number of good events. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
const char $\ast$ \hyperlink{classPamCut_1eb606f9dab9c7f2fd5d84f834dcf146}{\_\-cutName}
\end{CompactItemize}


\subsection{Detailed Description}
An abstract class to apply cuts to Pamela data. 

This class provides a basic interface for a cut object to apply to PamLevel2 data. 

Definition at line 22 of file PamCutBase.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPamCut_a8192c75b3fe95687f6835100d6ee8b9}{
\index{PamCut@{PamCut}!PamCut@{PamCut}}
\index{PamCut@{PamCut}!PamCut@{PamCut}}
\subsubsection[{PamCut}]{\setlength{\rightskip}{0pt plus 5cm}PamCut::PamCut (const char $\ast$ {\em cutName})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classPamCut_a8192c75b3fe95687f6835100d6ee8b9}


Constructor. 



Definition at line 26 of file PamCutBase.h.\hypertarget{classPamCut_8a6fb3b6ff60cd514fed53c7a9044790}{
\index{PamCut@{PamCut}!$\sim$PamCut@{$\sim$PamCut}}
\index{$\sim$PamCut@{$\sim$PamCut}!PamCut@{PamCut}}
\subsubsection[{$\sim$PamCut}]{\setlength{\rightskip}{0pt plus 5cm}virtual PamCut::$\sim$PamCut ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classPamCut_8a6fb3b6ff60cd514fed53c7a9044790}


Destructor. 



Definition at line 31 of file PamCutBase.h.

\subsection{Member Function Documentation}
\hypertarget{classPamCut_132a1a7cf365ff28eca38b7dda1acb7f}{
\index{PamCut@{PamCut}!ApplyCut@{ApplyCut}}
\index{ApplyCut@{ApplyCut}!PamCut@{PamCut}}
\subsubsection[{ApplyCut}]{\setlength{\rightskip}{0pt plus 5cm}int PamCut::ApplyCut (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classPamCut_132a1a7cf365ff28eca38b7dda1acb7f}


Applies the cut to the current event. 

This routine applies the cut to the currently selected event, eg., it calls \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{Check()} and if the event satisfy the selection it consequently call \hyperlink{classPamCut_56021e959232270c12528ddec3062985}{OnGood()}, otherwise it calls \hyperlink{classPamCut_cbb3b507d79f20878fac4392ffa57acb}{OnBad()}(this is the only difference with \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{Check()}).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event to analyze. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]same return values as \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{Check()} \end{Desc}


Reimplemented in \hyperlink{classBlindCutCollection_8d387de8cbc54ff0eab8cff220b49c20}{BlindCutCollection}, and \hyperlink{classPamCutCollection_e7af429a3afef3685cbd5aa076ef96e5}{PamCutCollection}.

Definition at line 15 of file PamCutBase.cpp.

References \_\-nEv, \_\-nGood, Check(), CUTOK, OnBad(), and OnGood().

Referenced by Process().\hypertarget{classPamCut_a874600461950d1f2b75ce3938f91cbe}{
\index{PamCut@{PamCut}!Check@{Check}}
\index{Check@{Check}!PamCut@{PamCut}}
\subsubsection[{Check}]{\setlength{\rightskip}{0pt plus 5cm}virtual int PamCut::Check (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}pure virtual\mbox{]}}}}
\label{classPamCut_a874600461950d1f2b75ce3938f91cbe}


The basic event check. 

This routine applies the cut to the currently selected event, eg., to the event selected by the last PamLevel2::GetEntry() call performed by the object pointed by event. Note that \hyperlink{classPamCut_56021e959232270c12528ddec3062985}{OnGood()} is not called by this method.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event to analyze. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]\hyperlink{CommonDefs_8h_c857f4b76ae431837cbf61fd74863b6c}{CUTOK} if the event satisfy the cut, other return values are implementation-specific. \end{Desc}


Implemented in \hyperlink{classCARDCut_4862d16f307b0108b2f053b9e8d037d3}{CARDCut}, \hyperlink{classCATCut_3f0de5d967c8cfe8bc9244720bfaf885}{CATCut}, \hyperlink{classCaloCrossCut_c79de9378fe4816ef37291da64d5a4f0}{CaloCrossCut}, \hyperlink{classCaloGeomCut_ef28e99e442a7ab58fb8250107ac82e9}{CaloGeomCut}, \hyperlink{classCaloIonCut_20a353b53560701ba1ba72db42f48083}{CaloIonCut}, \hyperlink{classCaloNHitCut_54aae0d5514f7bda15297b9cfdceee68}{CaloNHitCut}, \hyperlink{classCaloNotIntCut_b2b6fd2f100cc967156633edf18a346a}{CaloNotIntCut}, \hyperlink{classCaloNucleiZCut_af2ac497ae8c5b356eec8d0cfe8a2c7a}{CaloNucleiZCut}, \hyperlink{classCaloTrackChi2Cut_63fe6418b40b1908a4a9df6ee2920909}{CaloTrackChi2Cut}, \hyperlink{classCaloTrackCut_c4b3a9ed9d0436a1cbedb49286ff62f0}{CaloTrackCut}, \hyperlink{classBlindCutCollection_016ee86612e57a50f03c8469d3ed9d1f}{BlindCutCollection}, \hyperlink{classAbsTimeCut_f7c55e8b9e801a59ea93f9b5b9212c8c}{AbsTimeCut}, \hyperlink{classDataQualCut_38d0e630a49d113ba6f7d7cc44a663e6}{DataQualCut}, \hyperlink{classEvRateS11Cut_196fc98a75f1acc3ddef7dc86b5150a1}{EvRateS11Cut}, \hyperlink{classGeoFieldCut_edb5a8ed5c91d3f2436fe45e979cc778}{GeoFieldCut}, \hyperlink{classLTGeoFillCut_aee811750d195e71f676db5e240e7f18}{LTGeoFillCut}, \hyperlink{classLTQualCut_b38dc0bd6b25f899753b4598c278e6a2}{LTQualCut}, \hyperlink{classOBTQualCut_7731b6f7e6e08ff629550da311952c6a}{OBTQualCut}, \hyperlink{classPktQualCut_80b1473a595cd2536ae434212bbe00fc}{PktQualCut}, \hyperlink{classTrgConfCut_5570ce7035bf8638ad3a59b0cadbec4f}{TrgConfCut}, \hyperlink{classPamCutCollection_85f04cef7b560a37061391dd397813a7}{PamCutCollection}, \hyperlink{classTofBetaCut_8be0aa44a411b218f7dcf502b53864ff}{TofBetaCut}, \hyperlink{classTofBetaRangeCut_e9ee404fb4b3435746113d72c9471ec9}{TofBetaRangeCut}, \hyperlink{classTofBetaRigCut_661c3a16f981d43c28ccea04242a2a17}{TofBetaRigCut}, \hyperlink{classTofDedxS1Cut_28eb66874012caa199a3d78bf99c59ae}{TofDedxS1Cut}, \hyperlink{classTofNucleiZCut_86aa8211e4afee39ff38080347bf651d}{TofNucleiZCut}, \hyperlink{classTofPatternCut_b960628bc87a72be3c8aedab6b036dce}{TofPatternCut}, \hyperlink{classTofQualCut_b4b8322f9d91ffc647d4279536c446dc}{TofQualCut}, \hyperlink{classTofTopS1Cut_cd65ae025a3b089d8ea8c1809c023aba}{TofTopS1Cut}, \hyperlink{classRigFillCut_5441206a7a24f1f5d19dc1a64685fcd4}{RigFillCut}, \hyperlink{classTrkCalQualCut_1678dc1c169379f1faf1bb2407b1d99a}{TrkCalQualCut}, \hyperlink{classTrkChi2DeflCut_9a83aea89ca0147ca956c57fed60c2f4}{TrkChi2DeflCut}, \hyperlink{classTrkChi2QualCut_b3f014b4575ab61bee63ccf991e91e18}{TrkChi2QualCut}, \hyperlink{classTrkDedxHCut_2d8cd4ed98f290cb803c9720a42ff376}{TrkDedxHCut}, \hyperlink{classTrkGeomCut_4fef0bbfb92036676974671133e1ce5a}{TrkGeomCut}, \hyperlink{classTrkHitQualCut_e4327bc3c511827d3d2bcf0b3ed95f86}{TrkHitQualCut}, \hyperlink{classTrkIdCut_8c5dd8c6e34bd6234ae9bd3178090508}{TrkIdCut}, \hyperlink{classTrkIonCut_e96a9561ce59c156b6a913545b0960b9}{TrkIonCut}, \hyperlink{classTrkNucleiZCut_de47cb3c368d7ab12a8a5236de8915a4}{TrkNucleiZCut}, \hyperlink{classTrkPhSinCut_c9529432c0c9b8667c5c97ea824a7c93}{TrkPhSinCut}, \hyperlink{classTrkRigCut_00ddc4658bff1f28065ccb91d3eb43e6}{TrkRigCut}, \hyperlink{classTrkRigGeoCut_d334792be6ca66d01d75bb2f86a57382}{TrkRigGeoCut}, \hyperlink{classTrkRigRangeCut_ebebf52705ab17ef48ab12ec6d599c37}{TrkRigRangeCut}, \hyperlink{classTrkRunValCut_2c76ef62866b009e30b208749cf563f5}{TrkRunValCut}, and \hyperlink{classTrkSigmaDeflCut_8af1e1457f8c5d33b70aa75816188e72}{TrkSigmaDeflCut}.

Referenced by ApplyCut().\hypertarget{classPamCut_fd74c1565552cabe4aced316df803737}{
\index{PamCut@{PamCut}!Finalize@{Finalize}}
\index{Finalize@{Finalize}!PamCut@{PamCut}}
\subsubsection[{Finalize}]{\setlength{\rightskip}{0pt plus 5cm}virtual void PamCut::Finalize ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classPamCut_fd74c1565552cabe4aced316df803737}


The post-analysis task definition. 

This method is automatically called by \hyperlink{classPamCut_047b75499ea4457d60397ee5491adcd4}{Process()} after the event selection has been performed; override this in derived classes to perform post-analysis tasks like writing histograms, closing files and so on. 

Reimplemented in \hyperlink{classSmartBlindCollection_a78ee7b18b0913554e64b4e560453167}{SmartBlindCollection}, \hyperlink{classSmartCollection_8105730615ad127a482a7fb399695977}{SmartCollection}, \hyperlink{classVerboseBlindCollection_43d6ea7b5ea35c5dbb342e23584b79ee}{VerboseBlindCollection}, \hyperlink{classVerboseCollection_3fcdf28d50507d772647d4306a78f3cc}{VerboseCollection}, and \hyperlink{classPamCutCollection_15785c75fb13b998422739e741bb5c01}{PamCutCollection}.

Definition at line 128 of file PamCutBase.h.

Referenced by Process().\hypertarget{classPamCut_9f14d875c176c2af470838a1b6dc069b}{
\index{PamCut@{PamCut}!GetName@{GetName}}
\index{GetName@{GetName}!PamCut@{PamCut}}
\subsubsection[{GetName}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ PamCut::GetName () const}}
\label{classPamCut_9f14d875c176c2af470838a1b6dc069b}


Returns the cut name. 

\begin{Desc}
\item[Returns:]The cut name. \end{Desc}


Definition at line 57 of file PamCutBase.cpp.

References \_\-cutName.

Referenced by VerboseCollection::Finalize(), and VerboseBlindCollection::Finalize().\hypertarget{classPamCut_3ae6ebc9dd777e11e0d8ce18948538be}{
\index{PamCut@{PamCut}!GetNEv@{GetNEv}}
\index{GetNEv@{GetNEv}!PamCut@{PamCut}}
\subsubsection[{GetNEv}]{\setlength{\rightskip}{0pt plus 5cm}virtual UInt\_\-t PamCut::GetNEv ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classPamCut_3ae6ebc9dd777e11e0d8ce18948538be}


Returns the number of checked events. 

\begin{Desc}
\item[Returns:]The number of checked events. \end{Desc}


Definition at line 94 of file PamCutBase.h.

References \_\-nEv.

Referenced by VerboseCollection::Finalize(), and VerboseBlindCollection::Finalize().\hypertarget{classPamCut_b8a69206312cfcf6df6897aef973ef4a}{
\index{PamCut@{PamCut}!GetNGood@{GetNGood}}
\index{GetNGood@{GetNGood}!PamCut@{PamCut}}
\subsubsection[{GetNGood}]{\setlength{\rightskip}{0pt plus 5cm}virtual UInt\_\-t PamCut::GetNGood ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classPamCut_b8a69206312cfcf6df6897aef973ef4a}


Returns the number of good events. 

This counter keeps track of how many events have fulfilled the conditions specified in Check.

\begin{Desc}
\item[Returns:]The number of good events. \end{Desc}


Definition at line 104 of file PamCutBase.h.

References \_\-nGood.

Referenced by VerboseCollection::Finalize(), and VerboseBlindCollection::Finalize().\hypertarget{classPamCut_cbb3b507d79f20878fac4392ffa57acb}{
\index{PamCut@{PamCut}!OnBad@{OnBad}}
\index{OnBad@{OnBad}!PamCut@{PamCut}}
\subsubsection[{OnBad}]{\setlength{\rightskip}{0pt plus 5cm}virtual void PamCut::OnBad (PamLevel2 $\ast$ {\em event}, \/  int {\em selectionResult})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classPamCut_cbb3b507d79f20878fac4392ffa57acb}


Post-selection tasks. 

The post-selection tasks for bad events (ie., not satisfying the cut) can be defined here.

\begin{Desc}
\item[See also:]\hyperlink{classPamCut_56021e959232270c12528ddec3062985}{OnGood} \end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event which don't satisfy the cut. \item[{\em selectionResult}]The return value of the \hyperlink{classPamCut_a874600461950d1f2b75ce3938f91cbe}{Check()} routine. \end{description}
\end{Desc}


Reimplemented in \hyperlink{classSmartBlindCollection_f91282918f2ac3966b8ca491ef0ef634}{SmartBlindCollection}, and \hyperlink{classSmartCollection_99ac049c98461fbe04167f386ca7ed76}{SmartCollection}.

Definition at line 87 of file PamCutBase.h.

Referenced by PamCutCollection::ApplyCut(), ApplyCut(), and BlindCutCollection::ApplyCut().\hypertarget{classPamCut_56021e959232270c12528ddec3062985}{
\index{PamCut@{PamCut}!OnGood@{OnGood}}
\index{OnGood@{OnGood}!PamCut@{PamCut}}
\subsubsection[{OnGood}]{\setlength{\rightskip}{0pt plus 5cm}virtual void PamCut::OnGood (PamLevel2 $\ast$ {\em event})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classPamCut_56021e959232270c12528ddec3062985}


Post-selection tasks. 

Here the post-selection actions (histogram filling, parameter calculation etc.) can be defined. This routine is automatically called after a good event has been selected by \hyperlink{classPamCut_132a1a7cf365ff28eca38b7dda1acb7f}{ApplyCut()}. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]The event which satisfy the cut. \end{description}
\end{Desc}


Reimplemented in \hyperlink{classSmartBlindCollection_d56853747b6484dec74fef529388ea28}{SmartBlindCollection}, \hyperlink{classSmartCollection_13ce6deb47b60d10225598dd1201cd80}{SmartCollection}, \hyperlink{classLTGeoFillCut_17593f86005dd51a09a637232797c925}{LTGeoFillCut}, and \hyperlink{classRigFillCut_537f1b31f208ebe8f190f254be1fdc6c}{RigFillCut}.

Definition at line 76 of file PamCutBase.h.

Referenced by PamCutCollection::ApplyCut(), ApplyCut(), and BlindCutCollection::ApplyCut().\hypertarget{classPamCut_cff560f2c6a663345c81f95df905956e}{
\index{PamCut@{PamCut}!operator=@{operator=}}
\index{operator=@{operator=}!PamCut@{PamCut}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf PamCut} \& PamCut::operator= (const {\bf PamCut} \& {\em rightValue})}}
\label{classPamCut_cff560f2c6a663345c81f95df905956e}


The assignment operator. This operator defines how to copy a \hyperlink{classPamCut}{PamCut} object into another. In current implementation, it only copies the cut's name of the RHS on the LHS. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em rightValue}]The RHS. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new value for LHS. \end{Desc}


Definition at line 65 of file PamCutBase.cpp.

References \_\-cutName.\hypertarget{classPamCut_047b75499ea4457d60397ee5491adcd4}{
\index{PamCut@{PamCut}!Process@{Process}}
\index{Process@{Process}!PamCut@{PamCut}}
\subsubsection[{Process}]{\setlength{\rightskip}{0pt plus 5cm}void PamCut::Process (PamLevel2 $\ast$ {\em events}, \/  ULong\_\-t {\em firstEvent}, \/  ULong\_\-t {\em lastEvent})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classPamCut_047b75499ea4457d60397ee5491adcd4}


Applies the cut to a range of events. 

This method resets the counters calling Reset() and then calls \hyperlink{classPamCut_132a1a7cf365ff28eca38b7dda1acb7f}{ApplyCut(PamLevel2 $\ast$event)} for all the events in PamLevel2 argument inside the specified range. After checking all the events, it calls the private method \_\-Finalize(), on which the tasks to be performed after the selection can be defined.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em events}]Pointer to PamLevel2 object which contains the events. \item[{\em firstEvent}]The first event to analyze. Possible values range from 0 to \#events - 1. \item[{\em lastEvent}]The last event to analyze. \end{description}
\end{Desc}


Definition at line 30 of file PamCutBase.cpp.

References ApplyCut(), Finalize(), and Setup().\hypertarget{classPamCut_276bd306ea0a62cc0effa5dea4118e21}{
\index{PamCut@{PamCut}!SetName@{SetName}}
\index{SetName@{SetName}!PamCut@{PamCut}}
\subsubsection[{SetName}]{\setlength{\rightskip}{0pt plus 5cm}void PamCut::SetName (const char $\ast$ {\em newName})}}
\label{classPamCut_276bd306ea0a62cc0effa5dea4118e21}


Changes the cut's name. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em newName}]The new name. \end{description}
\end{Desc}


Definition at line 61 of file PamCutBase.cpp.

References \_\-cutName.\hypertarget{classPamCut_e587828903b809c99f9ab5ba97ae6616}{
\index{PamCut@{PamCut}!Setup@{Setup}}
\index{Setup@{Setup}!PamCut@{PamCut}}
\subsubsection[{Setup}]{\setlength{\rightskip}{0pt plus 5cm}void PamCut::Setup (PamLevel2 $\ast$ {\em events})\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classPamCut_e587828903b809c99f9ab5ba97ae6616}


The pre-analysis task definition. 

This method is automatically called by \hyperlink{classPamCut_047b75499ea4457d60397ee5491adcd4}{Process()} before the event selection; override this in derived classes to perform pre-analysis tasks like opening files and so on. In this base class implementation it only resets the counters for examined and good events. The parameter PamLevel2 $\ast$events may serve to initialize the analysis (even if in this base class implementation it is unused), so the interface includes it.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em events}]The PamLevel2 pointer to the events that will be analyzed.\end{description}
\end{Desc}
\begin{Desc}
\item[See also:]\hyperlink{classPamCut_3ae6ebc9dd777e11e0d8ce18948538be}{GetNEv()}, \hyperlink{classPamCut_b8a69206312cfcf6df6897aef973ef4a}{GetNGood()}. \end{Desc}


Reimplemented in \hyperlink{classSmartBlindCollection_e59d373921df00a54a8a8401a1ae2baf}{SmartBlindCollection}, \hyperlink{classSmartCollection_9b5b11a854b9e174218ea516ceffb34c}{SmartCollection}, and \hyperlink{classPamCutCollection_982821389af5e585688611d733b3a7b0}{PamCutCollection}.

Definition at line 53 of file PamCutBase.cpp.

References \_\-nEv, and \_\-nGood.

Referenced by Process().

\subsection{Member Data Documentation}
\hypertarget{classPamCut_1eb606f9dab9c7f2fd5d84f834dcf146}{
\index{PamCut@{PamCut}!\_\-cutName@{\_\-cutName}}
\index{\_\-cutName@{\_\-cutName}!PamCut@{PamCut}}
\subsubsection[{\_\-cutName}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf PamCut::\_\-cutName}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classPamCut_1eb606f9dab9c7f2fd5d84f834dcf146}




Definition at line 154 of file PamCutBase.h.

Referenced by GetName(), operator=(), and SetName().\hypertarget{classPamCut_0525bd3c71dbd445f817c163d56562d5}{
\index{PamCut@{PamCut}!\_\-nEv@{\_\-nEv}}
\index{\_\-nEv@{\_\-nEv}!PamCut@{PamCut}}
\subsubsection[{\_\-nEv}]{\setlength{\rightskip}{0pt plus 5cm}UInt\_\-t {\bf PamCut::\_\-nEv}\hspace{0.3cm}{\tt  \mbox{[}protected\mbox{]}}}}
\label{classPamCut_0525bd3c71dbd445f817c163d56562d5}


The number of analyzed events. 



Definition at line 158 of file PamCutBase.h.

Referenced by PamCutCollection::ApplyCut(), ApplyCut(), BlindCutCollection::ApplyCut(), GetNEv(), and Setup().\hypertarget{classPamCut_eacb32030a52b4353861159e3ca098d0}{
\index{PamCut@{PamCut}!\_\-nGood@{\_\-nGood}}
\index{\_\-nGood@{\_\-nGood}!PamCut@{PamCut}}
\subsubsection[{\_\-nGood}]{\setlength{\rightskip}{0pt plus 5cm}UInt\_\-t {\bf PamCut::\_\-nGood}\hspace{0.3cm}{\tt  \mbox{[}protected\mbox{]}}}}
\label{classPamCut_eacb32030a52b4353861159e3ca098d0}


The number of good events. 



Definition at line 159 of file PamCutBase.h.

Referenced by PamCutCollection::ApplyCut(), ApplyCut(), BlindCutCollection::ApplyCut(), GetNGood(), and Setup().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
PamCutBase/\hyperlink{PamCutBase_8h}{PamCutBase.h}\item 
PamCutBase/\hyperlink{PamCutBase_8cpp}{PamCutBase.cpp}\end{CompactItemize}
