1 |
#ifndef trkupgradeanalysis_NTupleCandidateProxy_h
|
2 |
#define trkupgradeanalysis_NTupleCandidateProxy_h
|
3 |
|
4 |
#include <memory>
|
5 |
|
6 |
// Forward declarations
|
7 |
class TTree;
|
8 |
|
9 |
namespace trkupgradeanalysis
|
10 |
{
|
11 |
/** @brief Proxy object to handle passing information from the VHbb ntuples.
|
12 |
*
|
13 |
* @author Mark Grimes (mark.grimes@bristol.ac.uk)
|
14 |
* @date 28/Feb/2012
|
15 |
*/
|
16 |
class NTupleCandidateProxy
|
17 |
{
|
18 |
public:
|
19 |
NTupleCandidateProxy( TTree* pTree );
|
20 |
~NTupleCandidateProxy();
|
21 |
|
22 |
bool nextCandidate();
|
23 |
int numberOfRawAdditionalJets();
|
24 |
int numberOfAdditionalJets();
|
25 |
|
26 |
int candidateType();
|
27 |
int numberOfHiggsCandidateJets();
|
28 |
float csvOfHiggsCandidateJet( int jetNumber ); ///<@ Jet number is counted from 0
|
29 |
|
30 |
float zMass();
|
31 |
protected:
|
32 |
TTree* pTree_;
|
33 |
int candidateNumber_;
|
34 |
int maxCandidateNumber_;
|
35 |
|
36 |
// int Vtype_; ///< @brief The CandidateType.
|
37 |
// int naJets_; ///< @brief The number of additional jets before any cleaning.
|
38 |
// bool aJet_id_[JETS_ARRAY_MAX];
|
39 |
// float aJet_eta_[JETS_ARRAY_MAX];
|
40 |
// float aJet_pt_[JETS_ARRAY_MAX];
|
41 |
|
42 |
//std::auto_ptr<struct NTupleCandidateProxy_pImple> pImple_;
|
43 |
struct NTupleCandidateProxy_pImple* pImple_;
|
44 |
};
|
45 |
|
46 |
} // end of namespace trkupgradeanalysis
|
47 |
|
48 |
|
49 |
#endif // end of "#ifndef trkupgradeanalysis_NTupleCandidateProxy_h"
|