1 #ifndef PandaTree_Objects_Lepton_h 2 #define PandaTree_Objects_Lepton_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 "PFCandBase.h" 10 #include "GenParticleBase.h" 34 Short_t* matchedPF_{0};
36 Short_t* matchedGen_{0};
40 void allocate(UInt_t n)
override;
41 void deallocate()
override;
45 void setAddress(TTree&, TString
const&,
utils::BranchList const& = {
"*"}, Bool_t setStatus = kTRUE)
override;
46 void book(TTree&, TString
const&,
utils::BranchList const& = {
"*"}, Bool_t dynamic = kTRUE)
override;
47 void releaseTree(TTree&, TString
const&)
override;
56 Lepton(
char const* name =
"");
62 static char const* typeName() {
return "Lepton"; }
64 void print(std::ostream& = std::cout, UInt_t level = 1)
const override;
65 void dump(std::ostream& = std::cout)
const override;
67 virtual double combIso()
const {
return 0.; }
90 void destructor(Bool_t recursive = kFALSE);
96 void doInit_()
override;
Definition: ParticleP.h:15
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
void dump(std::ostream &=std::cout) const override
Dump the object content.
Definition: Lepton.cc:392
Template class for fixed-size container implementations. Inherits from base_type::array_type of the e...
Definition: Array.h:20
List of branch names.
Definition: IOUtils.h:64
Definition: ParticleP.h:13
Float_t & pfPt
for E: Pt of the dR-closest PF candidate; for Mu: pfP4().pt()
Definition: Lepton.h:69
Base class for all containers.
Definition: ContainerBase.h:18
Template class for dynamic-size container implementations. Inherits from base_type::collection_type o...
Definition: Collection.h:19
void resizeVectors_(UInt_t) override
Override when there are vector members.
Definition: Lepton.cc:187
A vector of references to elements in a container.
Definition: RefVector.h:18
void print(std::ostream &=std::cout, UInt_t level=1) const override
Print the object content.
Definition: Lepton.cc:371