1 #ifndef PandaTree_Objects_Electron_h 2 #define PandaTree_Objects_Electron_h 5 #include "../../Framework/interface/Array.h" 6 #include "../../Framework/interface/Collection.h" 7 #include "../../Framework/interface/Ref.h" 8 #include "../../Framework/interface/RefVector.h" 9 #include "SuperCluster.h" 45 Float_t* isoPUOffset{0};
49 Float_t* dEtaInSeed{0};
56 Float_t* smearedPt{0};
58 UShort_t* nMissingHits{0};
62 Bool_t* mvaWPLoose{0};
63 Bool_t* mvaIsoWP90{0};
64 Bool_t* mvaIsoWP80{0};
65 Bool_t* mvaIsoWPLoose{0};
66 Bool_t* conversionVeto{0};
67 Bool_t* tripleCharge{0};
69 Short_t* superCluster_{0};
71 void allocate(UInt_t n)
override;
72 void deallocate()
override;
76 void setAddress(TTree&, TString
const&,
utils::BranchList const& = {
"*"}, Bool_t setStatus = kTRUE)
override;
77 void book(TTree&, TString
const&,
utils::BranchList const& = {
"*"}, Bool_t dynamic = kTRUE)
override;
78 void releaseTree(TTree&, TString
const&)
override;
93 static char const* typeName() {
return "Electron"; }
95 void print(std::ostream& = std::cout, UInt_t level = 1)
const override;
96 void dump(std::ostream& = std::cout)
const override;
98 double m()
const override {
return 5.109989e-4; }
99 double combIso()
const override {
return chIso + std::max(nhIso + phIso - isoPUOffset, Float_t(0.)); }
124 Float_t& isoPUOffset;
137 UShort_t& nMissingHits;
144 Bool_t& mvaIsoWPLoose;
145 Bool_t& conversionVeto;
146 Bool_t& tripleCharge;
154 void destructor(Bool_t recursive = kFALSE);
160 void doInit_()
override;
void print(std::ostream &=std::cout, UInt_t level=1) const override
Print the object content.
Definition: Electron.cc:596
Base class for fixed-size containers.
Definition: ArrayBase.h:13
A reference to an element in a container.
Definition: Ref.h:20
Base class for dynamic-size containers.
Definition: CollectionBase.h:16
Template class for fixed-size container implementations. Inherits from base_type::array_type of the e...
Definition: Array.h:20
void resizeVectors_(UInt_t) override
Override when there are vector members.
Definition: Electron.cc:307
List of branch names.
Definition: IOUtils.h:64
Definition: Electron.h:15
Base class for all containers.
Definition: ContainerBase.h:18
Definition: Electron.h:13
void dump(std::ostream &=std::cout) const override
Dump the object content.
Definition: Electron.cc:622
A vector of references to elements in a container.
Definition: RefVector.h:18