Classes | Public Types | Public Member Functions | Public Attributes | List of all members
dune::AnaRootParserDataStruct Class Reference

Classes

class  BoxedArray
 A wrapper to a C array (needed to embed an array into a vector) More...
 
class  BranchCreator
 Little helper functor class to create or reset branches in a tree. More...
 
class  PFParticleDataStruct
 
class  ShowerDataStruct
 
struct  SubRunData_t
 information from the subrun More...
 
class  TrackDataStruct
 
class  VertexDataStruct
 

Public Types

enum  DataBits_t : unsigned int {
  tdAuxDet = 0x01, tdCry = 0x02, tdGenie = 0x04, tdPhotons = 0x08,
  tdGenerator = 0x10, tdGeant = 0x20, tdGeantInAV = 0x40, tdGeantTrajectory = 0x80,
  tdSimEnergyDepositTPCActive = 0x100, tdHit = 0x200, tdTrack = 0x400, tdVertex = 0x800,
  tdFlash = 0x1000, tdShower = 0x2000, tdMCshwr = 0x4000, tdMCtrk = 0x8000,
  tdCluster = 0x10000, tdRawDigit = 0x20000, tdRecobWire = 0x40000, tdPandoraNuVertex = 0x80000,
  tdPFParticle = 0x100000, tdCount = 0x200000, tdProto = 0x400000, tdDefault = 0
}
 
template<typename T >
using AuxDetMCData_t = std::vector< BoxedArray< T[kMaxAuxDets]>>
 

Public Member Functions

bool hasAuxDetector () const
 Returns whether we have auxiliary detector data. More...
 
bool hasCryInfo () const
 Returns whether we have Cry data. More...
 
bool hasGenieInfo () const
 Returns whether we have Genie data. More...
 
bool hasMCShowerInfo () const
 Returns whether we have MCShower data. More...
 
bool hasMCTrackInfo () const
 Returns whether we have MCTrack data. More...
 
bool hasHitInfo () const
 Returns whether we have Hit data. More...
 
bool hasRawDigitInfo () const
 Returns whether we have RawDigit data. More...
 
bool hasRecobWireInfo () const
 Returns whether we have RecobWire data. More...
 
bool hasTrackInfo () const
 Returns whether we have Track data. More...
 
bool hasShowerInfo () const
 Returns whether we have Shower data. More...
 
bool hasVertexInfo () const
 Returns whether we have Vertex data. More...
 
bool hasPFParticleInfo () const
 Returns whether we have PFParticle data. More...
 
bool hasClusterInfo () const
 Returns whether we have Cluster data. More...
 
bool hasPandoraNuVertexInfo () const
 Returns whether we have Pandora Nu Vertex data. More...
 
bool hasPhotonInfo () const
 Returns whether we have photon data. More...
 
bool hasGeneratorInfo () const
 Returns whether we have Generator data. More...
 
bool hasGeantInfo () const
 Returns whether we have Geant data. More...
 
bool hasGeantInAVInfo () const
 Returns whether we have Geant data. More...
 
bool hasGeantTrajectoryInfo () const
 Returns whether we have Geant trajectory data. More...
 
bool hasSimEnergyDepositTPCActiveInfo () const
 Returns whether we have Geant trajectory data. More...
 
bool hasFlashInfo () const
 Returns whether we have Flash data. More...
 
bool hasExternCountInfo () const
 Returns whether we have External Counter data. More...
 
bool hasProtoInfo () const
 Returns whether we have protoDUNE beam primaries. More...
 
void SetBits (unsigned int setbits, bool unset=false)
 Sets the specified bits. More...
 
 AnaRootParserDataStruct (size_t nTrackers=0, size_t nVertexAlgos=0, std::vector< std::string > const &ShowerAlgos={})
 Constructor; clears all fields. More...
 
TrackDataStructGetTrackerData (size_t iTracker)
 
const TrackDataStructGetTrackerData (size_t iTracker) const
 
ShowerDataStructGetShowerData (size_t iShower)
 
ShowerDataStruct const & GetShowerData (size_t iShower) const
 
VertexDataStructGetVertexData (size_t iVertex)
 
const VertexDataStructGetVertexData (size_t iVertex) const
 
PFParticleDataStructGetPFParticleData ()
 
const PFParticleDataStructGetPFParticleData () const
 
void ClearLocalData ()
 Clear all fields if this object (not the tracker algorithm data) More...
 
void Clear ()
 Clear all fields. More...
 
void SetTrackers (size_t nTrackers)
 Allocates data structures for the given number of trackers (no Clear()) More...
 
void SetVertexAlgos (size_t nVertexAlgos)
 Allocates data structures for the given number of vertex algos (no Clear()) More...
 
void SetShowerAlgos (std::vector< std::string > const &ShowerAlgos)
 Allocates data structures for the given number of trackers (no Clear()) More...
 
void ResizePhotons (int nPhotons)
 Resize the data strutcure for Generator particles. More...
 
void ResizeGenerator (int nParticles)
 Resize the data strutcure for Generator particles. More...
 
void ResizeGEANT (int nParticles)
 Resize the data strutcure for GEANT particles. More...
 
void ResizeGEANTInAV (int nParticlesInAV)
 Resize the data strutcure for GEANT particles in active volume. More...
 
void ResizeGEANTTrajectory (int nTrajectoryPoints)
 Resize the data strutcure for GEANT trajectory info. More...
 
void ResizeSimEnergyDepositsTPCActive (int nSimEnergyDepositsTPCActive, int nParticlesWithSimEnergyDepositsTPCActive)
 Resize the data strutcure for SimEnergyDepositTPCActive info. More...
 
void ResizeGenie (int nPrimaries)
 Resize the data strutcure for Genie primaries. More...
 
void ResizeCry (int nPrimaries)
 Resize the data strutcure for Cry primaries. More...
 
void ResizeProto (int nPrimaries)
 Resize the data structure for ProtoDUNE primaries. More...
 
void ResizeMCShower (int nMCShowers)
 Resize the data strutcure for MC Showers. More...
 
void ResizeMCTrack (int nMCTracks)
 Resize the data strutcure for MC Tracks. More...
 
void SetAddresses (TTree *pTree, std::vector< std::string > const &trackers, std::vector< std::string > const &vertexalgos, std::vector< std::string > const &showeralgos, bool isCosmics)
 Connect this object with a tree. More...
 
size_t GetNTrackers () const
 Returns the number of trackers for which data structures are allocated. More...
 
size_t GetNVertexAlgos () const
 Returns the number of Vertex algos for which data structures are allocated. More...
 
size_t GetNShowerAlgos () const
 Returns the number of trackers for which data structures are allocated. More...
 
size_t GetMaxHits () const
 Returns the number of hits for which memory is allocated. More...
 
size_t GetMaxTrackers () const
 Returns the number of trackers for which memory is allocated. More...
 
size_t GetMaxVertexAlgos () const
 Returns the number of trackers for which memory is allocated. More...
 
size_t GetMaxShowers () const
 Returns the number of trackers for which memory is allocated. More...
 
size_t GetMaxPhotons () const
 Returns the number of GEANT particles for which memory is allocated. More...
 
size_t GetMaxGeneratorparticles () const
 Returns the number of GEANT particles for which memory is allocated. More...
 
size_t GetMaxGEANTparticles () const
 Returns the number of GEANT particles for which memory is allocated. More...
 
size_t GetMaxGEANTInAVparticles () const
 Returns the number of GEANT particles in AV for which memory is allocated. More...
 
size_t GetMaxGEANTtrajectorypoints () const
 Returns the number of GEANT trajectory steps for which memory is allocated. More...
 
size_t GetMaxSimEnergyDepositsTPCActive () const
 Returns the number of SimEnergyDepositsTPCActive for which memory is allocated. More...
 
size_t GetMaxParticlesWithSimEnergyDepositsTPCActive () const
 Returns the number of particles with SimEnergyDepositsTPCActive for which memory is allocated. More...
 
size_t GetMaxGeniePrimaries () const
 Returns the number of GENIE primaries for which memory is allocated. More...
 

Public Attributes

SubRunData_t SubRunData
 subrun data collected at begin of subrun More...
 
Int_t run
 
Int_t subrun
 
Int_t event
 
Int_t evttime_seconds
 
Int_t evttime_nanoseconds
 
Double_t beamtime
 
Double_t pot
 
Double_t taulife
 
Char_t isdata
 
unsigned int triggernumber
 
Double_t triggertime
 
Double_t beamgatetime
 
unsigned int triggerbits
 
Double_t potbnb
 
Double_t potnumitgt
 
Double_t potnumi101
 
Int_t no_hits
 
Int_t NHitsInAllTracks
 
Int_t no_hits_stored
 
Short_t hit_tpc [kMaxHits]
 
Short_t hit_view [kMaxHits]
 
Short_t hit_wire [kMaxHits]
 
Short_t hit_channel [kMaxHits]
 
Float_t hit_peakT [kMaxHits]
 
Float_t hit_chargesum [kMaxHits]
 
Float_t hit_chargeintegral [kMaxHits]
 
Float_t hit_ph [kMaxHits]
 
Float_t hit_startT [kMaxHits]
 
Float_t hit_endT [kMaxHits]
 
Float_t hit_rms [kMaxHits]
 
Float_t hit_goodnessOfFit [kMaxHits]
 
Float_t hit_fitparamampl [kMaxHits]
 
Float_t hit_fitparamt0 [kMaxHits]
 
Float_t hit_fitparamtau1 [kMaxHits]
 
Float_t hit_fitparamtau2 [kMaxHits]
 
Short_t hit_multiplicity [kMaxHits]
 
Int_t hit_trueID [kMaxHits]
 
Float_t hit_trueEnergyMax [kMaxHits]
 
Float_t hit_trueEnergyFraction [kMaxHits]
 
Short_t hit_trkid [kMaxHits]
 
Short_t hit_clusterid [kMaxHits]
 
Int_t no_channels
 
Int_t no_ticks
 
Int_t no_ticksinallchannels
 
Int_t rawD_Channel [kMaxChannels]
 
Short_t rawD_ADC [kMaxReadoutTicksInAllChannels]
 
Int_t no_recochannels
 
Int_t recoW_Channel [kMaxChannels]
 
Int_t recoW_NTicks [kMaxChannels]
 
Int_t no_recoticksinallchannels
 
Int_t recoW_Tick [kMaxReadoutTicksInAllChannels]
 
Float_t recoW_ADC [kMaxReadoutTicksInAllChannels]
 
size_t MaxPhotons = 0
 
Int_t numberofphotons
 
std::vector< Float_t > photons_time
 
std::vector< Float_t > photons_channel
 
Short_t nnuvtx
 
Float_t nuvtxx [kMaxVertices]
 
Float_t nuvtxy [kMaxVertices]
 
Float_t nuvtxz [kMaxVertices]
 
Short_t nuvtxpdg [kMaxVertices]
 
Short_t nclusters
 
Short_t clusterId [kMaxClusters]
 
Short_t clusterView [kMaxClusters]
 
Int_t cluster_isValid [kMaxClusters]
 
Float_t cluster_StartCharge [kMaxClusters]
 
Float_t cluster_StartAngle [kMaxClusters]
 
Float_t cluster_EndCharge [kMaxClusters]
 
Float_t cluster_EndAngle [kMaxClusters]
 
Float_t cluster_Integral [kMaxClusters]
 
Float_t cluster_IntegralAverage [kMaxClusters]
 
Float_t cluster_SummedADC [kMaxClusters]
 
Float_t cluster_SummedADCaverage [kMaxClusters]
 
Float_t cluster_MultipleHitDensity [kMaxClusters]
 
Float_t cluster_Width [kMaxClusters]
 
Short_t cluster_NHits [kMaxClusters]
 
Short_t cluster_StartWire [kMaxClusters]
 
Short_t cluster_StartTick [kMaxClusters]
 
Short_t cluster_EndWire [kMaxClusters]
 
Short_t cluster_EndTick [kMaxClusters]
 
Int_t no_flashes
 
Float_t flash_time [kMaxFlashes]
 
Float_t flash_pe [kMaxFlashes]
 
Float_t flash_ycenter [kMaxFlashes]
 
Float_t flash_zcenter [kMaxFlashes]
 
Float_t flash_ywidth [kMaxFlashes]
 
Float_t flash_zwidth [kMaxFlashes]
 
Float_t flash_timewidth [kMaxFlashes]
 
Int_t no_ExternCounts
 
Float_t externcounts_time [kMaxExternCounts]
 
Float_t externcounts_id [kMaxExternCounts]
 
Char_t kNTracker
 
std::vector< TrackDataStructTrackData
 
Char_t kNVertexAlgos
 
std::vector< VertexDataStructVertexData
 
Char_t kNShowerAlgos
 
std::vector< ShowerDataStructShowerData
 
PFParticleDataStruct PFParticleData
 
Int_t mcevts_truth
 
Int_t nuPDG_truth [kMaxTruth]
 
Int_t ccnc_truth [kMaxTruth]
 
Int_t mode_truth [kMaxTruth]
 
Float_t enu_truth [kMaxTruth]
 
Float_t Q2_truth [kMaxTruth]
 
Float_t W_truth [kMaxTruth]
 
Float_t X_truth [kMaxTruth]
 
Float_t Y_truth [kMaxTruth]
 
Int_t hitnuc_truth [kMaxTruth]
 
Float_t nuvtxx_truth [kMaxTruth]
 
Float_t nuvtxy_truth [kMaxTruth]
 
Float_t nuvtxz_truth [kMaxTruth]
 
Float_t nu_dcosx_truth [kMaxTruth]
 
Float_t nu_dcosy_truth [kMaxTruth]
 
Float_t nu_dcosz_truth [kMaxTruth]
 
Float_t lep_mom_truth [kMaxTruth]
 
Float_t lep_dcosx_truth [kMaxTruth]
 
Float_t lep_dcosy_truth [kMaxTruth]
 
Float_t lep_dcosz_truth [kMaxTruth]
 
Float_t vx_flux [kMaxTruth]
 
Float_t vy_flux [kMaxTruth]
 
Float_t vz_flux [kMaxTruth]
 
Float_t pdpx_flux [kMaxTruth]
 
Float_t pdpy_flux [kMaxTruth]
 
Float_t pdpz_flux [kMaxTruth]
 
Float_t ppdxdz_flux [kMaxTruth]
 
Float_t ppdydz_flux [kMaxTruth]
 
Float_t pppz_flux [kMaxTruth]
 
Int_t ptype_flux [kMaxTruth]
 
Float_t ppvx_flux [kMaxTruth]
 
Float_t ppvy_flux [kMaxTruth]
 
Float_t ppvz_flux [kMaxTruth]
 
Float_t muparpx_flux [kMaxTruth]
 
Float_t muparpy_flux [kMaxTruth]
 
Float_t muparpz_flux [kMaxTruth]
 
Float_t mupare_flux [kMaxTruth]
 
Int_t tgen_flux [kMaxTruth]
 
Int_t tgptype_flux [kMaxTruth]
 
Float_t tgppx_flux [kMaxTruth]
 
Float_t tgppy_flux [kMaxTruth]
 
Float_t tgppz_flux [kMaxTruth]
 
Float_t tprivx_flux [kMaxTruth]
 
Float_t tprivy_flux [kMaxTruth]
 
Float_t tprivz_flux [kMaxTruth]
 
Float_t dk2gen_flux [kMaxTruth]
 
Float_t gen2vtx_flux [kMaxTruth]
 
Float_t tpx_flux [kMaxTruth]
 
Float_t tpy_flux [kMaxTruth]
 
Float_t tpz_flux [kMaxTruth]
 
Int_t tptype_flux [kMaxTruth]
 
size_t MaxGeniePrimaries = 0
 
Int_t genie_no_primaries
 
std::vector< Int_t > genie_primaries_pdg
 
std::vector< Float_t > genie_Eng
 
std::vector< Float_t > genie_Px
 
std::vector< Float_t > genie_Py
 
std::vector< Float_t > genie_Pz
 
std::vector< Float_t > genie_P
 
std::vector< Int_t > genie_status_code
 
std::vector< Float_t > genie_mass
 
std::vector< Int_t > genie_trackID
 
std::vector< Int_t > genie_ND
 
std::vector< Int_t > genie_mother
 
Int_t mcevts_truthcry
 
Int_t cry_no_primaries
 
std::vector< Int_t > cry_primaries_pdg
 
std::vector< Float_t > cry_Eng
 
std::vector< Float_t > cry_Px
 
std::vector< Float_t > cry_Py
 
std::vector< Float_t > cry_Pz
 
std::vector< Float_t > cry_P
 
std::vector< Float_t > cry_StartPointx
 
std::vector< Float_t > cry_StartPointy
 
std::vector< Float_t > cry_StartPointz
 
std::vector< Float_t > cry_StartPointt
 
std::vector< Int_t > cry_status_code
 
std::vector< Float_t > cry_mass
 
std::vector< Int_t > cry_trackID
 
std::vector< Int_t > cry_ND
 
std::vector< Int_t > cry_mother
 
Int_t proto_no_primaries
 
std::vector< Int_t > proto_isGoodParticle
 
std::vector< Float_t > proto_vx
 
std::vector< Float_t > proto_vy
 
std::vector< Float_t > proto_vz
 
std::vector< Float_t > proto_t
 
std::vector< Float_t > proto_px
 
std::vector< Float_t > proto_py
 
std::vector< Float_t > proto_pz
 
std::vector< Float_t > proto_momentum
 
std::vector< Float_t > proto_energy
 
std::vector< Int_t > proto_pdg
 
size_t MaxGeneratorparticles = 0
 
Int_t generator_list_size
 ! how many particles there is currently room for More...
 
size_t MaxGEANTparticles = 0
 
Int_t no_primaries
 ! how many particles there is currently room for More...
 
Int_t geant_list_size
 
Int_t geant_list_size_in_tpcAV
 
std::vector< Int_t > pdg
 
std::vector< Int_t > status
 
std::vector< Int_t > inTPCActive
 
std::vector< Float_t > Eng
 
std::vector< Float_t > EndE
 
std::vector< Float_t > Mass
 
std::vector< Float_t > Px
 
std::vector< Float_t > Py
 
std::vector< Float_t > Pz
 
std::vector< Float_t > P
 
std::vector< Float_t > StartPointx
 
std::vector< Float_t > StartPointy
 
std::vector< Float_t > StartPointz
 
std::vector< Float_t > StartT
 
std::vector< Float_t > EndT
 
std::vector< Float_t > EndPointx
 
std::vector< Float_t > EndPointy
 
std::vector< Float_t > EndPointz
 
std::vector< Float_t > theta
 
std::vector< Float_t > phi
 
std::vector< Float_t > theta_xz
 
std::vector< Float_t > theta_yz
 
size_t MaxGEANTInAVparticles = 0
 
std::vector< Float_t > pathlen_tpcAV
 
std::vector< Int_t > TrackId_tpcAV
 
std::vector< Int_t > PDGCode_tpcAV
 
std::vector< Float_t > StartPointx_tpcAV
 
std::vector< Float_t > StartPointy_tpcAV
 
std::vector< Float_t > StartPointz_tpcAV
 
std::vector< Float_t > StartT_tpcAV
 
std::vector< Float_t > StartE_tpcAV
 
std::vector< Float_t > StartP_tpcAV
 
std::vector< Float_t > StartPx_tpcAV
 
std::vector< Float_t > StartPy_tpcAV
 
std::vector< Float_t > StartPz_tpcAV
 
std::vector< Float_t > thetastart_tpcAV
 
std::vector< Float_t > phistart_tpcAV
 
std::vector< Float_t > EndPointx_tpcAV
 
std::vector< Float_t > EndPointy_tpcAV
 
std::vector< Float_t > EndPointz_tpcAV
 
std::vector< Float_t > EndT_tpcAV
 
std::vector< Float_t > EndE_tpcAV
 
std::vector< Float_t > EndP_tpcAV
 
std::vector< Float_t > EndPx_tpcAV
 
std::vector< Float_t > EndPy_tpcAV
 
std::vector< Float_t > EndPz_tpcAV
 
std::vector< Float_t > thetaend_tpcAV
 
std::vector< Float_t > phiend_tpcAV
 
std::vector< Float_t > pathlen_drifted
 
std::vector< Int_t > inTPCDrifted
 
std::vector< Float_t > StartPointx_drifted
 
std::vector< Float_t > StartPointy_drifted
 
std::vector< Float_t > StartPointz_drifted
 
std::vector< Float_t > StartT_drifted
 
std::vector< Float_t > StartE_drifted
 
std::vector< Float_t > StartP_drifted
 
std::vector< Float_t > StartPx_drifted
 
std::vector< Float_t > StartPy_drifted
 
std::vector< Float_t > StartPz_drifted
 
std::vector< Float_t > EndPointx_drifted
 
std::vector< Float_t > EndPointy_drifted
 
std::vector< Float_t > EndPointz_drifted
 
std::vector< Float_t > EndT_drifted
 
std::vector< Float_t > EndE_drifted
 
std::vector< Float_t > EndP_drifted
 
std::vector< Float_t > EndPx_drifted
 
std::vector< Float_t > EndPy_drifted
 
std::vector< Float_t > EndPz_drifted
 
std::vector< Int_t > NumberDaughters
 
std::vector< Int_t > TrackId
 
std::vector< Int_t > Mother
 
std::vector< Int_t > process_primary
 
std::vector< std::stringprocessname
 
std::vector< Int_t > MergedId
 
std::vector< Int_t > origin
 
std::vector< Int_t > MCTruthIndex
 
size_t MaxGEANTtrajectorypoints = 0
 
Int_t geant_trajectory_size
 ! how many trajectory points for all geant particles there is currently room for More...
 
std::vector< Int_t > NTrajectoryPointsPerParticle
 
std::vector< Int_t > TrajTrackId
 
std::vector< Int_t > TrajPDGCode
 
std::vector< Float_t > TrajX
 
std::vector< Float_t > TrajY
 
std::vector< Float_t > TrajZ
 
std::vector< Float_t > TrajT
 
std::vector< Float_t > TrajE
 
std::vector< Float_t > TrajP
 
std::vector< Float_t > TrajPx
 
std::vector< Float_t > TrajPy
 
std::vector< Float_t > TrajPz
 
std::vector< Float_t > TrajTheta
 
std::vector< Float_t > TrajPhi
 
size_t MaxSimEnergyDepositsTPCActive = 0
 
size_t MaxParticlesWithSimEnergyDepositsTPCActive = 0
 ! how many sim energy deposits in TPC AV there is currently room for More...
 
Int_t simenergydeposit_size
 ! how many particles with sim energy deposits in TPC AV there is currently room for More...
 
Int_t particleswithsimenergydeposit_size
 
std::vector< Int_t > NSimEnergyDepositsTPCActivePerParticle
 
std::vector< Int_t > ParticleIDSimEnergyDepositsTPCActivePerParticle
 
std::vector< Int_t > SEDTPCAVTrackID
 
std::vector< Int_t > SEDTPCAVPDGCode
 
std::vector< float > SEDTPCAVEnergy
 
std::vector< Int_t > SEDTPCAVNumPhotons
 
std::vector< Int_t > SEDTPCAVNumElectrons
 
std::vector< float > SEDTPCAVLength
 
std::vector< float > SEDTPCAVStartTime
 
std::vector< float > SEDTPCAVStartX
 
std::vector< float > SEDTPCAVStartY
 
std::vector< float > SEDTPCAVStartZ
 
std::vector< float > SEDTPCAVMidTime
 
std::vector< float > SEDTPCAVMidX
 
std::vector< float > SEDTPCAVMidY
 
std::vector< float > SEDTPCAVMidZ
 
std::vector< float > SEDTPCAVEndTime
 
std::vector< float > SEDTPCAVEndX
 
std::vector< float > SEDTPCAVEndY
 
std::vector< float > SEDTPCAVEndZ
 
Int_t no_mcshowers
 
std::vector< Int_t > mcshwr_origin
 
std::vector< Int_t > mcshwr_pdg
 
std::vector< Int_t > mcshwr_TrackId
 
std::vector< std::stringmcshwr_Process
 
std::vector< Float_t > mcshwr_startX
 
std::vector< Float_t > mcshwr_startY
 
std::vector< Float_t > mcshwr_startZ
 
std::vector< Float_t > mcshwr_endX
 
std::vector< Float_t > mcshwr_endY
 
std::vector< Float_t > mcshwr_endZ
 
std::vector< Float_t > mcshwr_CombEngX
 
std::vector< Float_t > mcshwr_CombEngY
 
std::vector< Float_t > mcshwr_CombEngZ
 
std::vector< Float_t > mcshwr_CombEngPx
 
std::vector< Float_t > mcshwr_CombEngPy
 
std::vector< Float_t > mcshwr_CombEngPz
 
std::vector< Float_t > mcshwr_CombEngE
 
std::vector< Float_t > mcshwr_dEdx
 
std::vector< Float_t > mcshwr_StartDirX
 
std::vector< Float_t > mcshwr_StartDirY
 
std::vector< Float_t > mcshwr_StartDirZ
 
std::vector< Int_t > mcshwr_isEngDeposited
 
std::vector< Int_t > mcshwr_Motherpdg
 
std::vector< Int_t > mcshwr_MotherTrkId
 
std::vector< std::stringmcshwr_MotherProcess
 
std::vector< Float_t > mcshwr_MotherstartX
 
std::vector< Float_t > mcshwr_MotherstartY
 
std::vector< Float_t > mcshwr_MotherstartZ
 
std::vector< Float_t > mcshwr_MotherendX
 
std::vector< Float_t > mcshwr_MotherendY
 
std::vector< Float_t > mcshwr_MotherendZ
 
std::vector< Int_t > mcshwr_Ancestorpdg
 
std::vector< Int_t > mcshwr_AncestorTrkId
 
std::vector< std::stringmcshwr_AncestorProcess
 
std::vector< Float_t > mcshwr_AncestorstartX
 
std::vector< Float_t > mcshwr_AncestorstartY
 
std::vector< Float_t > mcshwr_AncestorstartZ
 
std::vector< Float_t > mcshwr_AncestorendX
 
std::vector< Float_t > mcshwr_AncestorendY
 
std::vector< Float_t > mcshwr_AncestorendZ
 
Int_t no_mctracks
 
std::vector< Int_t > mctrk_origin
 
std::vector< Int_t > mctrk_pdg
 
std::vector< Int_t > mctrk_TrackId
 
std::vector< std::stringmctrk_Process
 
std::vector< Float_t > mctrk_startX
 
std::vector< Float_t > mctrk_startY
 
std::vector< Float_t > mctrk_startZ
 
std::vector< Float_t > mctrk_endX
 
std::vector< Float_t > mctrk_endY
 
std::vector< Float_t > mctrk_endZ
 
std::vector< Float_t > mctrk_startX_drifted
 
std::vector< Float_t > mctrk_startY_drifted
 
std::vector< Float_t > mctrk_startZ_drifted
 
std::vector< Float_t > mctrk_endX_drifted
 
std::vector< Float_t > mctrk_endY_drifted
 
std::vector< Float_t > mctrk_endZ_drifted
 
std::vector< Float_t > mctrk_len_drifted
 
std::vector< Float_t > mctrk_p_drifted
 
std::vector< Float_t > mctrk_px_drifted
 
std::vector< Float_t > mctrk_py_drifted
 
std::vector< Float_t > mctrk_pz_drifted
 
std::vector< Int_t > mctrk_Motherpdg
 
std::vector< Int_t > mctrk_MotherTrkId
 
std::vector< std::stringmctrk_MotherProcess
 
std::vector< Float_t > mctrk_MotherstartX
 
std::vector< Float_t > mctrk_MotherstartY
 
std::vector< Float_t > mctrk_MotherstartZ
 
std::vector< Float_t > mctrk_MotherendX
 
std::vector< Float_t > mctrk_MotherendY
 
std::vector< Float_t > mctrk_MotherendZ
 
std::vector< Int_t > mctrk_Ancestorpdg
 
std::vector< Int_t > mctrk_AncestorTrkId
 
std::vector< std::stringmctrk_AncestorProcess
 
std::vector< Float_t > mctrk_AncestorstartX
 
std::vector< Float_t > mctrk_AncestorstartY
 
std::vector< Float_t > mctrk_AncestorstartZ
 
std::vector< Float_t > mctrk_AncestorendX
 
std::vector< Float_t > mctrk_AncestorendY
 
std::vector< Float_t > mctrk_AncestorendZ
 
std::vector< UShort_t > NAuxDets
 Number of AuxDets crossed by this particle. More...
 
AuxDetMCData_t< Short_t > AuxDetID
 Which AuxDet this particle went through. More...
 
AuxDetMCData_t< Float_t > entryX
 Entry X position of particle into AuxDet. More...
 
AuxDetMCData_t< Float_t > entryY
 Entry Y position of particle into AuxDet. More...
 
AuxDetMCData_t< Float_t > entryZ
 Entry Z position of particle into AuxDet. More...
 
AuxDetMCData_t< Float_t > entryT
 Entry T position of particle into AuxDet. More...
 
AuxDetMCData_t< Float_t > exitX
 Exit X position of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > exitY
 Exit Y position of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > exitZ
 Exit Z position of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > exitT
 Exit T position of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > exitPx
 Exit x momentum of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > exitPy
 Exit y momentum of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > exitPz
 Exit z momentum of particle out of AuxDet. More...
 
AuxDetMCData_t< Float_t > CombinedEnergyDep
 Sum energy of all particles with this trackID (+ID or -ID) in AuxDet. More...
 
unsigned int bits
 complementary information More...
 

Detailed Description

Data structure with all the tree information.

Can connect to a tree, clear its fields and resize its data.

Definition at line 113 of file AnaRootParser_module.cc.

Member Typedef Documentation

Definition at line 1037 of file AnaRootParser_module.cc.

Member Enumeration Documentation

Enumerator
tdAuxDet 
tdCry 
tdGenie 
tdPhotons 
tdGenerator 
tdGeant 
tdGeantInAV 
tdGeantTrajectory 
tdSimEnergyDepositTPCActive 
tdHit 
tdTrack 
tdVertex 
tdFlash 
tdShower 
tdMCshwr 
tdMCtrk 
tdCluster 
tdRawDigit 
tdRecobWire 
tdPandoraNuVertex 
tdPFParticle 
tdCount 
tdProto 
tdDefault 

Definition at line 495 of file AnaRootParser_module.cc.

495  : unsigned int {
496  tdAuxDet = 0x01,
497  tdCry = 0x02,
498  tdGenie = 0x04,
499  tdPhotons = 0x08,
500  tdGenerator = 0x10,
501  tdGeant = 0x20,
502  tdGeantInAV = 0x40,
503  tdGeantTrajectory = 0x80,
505  tdHit = 0x200,
506  tdTrack = 0x400,
507  tdVertex = 0x800,
508  tdFlash = 0x1000,
509  tdShower = 0x2000,
510  tdMCshwr = 0x4000,
511  tdMCtrk = 0x8000,
512  tdCluster = 0x10000,
513  tdRawDigit = 0x20000,
514  tdRecobWire = 0x40000,
515  tdPandoraNuVertex = 0x80000,
516  tdPFParticle = 0x100000,
517  tdCount = 0x200000,
518  tdProto = 0x400000,
519  tdDefault = 0
520  }; // DataBits_t

Constructor & Destructor Documentation

dune::AnaRootParserDataStruct::AnaRootParserDataStruct ( size_t  nTrackers = 0,
size_t  nVertexAlgos = 0,
std::vector< std::string > const &  ShowerAlgos = {} 
)
inline

Constructor; clears all fields.

Definition at line 1130 of file AnaRootParser_module.cc.

1131  {}):
1132  bits(tdDefault)
1133  { SetTrackers(nTrackers); SetVertexAlgos(nVertexAlgos); SetShowerAlgos(ShowerAlgos); Clear(); }
unsigned int bits
complementary information
void SetTrackers(size_t nTrackers)
Allocates data structures for the given number of trackers (no Clear())
void SetVertexAlgos(size_t nVertexAlgos)
Allocates data structures for the given number of vertex algos (no Clear())
void SetShowerAlgos(std::vector< std::string > const &ShowerAlgos)
Allocates data structures for the given number of trackers (no Clear())

Member Function Documentation

void dune::AnaRootParserDataStruct::Clear ( )

Clear all fields.

Definition at line 3056 of file AnaRootParser_module.cc.

3056  {
3057  ClearLocalData();
3058  std::for_each
3059  (TrackData.begin(), TrackData.end(), std::mem_fn(&TrackDataStruct::Clear));
3060  std::for_each
3061  (VertexData.begin(), VertexData.end(), std::mem_fn(&VertexDataStruct::Clear));
3062  std::for_each
3063  (ShowerData.begin(), ShowerData.end(), std::mem_fn(&ShowerDataStruct::Clear));
3064 } // dune::AnaRootParserDataStruct::Clear()
std::vector< VertexDataStruct > VertexData
std::vector< ShowerDataStruct > ShowerData
std::vector< TrackDataStruct > TrackData
void ClearLocalData()
Clear all fields if this object (not the tracker algorithm data)
void dune::AnaRootParserDataStruct::ClearLocalData ( )

Clear all fields if this object (not the tracker algorithm data)

Definition at line 2643 of file AnaRootParser_module.cc.

2643  {
2644 
2645  // RunData.Clear();
2646  SubRunData.Clear();
2647 
2648  run = -9999;
2649  subrun = -9999;
2650  event = -9999;
2651  evttime_seconds = -9999;
2652  evttime_nanoseconds = -9999;
2653  beamtime = -9999;
2654  isdata = -99;
2655  taulife = -9999;
2656  triggernumber = 0;
2657  triggertime = -9999;
2658  beamgatetime = -9999;
2659  triggerbits = 0;
2660  potbnb = 0;
2661  potnumitgt = 0;
2662  potnumi101 = 0;
2663 
2664  no_hits = 0;
2665  no_hits_stored = 0;
2666  NHitsInAllTracks = 0;
2667 
2668  std::fill(hit_tpc, hit_tpc + sizeof(hit_tpc)/sizeof(hit_tpc[0]), -999);
2669  std::fill(hit_view, hit_view + sizeof(hit_view)/sizeof(hit_view[0]), -999);
2670  std::fill(hit_wire, hit_wire + sizeof(hit_wire)/sizeof(hit_wire[0]), -999);
2671  std::fill(hit_channel, hit_channel + sizeof(hit_channel)/sizeof(hit_channel[0]), -999);
2672  std::fill(hit_peakT, hit_peakT + sizeof(hit_peakT)/sizeof(hit_peakT[0]), -999.);
2673  std::fill(hit_chargesum, hit_chargesum + sizeof(hit_chargesum)/sizeof(hit_chargesum[0]), -999.);
2675  std::fill(hit_ph, hit_ph + sizeof(hit_ph)/sizeof(hit_ph[0]), -999.);
2676  std::fill(hit_startT, hit_startT + sizeof(hit_startT)/sizeof(hit_startT[0]), -999.);
2677  std::fill(hit_endT, hit_endT + sizeof(hit_endT)/sizeof(hit_endT[0]), -999.);
2678  std::fill(hit_rms, hit_rms + sizeof(hit_rms)/sizeof(hit_rms[0]), -999.);
2679  // std::fill(hit_trueX, hit_trueX + sizeof(hit_trueX)/sizeof(hit_trueX[0]), -999.);
2686  std::fill(hit_trueID, hit_trueID + sizeof(hit_trueID)/sizeof(hit_trueID[0]), -999.);
2689  std::fill(hit_trkid, hit_trkid + sizeof(hit_trkid)/sizeof(hit_trkid[0]), -999);
2690  // std::fill(hit_trkKey, hit_trkKey + sizeof(hit_trkKey)/sizeof(hit_trkKey[0]), -999);
2691  std::fill(hit_clusterid, hit_clusterid + sizeof(hit_clusterid)/sizeof(hit_clusterid[0]), -9999);
2692  // std::fill(hit_clusterKey, hit_clusterKey + sizeof(hit_clusterKey)/sizeof(hit_clusterKey[0]), -999);
2693  // std::fill(hit_nelec, hit_nelec + sizeof(hit_nelec)/sizeof(hit_nelec[0]), -999.);
2694  // std::fill(hit_energy, hit_energy + sizeof(hit_energy)/sizeof(hit_energy[0]), -999.);
2695  //raw digit information
2696 /*
2697  std::fill(rawD_ph, rawD_ph + sizeof(rawD_ph)/sizeof(rawD_ph[0]), -999.);
2698  std::fill(rawD_peakT, rawD_peakT + sizeof(rawD_peakT)/sizeof(rawD_peakT[0]), -999.);
2699  std::fill(rawD_charge, rawD_charge + sizeof(rawD_charge)/sizeof(rawD_charge[0]), -999.);
2700  std::fill(rawD_fwhh, rawD_fwhh + sizeof(rawD_fwhh)/sizeof(rawD_fwhh[0]), -999.);
2701  std::fill(rawD_rms, rawD_rms + sizeof(rawD_rms)/sizeof(rawD_rms[0]), -999.);
2702 */
2703  no_channels = 0;
2704  no_ticks = 0;
2706  std::fill(rawD_ADC, rawD_ADC + sizeof(rawD_ADC)/sizeof(rawD_ADC[0]), -999);
2707  std::fill(rawD_Channel, rawD_Channel + sizeof(rawD_Channel)/sizeof(rawD_Channel[0]), -999);
2708 
2709  no_recochannels=0;
2710  std::fill(recoW_Channel, recoW_Channel + sizeof(recoW_Channel)/sizeof(recoW_Channel[0]), -999);
2711  std::fill(recoW_NTicks, recoW_NTicks + sizeof(recoW_NTicks)/sizeof(recoW_NTicks[0]), -999);
2712 
2714  std::fill(recoW_Tick, recoW_Tick + sizeof(recoW_Tick)/sizeof(recoW_Tick[0]), -999);
2715  std::fill(recoW_ADC, recoW_ADC + sizeof(recoW_ADC)/sizeof(recoW_ADC[0]), -999);
2716 
2717  numberofphotons=0;
2718  FillWith(photons_time,-999);
2719  FillWith(photons_channel,-999);
2720 
2721  no_flashes = 0;
2722  std::fill(flash_time, flash_time + sizeof(flash_time)/sizeof(flash_time[0]), -999);
2723  std::fill(flash_pe, flash_pe + sizeof(flash_pe)/sizeof(flash_pe[0]), -999);
2724  std::fill(flash_ycenter, flash_ycenter + sizeof(flash_ycenter)/sizeof(flash_ycenter[0]), -999);
2725  std::fill(flash_zcenter, flash_zcenter + sizeof(flash_zcenter)/sizeof(flash_zcenter[0]), -999);
2726  std::fill(flash_ywidth, flash_ywidth + sizeof(flash_ywidth)/sizeof(flash_ywidth[0]), -999);
2727  std::fill(flash_zwidth, flash_zwidth + sizeof(flash_zwidth)/sizeof(flash_zwidth[0]), -999);
2729 
2730  no_ExternCounts = 0;
2733 
2734  nclusters = 0;
2735  std::fill(clusterId, clusterId + sizeof(clusterId)/sizeof(clusterId[0]), -999);
2736  std::fill(clusterView, clusterView + sizeof(clusterView)/sizeof(clusterView[0]), -999);
2747  std::fill(cluster_Width, cluster_Width + sizeof(cluster_Width)/sizeof(cluster_Width[0]), -999.);
2748  std::fill(cluster_NHits, cluster_NHits + sizeof(cluster_NHits)/sizeof(cluster_NHits[0]), -999);
2753  // std::fill(cluncosmictags_tagger, cluncosmictags_tagger + sizeof(cluncosmictags_tagger)/sizeof(cluncosmictags_tagger[0]), -999);
2754  // std::fill(clucosmicscore_tagger, clucosmicscore_tagger + sizeof(clucosmicscore_tagger)/sizeof(clucosmicscore_tagger[0]), -999.);
2755  // std::fill(clucosmictype_tagger , clucosmictype_tagger + sizeof(clucosmictype_tagger )/sizeof(clucosmictype_tagger [0]), -999);
2756 
2757  nnuvtx = 0;
2758  std::fill(nuvtxx, nuvtxx + sizeof(nuvtxx)/sizeof(nuvtxx[0]), -999.);
2759  std::fill(nuvtxy, nuvtxy + sizeof(nuvtxy)/sizeof(nuvtxy[0]), -999.);
2760  std::fill(nuvtxz, nuvtxz + sizeof(nuvtxz)/sizeof(nuvtxz[0]), -999.);
2761  std::fill(nuvtxpdg, nuvtxpdg + sizeof(nuvtxpdg)/sizeof(nuvtxpdg[0]), -9999);
2762 
2763  mcevts_truth = -9999;
2764  mcevts_truthcry = -9999;
2765  std::fill(nuPDG_truth, nuPDG_truth + sizeof(nuPDG_truth)/sizeof(nuPDG_truth[0]), -999.);
2766  std::fill(ccnc_truth, ccnc_truth + sizeof(ccnc_truth)/sizeof(ccnc_truth[0]), -999.);
2767  std::fill(mode_truth, mode_truth + sizeof(mode_truth)/sizeof(mode_truth[0]), -999.);
2768  std::fill(enu_truth, enu_truth + sizeof(enu_truth)/sizeof(enu_truth[0]), -999.);
2769  std::fill(Q2_truth, Q2_truth + sizeof(Q2_truth)/sizeof(Q2_truth[0]), -999.);
2770  std::fill(W_truth, W_truth + sizeof(W_truth)/sizeof(W_truth[0]), -999.);
2771  std::fill(X_truth, X_truth + sizeof(X_truth)/sizeof(X_truth[0]), -999.);
2772  std::fill(Y_truth, Y_truth + sizeof(Y_truth)/sizeof(Y_truth[0]), -999.);
2773  std::fill(hitnuc_truth, hitnuc_truth + sizeof(hitnuc_truth)/sizeof(hitnuc_truth[0]), -999.);
2774  std::fill(nuvtxx_truth, nuvtxx_truth + sizeof(nuvtxx_truth)/sizeof(nuvtxx_truth[0]), -999.);
2775  std::fill(nuvtxy_truth, nuvtxy_truth + sizeof(nuvtxy_truth)/sizeof(nuvtxy_truth[0]), -999.);
2776  std::fill(nuvtxz_truth, nuvtxz_truth + sizeof(nuvtxz_truth)/sizeof(nuvtxz_truth[0]), -999.);
2780  std::fill(lep_mom_truth, lep_mom_truth + sizeof(lep_mom_truth)/sizeof(lep_mom_truth[0]), -999.);
2784 
2785  //Flux information
2786  std::fill(vx_flux, vx_flux + sizeof(vx_flux)/sizeof(vx_flux[0]), -999.);
2787  std::fill(vy_flux, vy_flux + sizeof(vy_flux)/sizeof(vy_flux[0]), -999.);
2788  std::fill(vz_flux, vz_flux + sizeof(vz_flux)/sizeof(vz_flux[0]), -999.);
2789  std::fill(pdpx_flux, pdpx_flux + sizeof(pdpx_flux)/sizeof(pdpx_flux[0]), -999.);
2790  std::fill(pdpy_flux, pdpy_flux + sizeof(pdpy_flux)/sizeof(pdpy_flux[0]), -999.);
2791  std::fill(pdpz_flux, pdpz_flux + sizeof(pdpz_flux)/sizeof(pdpz_flux[0]), -999.);
2792  std::fill(ppdxdz_flux, ppdxdz_flux + sizeof(ppdxdz_flux)/sizeof(ppdxdz_flux[0]), -999.);
2793  std::fill(ppdydz_flux, ppdydz_flux + sizeof(ppdydz_flux)/sizeof(ppdydz_flux[0]), -999.);
2794  std::fill(pppz_flux, pppz_flux + sizeof(pppz_flux)/sizeof(pppz_flux[0]), -999.);
2795  std::fill(ptype_flux, ptype_flux + sizeof(ptype_flux)/sizeof(ptype_flux[0]), -999);
2796  std::fill(ppvx_flux, ppvx_flux + sizeof(ppvx_flux)/sizeof(ppvx_flux[0]), -999.);
2797  std::fill(ppvy_flux, ppvy_flux + sizeof(ppvy_flux)/sizeof(ppvy_flux[0]), -999.);
2798  std::fill(ppvz_flux, ppvz_flux + sizeof(ppvz_flux)/sizeof(ppvz_flux[0]), -999.);
2799  std::fill(muparpx_flux, muparpx_flux + sizeof(muparpx_flux)/sizeof(muparpx_flux[0]), -999.);
2800  std::fill(muparpy_flux, muparpy_flux + sizeof(muparpy_flux)/sizeof(muparpy_flux[0]), -999.);
2801  std::fill(muparpz_flux, muparpz_flux + sizeof(muparpz_flux)/sizeof(muparpz_flux[0]), -999.);
2802  std::fill(mupare_flux, mupare_flux + sizeof(mupare_flux)/sizeof(mupare_flux[0]), -999.);
2803  std::fill(tgen_flux, tgen_flux + sizeof(tgen_flux)/sizeof(tgen_flux[0]), -999);
2804  std::fill(tgptype_flux, tgptype_flux + sizeof(tgptype_flux)/sizeof(tgptype_flux[0]), -999);
2805  std::fill(tgppx_flux, tgppx_flux + sizeof(tgppx_flux)/sizeof(tgppx_flux[0]), -999.);
2806  std::fill(tgppy_flux, tgppy_flux + sizeof(tgppy_flux)/sizeof(tgppy_flux[0]), -999.);
2807  std::fill(tgppz_flux, tgppz_flux + sizeof(tgppz_flux)/sizeof(tgppz_flux[0]), -999.);
2808  std::fill(tprivx_flux, tprivx_flux + sizeof(tprivx_flux)/sizeof(tprivx_flux[0]), -999.);
2809  std::fill(tprivy_flux, tprivy_flux + sizeof(tprivy_flux)/sizeof(tprivy_flux[0]), -999.);
2810  std::fill(tprivz_flux, tprivz_flux + sizeof(tprivz_flux)/sizeof(tprivz_flux[0]), -999.);
2811  std::fill(dk2gen_flux, dk2gen_flux + sizeof(dk2gen_flux)/sizeof(dk2gen_flux[0]), -999.);
2812  std::fill(gen2vtx_flux, gen2vtx_flux + sizeof(gen2vtx_flux)/sizeof(gen2vtx_flux[0]), -999.);
2813  std::fill(tpx_flux, tpx_flux + sizeof(tpx_flux)/sizeof(tpx_flux[0]), -999.);
2814  std::fill(tpy_flux, tpy_flux + sizeof(tpy_flux)/sizeof(tpy_flux[0]), -999.);
2815  std::fill(tpz_flux, tpz_flux + sizeof(tpz_flux)/sizeof(tpz_flux[0]), -999.);
2816  std::fill(tptype_flux, tptype_flux + sizeof(tptype_flux)/sizeof(tptype_flux[0]), -999.);
2817 
2818  genie_no_primaries = 0;
2819  cry_no_primaries = 0;
2820  proto_no_primaries = 0;
2821  generator_list_size = 0;
2822  no_primaries = 0;
2823  geant_list_size=0;
2825  no_mcshowers = 0;
2826  no_mctracks = 0;
2827 
2828  FillWith(pdg, -9999);
2829  FillWith(status, -9999);
2830  FillWith(Mass, -999.);
2831  FillWith(Eng, -999.);
2832  FillWith(EndE, -999.);
2833  FillWith(Px, -999.);
2834  FillWith(Py, -999.);
2835  FillWith(Pz, -999.);
2836  FillWith(P, -999.);
2837  FillWith(StartPointx, -999.);
2838  FillWith(StartPointy, -999.);
2839  FillWith(StartPointz, -999.);
2840  FillWith(StartT, -99e7);
2841  FillWith(EndT, -999.);
2842  FillWith(EndPointx, -999.);
2843  FillWith(EndPointy, -999.);
2844  FillWith(EndPointz, -999.);
2845  FillWith(EndT, -99e7);
2846  FillWith(theta, -999.);
2847  FillWith(phi, -999.);
2848  FillWith(theta_xz, -999.);
2849  FillWith(theta_yz, -999.);
2850 
2851  FillWith(pathlen_tpcAV, -999.);
2852  FillWith(inTPCActive, -9999);
2853  FillWith(TrackId_tpcAV, -9999);
2854  FillWith(PDGCode_tpcAV, -9999);
2855  FillWith(StartPointx_tpcAV, -999.);
2856  FillWith(StartPointy_tpcAV, -999.);
2857  FillWith(StartPointz_tpcAV, -999.);
2858  FillWith(StartT_tpcAV, -99e7);
2859  FillWith(StartE_tpcAV, -999.);
2860  FillWith(StartP_tpcAV, -999.);
2861  FillWith(StartPx_tpcAV, -999.);
2862  FillWith(StartPy_tpcAV, -999.);
2863  FillWith(StartPz_tpcAV, -999.);
2864  FillWith(thetastart_tpcAV, -999.);
2865  FillWith(phistart_tpcAV, -999.);
2866  FillWith(EndPointx_tpcAV, -999.);
2867  FillWith(EndPointy_tpcAV, -999.);
2868  FillWith(EndPointz_tpcAV, -999.);
2869  FillWith(EndT_tpcAV, -99e7);
2870  FillWith(EndE_tpcAV, -999.);
2871  FillWith(EndP_tpcAV, -999.);
2872  FillWith(EndPx_tpcAV, -999.);
2873  FillWith(EndPy_tpcAV, -999.);
2874  FillWith(EndPz_tpcAV, -999.);
2875  FillWith(thetaend_tpcAV, -999.);
2876  FillWith(phiend_tpcAV, -999.);
2877 
2878  FillWith(pathlen_drifted, -999.);
2879  FillWith(inTPCDrifted, -9999);
2880  FillWith(StartPointx_drifted, -999.);
2881  FillWith(StartPointy_drifted, -999.);
2882  FillWith(StartPointz_drifted, -999.);
2883  FillWith(StartT_drifted, -99e7);
2884  FillWith(StartE_drifted, -999.);
2885  FillWith(StartP_drifted, -999.);
2886  FillWith(StartPx_drifted, -999.);
2887  FillWith(StartPy_drifted, -999.);
2888  FillWith(StartPz_drifted, -999.);
2889  FillWith(EndPointx_drifted, -999.);
2890  FillWith(EndPointy_drifted, -999.);
2891  FillWith(EndPointz_drifted, -999.);
2892  FillWith(EndT_drifted, -99e7);
2893  FillWith(EndE_drifted, -999.);
2894  FillWith(EndP_drifted, -999.);
2895  FillWith(EndPx_drifted, -999.);
2896  FillWith(EndPy_drifted, -999.);
2897  FillWith(EndPz_drifted, -999.);
2898  FillWith(NumberDaughters, -9999);
2899  FillWith(Mother, -9999);
2900  FillWith(TrackId, -9999);
2901  FillWith(process_primary, -9999);
2902  FillWith(processname, "noname");
2903  FillWith(MergedId, -9999);
2904  FillWith(origin, -9999);
2905  FillWith(MCTruthIndex, -9999);
2906  FillWith(genie_primaries_pdg, -9999);
2907  FillWith(genie_Eng, -999.);
2908  FillWith(genie_Px, -999.);
2909  FillWith(genie_Py, -999.);
2910  FillWith(genie_Pz, -999.);
2911  FillWith(genie_P, -999.);
2912  FillWith(genie_status_code, -9999);
2913  FillWith(genie_mass, -999.);
2914  FillWith(genie_trackID, -9999);
2915  FillWith(genie_ND, -9999);
2916  FillWith(genie_mother, -9999);
2917  FillWith(cry_primaries_pdg, -9999);
2918  FillWith(cry_Eng, -999.);
2919  FillWith(cry_Px, -999.);
2920  FillWith(cry_Py, -999.);
2921  FillWith(cry_Pz, -999.);
2922  FillWith(cry_P, -999.);
2923  FillWith(cry_StartPointx, -999.);
2924  FillWith(cry_StartPointy, -999.);
2925  FillWith(cry_StartPointz, -999.);
2926  FillWith(cry_StartPointt, -999.);
2927  FillWith(cry_status_code, -9999);
2928  FillWith(cry_mass, -999.);
2929  FillWith(cry_trackID, -9999);
2930  FillWith(cry_ND, -9999);
2931  FillWith(cry_mother, -9999);
2932  // Start of ProtoDUNE Beam generator section
2933  FillWith(proto_isGoodParticle,-9999);
2934  FillWith(proto_vx,-999.);
2935  FillWith(proto_vy,-999.);
2936  FillWith(proto_vz,-999.);
2937  FillWith(proto_t,-999.);
2938  FillWith(proto_px,-999.);
2939  FillWith(proto_py,-999.);
2940  FillWith(proto_pz,-999.);
2941  FillWith(proto_momentum,-999.);
2942  FillWith(proto_energy,-999.);
2943  FillWith(proto_pdg,-9999);
2944  // End of ProtoDUNE Beam generator section
2945  FillWith(mcshwr_origin, -1);
2946  FillWith(mcshwr_pdg, -9999);
2947  FillWith(mcshwr_TrackId, -9999);
2948  FillWith(mcshwr_Process, "noname");
2949  FillWith(mcshwr_startX, -999.);
2950  FillWith(mcshwr_startY, -999.);
2951  FillWith(mcshwr_startZ, -999.);
2952  FillWith(mcshwr_endX, -999.);
2953  FillWith(mcshwr_endY, -999.);
2954  FillWith(mcshwr_endZ, -999.);
2955  FillWith(mcshwr_CombEngX, -999.);
2956  FillWith(mcshwr_CombEngY, -999.);
2957  FillWith(mcshwr_CombEngZ, -999.);
2958  FillWith(mcshwr_CombEngPx, -999.);
2959  FillWith(mcshwr_CombEngPy, -999.);
2960  FillWith(mcshwr_CombEngPz, -999.);
2961  FillWith(mcshwr_CombEngE, -999.);
2962  FillWith(mcshwr_dEdx, -999.);
2963  FillWith(mcshwr_StartDirX, -999.);
2964  FillWith(mcshwr_StartDirY, -999.);
2965  FillWith(mcshwr_StartDirZ, -999.);
2966  FillWith(mcshwr_isEngDeposited, -999);
2967  FillWith(mcshwr_Motherpdg, -9999);
2968  FillWith(mcshwr_MotherTrkId, -9999);
2969  FillWith(mcshwr_MotherProcess, "noname");
2970  FillWith(mcshwr_MotherstartX, -999.);
2971  FillWith(mcshwr_MotherstartY, -999.);
2972  FillWith(mcshwr_MotherstartZ, -999.);
2973  FillWith(mcshwr_MotherendX, -999.);
2974  FillWith(mcshwr_MotherendY, -999.);
2975  FillWith(mcshwr_MotherendZ, -999.);
2976  FillWith(mcshwr_Ancestorpdg, -9999);
2977  FillWith(mcshwr_AncestorTrkId, -9999);
2978  FillWith(mcshwr_AncestorProcess, "noname");
2979  FillWith(mcshwr_AncestorstartX, -999.);
2980  FillWith(mcshwr_AncestorstartY, -999.);
2981  FillWith(mcshwr_AncestorstartZ, -999.);
2982  FillWith(mcshwr_AncestorendX, -999.);
2983  FillWith(mcshwr_AncestorendY, -999.);
2984  FillWith(mcshwr_AncestorendZ, -999.);
2985 
2986  //GEANT trajectory steps
2988 
2989  FillWith(NTrajectoryPointsPerParticle, -999);
2990 
2991  FillWith(TrajTrackId, -999);
2992  FillWith(TrajPDGCode, -999);
2993  FillWith(TrajX, -999.);
2994  FillWith(TrajY, -999.);
2995  FillWith(TrajZ, -999.);
2996  FillWith(TrajT, -999.);
2997  FillWith(TrajE, -999.);
2998  FillWith(TrajP, -999.);
2999  FillWith(TrajPx, -999.);
3000  FillWith(TrajPy, -999.);
3001  FillWith(TrajPz, -999.);
3002  FillWith(TrajTheta, -999.);
3003  FillWith(TrajPhi, -999.);
3004 
3005  //SimEnergyDeposits
3008 
3011 
3012  FillWith(SEDTPCAVTrackID, 0);
3013  FillWith(SEDTPCAVPDGCode, 0);
3014 
3015  FillWith(SEDTPCAVEnergy, -999.);
3016  FillWith(SEDTPCAVNumPhotons, -999);
3017  FillWith(SEDTPCAVNumElectrons, -999);
3018  FillWith(SEDTPCAVLength, -999.);
3019  FillWith(SEDTPCAVStartTime, -999.);
3020  FillWith(SEDTPCAVStartX, -999.);
3021  FillWith(SEDTPCAVStartY, -999.);
3022  FillWith(SEDTPCAVStartZ, -999.);
3023  FillWith(SEDTPCAVMidTime, -999.);
3024  FillWith(SEDTPCAVMidX, -999.);
3025  FillWith(SEDTPCAVMidY, -999.);
3026  FillWith(SEDTPCAVMidZ, -999.);
3027  FillWith(SEDTPCAVEndTime, -999.);
3028  FillWith(SEDTPCAVEndX, -999.);
3029  FillWith(SEDTPCAVEndY, -999.);
3030  FillWith(SEDTPCAVEndZ, -999.);
3031 
3032 
3033 
3034 
3035 
3036  // auxiliary detector information;
3037  FillWith(NAuxDets, 0);
3038  // - set to -999 all the values of each of the arrays in AuxDetID;
3039  // this auto is BoxedArray<Short_t>
3040  for (auto& partInfo: AuxDetID) FillWith(partInfo, -999);
3041  // - pythonish C++: as the previous line, for each one in a list of containers
3042  // of the same type (C++ is not python yet), using pointers to avoid copy;
3043  for (AuxDetMCData_t<Float_t>* cont: {
3044  &entryX, &entryY, &entryZ, &entryT,
3045  &exitX , &exitY , &exitZ, &exitT, &exitPx, &exitPy, &exitPz,
3047  })
3048  {
3049  // this auto is BoxedArray<Float_t>
3050  for (auto& partInfo: *cont) FillWith(partInfo, -999.);
3051  } // for container
3052 
3053 } // dune::AnaRootParserDataStruct::ClearLocalData()
Int_t geant_trajectory_size
! how many trajectory points for all geant particles there is currently room for
std::vector< Float_t > mcshwr_CombEngE
std::vector< Float_t > EndPx_tpcAV
AuxDetMCData_t< Float_t > exitPx
Exit x momentum of particle out of AuxDet.
std::vector< Float_t > mcshwr_endZ
std::vector< Float_t > EndPointz_drifted
std::vector< Float_t > StartT_drifted
std::vector< Float_t > cry_StartPointz
std::vector< Float_t > StartPointz_tpcAV
Float_t cluster_SummedADCaverage[kMaxClusters]
std::vector< Float_t > EndPointy_drifted
std::vector< Int_t > mcshwr_isEngDeposited
std::vector< Float_t > mcshwr_CombEngX
std::vector< Float_t > mcshwr_startY
std::vector< Float_t > thetastart_tpcAV
std::vector< Float_t > StartPx_tpcAV
Int_t generator_list_size
! how many particles there is currently room for
std::vector< Float_t > mcshwr_AncestorendZ
AuxDetMCData_t< Float_t > exitT
Exit T position of particle out of AuxDet.
std::vector< Float_t > mcshwr_MotherendY
std::vector< Float_t > StartP_tpcAV
std::vector< Float_t > StartE_drifted
Float_t cluster_Integral[kMaxClusters]
Int_t simenergydeposit_size
! how many particles with sim energy deposits in TPC AV there is currently room for ...
std::vector< Float_t > mcshwr_CombEngZ
std::vector< Float_t > mcshwr_CombEngY
std::vector< Float_t > StartPy_drifted
std::vector< std::string > mcshwr_AncestorProcess
std::vector< Float_t > mcshwr_CombEngPy
Int_t recoW_Tick[kMaxReadoutTicksInAllChannels]
std::vector< Float_t > StartPointz_drifted
std::vector< Float_t > pathlen_drifted
std::vector< Float_t > mcshwr_CombEngPx
std::vector< Float_t > EndP_drifted
std::vector< Int_t > NTrajectoryPointsPerParticle
std::vector< float > SEDTPCAVStartTime
Float_t externcounts_time[kMaxExternCounts]
std::vector< Float_t > proto_momentum
std::vector< Float_t > mcshwr_dEdx
AuxDetMCData_t< Float_t > entryZ
Entry Z position of particle into AuxDet.
std::vector< Float_t > cry_StartPointx
std::vector< Float_t > mcshwr_AncestorstartY
std::vector< Int_t > proto_isGoodParticle
AuxDetMCData_t< Float_t > exitX
Exit X position of particle out of AuxDet.
std::vector< Float_t > EndPz_drifted
Int_t no_primaries
! how many particles there is currently room for
std::vector< Float_t > mcshwr_StartDirY
std::vector< Float_t > mcshwr_AncestorendX
AuxDetMCData_t< Float_t > exitPy
Exit y momentum of particle out of AuxDet.
std::vector< Float_t > photons_time
Float_t cluster_SummedADC[kMaxClusters]
std::vector< std::string > mcshwr_Process
std::vector< Float_t > mcshwr_CombEngPz
std::vector< Float_t > mcshwr_MotherendX
std::vector< Float_t > mcshwr_AncestorstartX
AuxDetMCData_t< Float_t > entryX
Entry X position of particle into AuxDet.
std::vector< Float_t > EndPointx_drifted
std::vector< Float_t > mcshwr_MotherstartY
Float_t cluster_EndAngle[kMaxClusters]
std::vector< Float_t > mcshwr_StartDirZ
std::vector< Int_t > mcshwr_MotherTrkId
Short_t cluster_EndWire[kMaxClusters]
SubRunData_t SubRunData
subrun data collected at begin of subrun
std::vector< Float_t > StartPz_drifted
Float_t cluster_StartCharge[kMaxClusters]
Float_t cluster_StartAngle[kMaxClusters]
Float_t recoW_ADC[kMaxReadoutTicksInAllChannels]
std::vector< Float_t > StartP_drifted
std::vector< Float_t > StartPointx_drifted
std::vector< Float_t > StartPx_drifted
std::vector< Int_t > mcshwr_AncestorTrkId
std::vector< Int_t > genie_status_code
AuxDetMCData_t< Float_t > exitY
Exit Y position of particle out of AuxDet.
std::vector< Float_t > StartPointy_drifted
std::vector< Float_t > proto_energy
std::vector< Float_t > StartPointx
Float_t externcounts_id[kMaxExternCounts]
std::vector< Float_t > EndPointy_tpcAV
std::vector< Float_t > EndPointx_tpcAV
std::vector< Float_t > StartPy_tpcAV
std::vector< Float_t > EndPointz_tpcAV
Short_t rawD_ADC[kMaxReadoutTicksInAllChannels]
Float_t cluster_MultipleHitDensity[kMaxClusters]
std::vector< Float_t > mcshwr_MotherendZ
Short_t cluster_StartTick[kMaxClusters]
std::vector< Float_t > StartPointz
std::vector< Float_t > pathlen_tpcAV
std::vector< Float_t > mcshwr_startZ
std::vector< Int_t > cry_primaries_pdg
std::vector< Float_t > photons_channel
std::vector< Float_t > phiend_tpcAV
std::vector< Int_t > mcshwr_Ancestorpdg
def fill(s)
Definition: translator.py:93
std::vector< Float_t > mcshwr_MotherstartZ
std::vector< Float_t > EndPy_drifted
std::vector< Float_t > StartPointx_tpcAV
std::vector< Float_t > mcshwr_AncestorendY
std::vector< Float_t > EndPy_tpcAV
std::vector< Float_t > EndT_drifted
AuxDetMCData_t< Float_t > exitPz
Exit z momentum of particle out of AuxDet.
std::vector< Float_t > mcshwr_startX
std::vector< Float_t > StartT_tpcAV
AuxDetMCData_t< Short_t > AuxDetID
Which AuxDet this particle went through.
std::vector< Int_t > NSimEnergyDepositsTPCActivePerParticle
Short_t cluster_EndTick[kMaxClusters]
std::vector< Float_t > mcshwr_MotherstartX
std::vector< Float_t > StartE_tpcAV
std::vector< Float_t > mcshwr_StartDirX
std::vector< Float_t > mcshwr_endX
std::vector< Float_t > EndPz_tpcAV
std::vector< Float_t > thetaend_tpcAV
std::vector< Float_t > StartPointy
std::vector< std::string > mcshwr_MotherProcess
std::vector< Float_t > mcshwr_AncestorstartZ
std::vector< std::string > processname
std::vector< Float_t > EndE_drifted
Float_t cluster_IntegralAverage[kMaxClusters]
AuxDetMCData_t< Float_t > CombinedEnergyDep
Sum energy of all particles with this trackID (+ID or -ID) in AuxDet.
std::vector< Float_t > StartPointy_tpcAV
std::vector< Float_t > mcshwr_endY
std::vector< Int_t > SEDTPCAVNumPhotons
std::vector< UShort_t > NAuxDets
Number of AuxDets crossed by this particle.
std::vector< Float_t > StartPz_tpcAV
AuxDetMCData_t< Float_t > entryY
Entry Y position of particle into AuxDet.
Short_t cluster_StartWire[kMaxClusters]
AuxDetMCData_t< Float_t > entryT
Entry T position of particle into AuxDet.
std::vector< Int_t > genie_primaries_pdg
AuxDetMCData_t< Float_t > exitZ
Exit Z position of particle out of AuxDet.
std::vector< Float_t > EndPx_drifted
std::vector< Float_t > cry_StartPointy
std::vector< Float_t > cry_StartPointt
std::vector< Int_t > ParticleIDSimEnergyDepositsTPCActivePerParticle
std::vector< Int_t > SEDTPCAVNumElectrons
std::vector< Float_t > phistart_tpcAV
Float_t cluster_EndCharge[kMaxClusters]
size_t dune::AnaRootParserDataStruct::GetMaxGEANTInAVparticles ( ) const
inline

Returns the number of GEANT particles in AV for which memory is allocated.

Definition at line 1245 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxGEANTparticles ( ) const
inline

Returns the number of GEANT particles for which memory is allocated.

Definition at line 1242 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxGEANTtrajectorypoints ( ) const
inline

Returns the number of GEANT trajectory steps for which memory is allocated.

Definition at line 1248 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxGeneratorparticles ( ) const
inline

Returns the number of GEANT particles for which memory is allocated.

Definition at line 1239 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxGeniePrimaries ( ) const
inline

Returns the number of GENIE primaries for which memory is allocated.

Definition at line 1259 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxHits ( ) const
inline

Returns the number of hits for which memory is allocated.

Definition at line 1224 of file AnaRootParser_module.cc.

1224 { return kMaxHits; }
constexpr int kMaxHits
size_t dune::AnaRootParserDataStruct::GetMaxParticlesWithSimEnergyDepositsTPCActive ( ) const
inline

Returns the number of particles with SimEnergyDepositsTPCActive for which memory is allocated.

Definition at line 1254 of file AnaRootParser_module.cc.

size_t MaxParticlesWithSimEnergyDepositsTPCActive
! how many sim energy deposits in TPC AV there is currently room for
size_t dune::AnaRootParserDataStruct::GetMaxPhotons ( ) const
inline

Returns the number of GEANT particles for which memory is allocated.

Definition at line 1236 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxShowers ( ) const
inline

Returns the number of trackers for which memory is allocated.

Definition at line 1233 of file AnaRootParser_module.cc.

1233 { return ShowerData.capacity(); }
std::vector< ShowerDataStruct > ShowerData
size_t dune::AnaRootParserDataStruct::GetMaxSimEnergyDepositsTPCActive ( ) const
inline

Returns the number of SimEnergyDepositsTPCActive for which memory is allocated.

Definition at line 1251 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::GetMaxTrackers ( ) const
inline

Returns the number of trackers for which memory is allocated.

Definition at line 1227 of file AnaRootParser_module.cc.

1227 { return TrackData.capacity(); }
std::vector< TrackDataStruct > TrackData
size_t dune::AnaRootParserDataStruct::GetMaxVertexAlgos ( ) const
inline

Returns the number of trackers for which memory is allocated.

Definition at line 1230 of file AnaRootParser_module.cc.

1230 { return VertexData.capacity(); }
std::vector< VertexDataStruct > VertexData
size_t dune::AnaRootParserDataStruct::GetNShowerAlgos ( ) const
inline

Returns the number of trackers for which data structures are allocated.

Definition at line 1221 of file AnaRootParser_module.cc.

1221 { return ShowerData.size(); }
std::vector< ShowerDataStruct > ShowerData
size_t dune::AnaRootParserDataStruct::GetNTrackers ( ) const
inline

Returns the number of trackers for which data structures are allocated.

Definition at line 1215 of file AnaRootParser_module.cc.

1215 { return TrackData.size(); }
std::vector< TrackDataStruct > TrackData
size_t dune::AnaRootParserDataStruct::GetNVertexAlgos ( ) const
inline

Returns the number of Vertex algos for which data structures are allocated.

Definition at line 1218 of file AnaRootParser_module.cc.

1218 { return VertexData.size(); }
std::vector< VertexDataStruct > VertexData
PFParticleDataStruct& dune::AnaRootParserDataStruct::GetPFParticleData ( )
inline

Definition at line 1150 of file AnaRootParser_module.cc.

1151  { return PFParticleData; }
const PFParticleDataStruct& dune::AnaRootParserDataStruct::GetPFParticleData ( ) const
inline

Definition at line 1152 of file AnaRootParser_module.cc.

1153  { return PFParticleData; }
ShowerDataStruct& dune::AnaRootParserDataStruct::GetShowerData ( size_t  iShower)
inline

Definition at line 1140 of file AnaRootParser_module.cc.

1141  { return ShowerData.at(iShower); }
std::vector< ShowerDataStruct > ShowerData
ShowerDataStruct const& dune::AnaRootParserDataStruct::GetShowerData ( size_t  iShower) const
inline

Definition at line 1142 of file AnaRootParser_module.cc.

1143  { return ShowerData.at(iShower); }
std::vector< ShowerDataStruct > ShowerData
TrackDataStruct& dune::AnaRootParserDataStruct::GetTrackerData ( size_t  iTracker)
inline

Definition at line 1135 of file AnaRootParser_module.cc.

1136  { return TrackData.at(iTracker); }
std::vector< TrackDataStruct > TrackData
const TrackDataStruct& dune::AnaRootParserDataStruct::GetTrackerData ( size_t  iTracker) const
inline

Definition at line 1137 of file AnaRootParser_module.cc.

1138  { return TrackData.at(iTracker); }
std::vector< TrackDataStruct > TrackData
VertexDataStruct& dune::AnaRootParserDataStruct::GetVertexData ( size_t  iVertex)
inline

Definition at line 1145 of file AnaRootParser_module.cc.

1146  { return VertexData.at(iVertex); }
std::vector< VertexDataStruct > VertexData
const VertexDataStruct& dune::AnaRootParserDataStruct::GetVertexData ( size_t  iVertex) const
inline

Definition at line 1147 of file AnaRootParser_module.cc.

1148  { return VertexData.at(iVertex); }
std::vector< VertexDataStruct > VertexData
bool dune::AnaRootParserDataStruct::hasAuxDetector ( ) const
inline

Returns whether we have auxiliary detector data.

Definition at line 1057 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasClusterInfo ( ) const
inline

Returns whether we have Cluster data.

Definition at line 1093 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasCryInfo ( ) const
inline

Returns whether we have Cry data.

Definition at line 1060 of file AnaRootParser_module.cc.

1060 { return bits & tdCry; }
unsigned int bits
complementary information
bool dune::AnaRootParserDataStruct::hasExternCountInfo ( ) const
inline

Returns whether we have External Counter data.

Definition at line 1120 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasFlashInfo ( ) const
inline

Returns whether we have Flash data.

Definition at line 1117 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasGeantInAVInfo ( ) const
inline

Returns whether we have Geant data.

Definition at line 1108 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasGeantInfo ( ) const
inline

Returns whether we have Geant data.

Definition at line 1105 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasGeantTrajectoryInfo ( ) const
inline

Returns whether we have Geant trajectory data.

Definition at line 1111 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasGeneratorInfo ( ) const
inline

Returns whether we have Generator data.

Definition at line 1102 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasGenieInfo ( ) const
inline

Returns whether we have Genie data.

Definition at line 1063 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasHitInfo ( ) const
inline

Returns whether we have Hit data.

Definition at line 1072 of file AnaRootParser_module.cc.

1072 { return bits & tdHit; }
unsigned int bits
complementary information
bool dune::AnaRootParserDataStruct::hasMCShowerInfo ( ) const
inline

Returns whether we have MCShower data.

Definition at line 1066 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasMCTrackInfo ( ) const
inline

Returns whether we have MCTrack data.

Definition at line 1069 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasPandoraNuVertexInfo ( ) const
inline

Returns whether we have Pandora Nu Vertex data.

Definition at line 1096 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasPFParticleInfo ( ) const
inline

Returns whether we have PFParticle data.

Definition at line 1090 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasPhotonInfo ( ) const
inline

Returns whether we have photon data.

Definition at line 1099 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasProtoInfo ( ) const
inline

Returns whether we have protoDUNE beam primaries.

Definition at line 1123 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasRawDigitInfo ( ) const
inline

Returns whether we have RawDigit data.

Definition at line 1075 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasRecobWireInfo ( ) const
inline

Returns whether we have RecobWire data.

Definition at line 1078 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasShowerInfo ( ) const
inline

Returns whether we have Shower data.

Definition at line 1084 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasSimEnergyDepositTPCActiveInfo ( ) const
inline

Returns whether we have Geant trajectory data.

Definition at line 1114 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasTrackInfo ( ) const
inline

Returns whether we have Track data.

Definition at line 1081 of file AnaRootParser_module.cc.

bool dune::AnaRootParserDataStruct::hasVertexInfo ( ) const
inline

Returns whether we have Vertex data.

Definition at line 1087 of file AnaRootParser_module.cc.

void dune::AnaRootParserDataStruct::ResizeCry ( int  nPrimaries)

Resize the data strutcure for Cry primaries.

Definition at line 3296 of file AnaRootParser_module.cc.

3296  {
3297 
3298  cry_primaries_pdg.resize(nPrimaries);
3299  cry_Eng.resize(nPrimaries);
3300  cry_Px.resize(nPrimaries);
3301  cry_Py.resize(nPrimaries);
3302  cry_Pz.resize(nPrimaries);
3303  cry_P.resize(nPrimaries);
3304  cry_StartPointx.resize(nPrimaries);
3305  cry_StartPointy.resize(nPrimaries);
3306  cry_StartPointz.resize(nPrimaries);
3307  cry_StartPointt.resize(nPrimaries);
3308  cry_status_code.resize(nPrimaries);
3309  cry_mass.resize(nPrimaries);
3310  cry_trackID.resize(nPrimaries);
3311  cry_ND.resize(nPrimaries);
3312  cry_mother.resize(nPrimaries);
3313 
3314 } // dune::AnaRootParserDataStruct::ResizeCry()
std::vector< Float_t > cry_StartPointz
std::vector< Float_t > cry_StartPointx
std::vector< Int_t > cry_primaries_pdg
std::vector< Float_t > cry_StartPointy
std::vector< Float_t > cry_StartPointt
void dune::AnaRootParserDataStruct::ResizeGEANT ( int  nParticles)

Resize the data strutcure for GEANT particles.

Definition at line 3112 of file AnaRootParser_module.cc.

3112  {
3113 
3114  // minimum size is 1, so that we always have an address
3115  MaxGEANTparticles = (size_t) std::max(nParticles, 1);
3116 
3117  pdg.resize(MaxGEANTparticles);
3118  status.resize(MaxGEANTparticles);
3120  Mass.resize(MaxGEANTparticles);
3121  Eng.resize(MaxGEANTparticles);
3122  EndE.resize(MaxGEANTparticles);
3123  Px.resize(MaxGEANTparticles);
3124  Py.resize(MaxGEANTparticles);
3125  Pz.resize(MaxGEANTparticles);
3126  P.resize(MaxGEANTparticles);
3130  StartT.resize(MaxGEANTparticles);
3131  EndT.resize(MaxGEANTparticles);
3132  EndPointx.resize(MaxGEANTparticles);
3133  EndPointy.resize(MaxGEANTparticles);
3134  EndPointz.resize(MaxGEANTparticles);
3135  EndT.resize(MaxGEANTparticles);
3136  theta.resize(MaxGEANTparticles);
3137  phi.resize(MaxGEANTparticles);
3138  theta_xz.resize(MaxGEANTparticles);
3139  theta_yz.resize(MaxGEANTparticles);
3141  Mother.resize(MaxGEANTparticles);
3142  TrackId.resize(MaxGEANTparticles);
3145  MergedId.resize(MaxGEANTparticles);
3146  origin.resize(MaxGEANTparticles);
3148 
3169 
3170  // auxiliary detector structure
3171  NAuxDets.resize(MaxGEANTparticles);
3172  AuxDetID.resize(MaxGEANTparticles);
3173  entryX.resize(MaxGEANTparticles);
3174  entryY.resize(MaxGEANTparticles);
3175  entryZ.resize(MaxGEANTparticles);
3176  entryT.resize(MaxGEANTparticles);
3177  exitX.resize(MaxGEANTparticles);
3178  exitY.resize(MaxGEANTparticles);
3179  exitZ.resize(MaxGEANTparticles);
3180  exitT.resize(MaxGEANTparticles);
3181  exitPx.resize(MaxGEANTparticles);
3182  exitPy.resize(MaxGEANTparticles);
3183  exitPz.resize(MaxGEANTparticles);
3185 
3187 } // dune::AnaRootParserDataStruct::ResizeGEANT()
AuxDetMCData_t< Float_t > exitPx
Exit x momentum of particle out of AuxDet.
std::vector< Float_t > EndPointz_drifted
std::vector< Float_t > StartT_drifted
std::vector< Float_t > EndPointy_drifted
AuxDetMCData_t< Float_t > exitT
Exit T position of particle out of AuxDet.
std::vector< Float_t > StartE_drifted
std::vector< Float_t > StartPy_drifted
std::vector< Float_t > StartPointz_drifted
std::vector< Float_t > pathlen_drifted
std::vector< Float_t > EndP_drifted
std::vector< Int_t > NTrajectoryPointsPerParticle
AuxDetMCData_t< Float_t > entryZ
Entry Z position of particle into AuxDet.
AuxDetMCData_t< Float_t > exitX
Exit X position of particle out of AuxDet.
std::vector< Float_t > EndPz_drifted
AuxDetMCData_t< Float_t > exitPy
Exit y momentum of particle out of AuxDet.
AuxDetMCData_t< Float_t > entryX
Entry X position of particle into AuxDet.
std::vector< Float_t > EndPointx_drifted
std::vector< Float_t > StartPz_drifted
std::vector< Float_t > StartP_drifted
std::vector< Float_t > StartPointx_drifted
std::vector< Float_t > StartPx_drifted
AuxDetMCData_t< Float_t > exitY
Exit Y position of particle out of AuxDet.
std::vector< Float_t > StartPointy_drifted
std::vector< Float_t > StartPointx
static int max(int a, int b)
std::vector< Float_t > StartPointz
std::vector< Float_t > EndPy_drifted
std::vector< Float_t > EndT_drifted
AuxDetMCData_t< Float_t > exitPz
Exit z momentum of particle out of AuxDet.
AuxDetMCData_t< Short_t > AuxDetID
Which AuxDet this particle went through.
std::vector< Float_t > StartPointy
std::vector< std::string > processname
std::vector< Float_t > EndE_drifted
AuxDetMCData_t< Float_t > CombinedEnergyDep
Sum energy of all particles with this trackID (+ID or -ID) in AuxDet.
std::vector< UShort_t > NAuxDets
Number of AuxDets crossed by this particle.
AuxDetMCData_t< Float_t > entryY
Entry Y position of particle into AuxDet.
AuxDetMCData_t< Float_t > entryT
Entry T position of particle into AuxDet.
AuxDetMCData_t< Float_t > exitZ
Exit Z position of particle out of AuxDet.
std::vector< Float_t > EndPx_drifted
void dune::AnaRootParserDataStruct::ResizeGEANTInAV ( int  nParticlesInAV)

Resize the data strutcure for GEANT particles in active volume.

Definition at line 3189 of file AnaRootParser_module.cc.

3189  {
3190 
3191  MaxGEANTInAVparticles = (size_t) std::max(nParticlesInAV, 1);
3192 
3218 } // dune::AnaRootParserDataStruct::ResizeGEANTInAV()
std::vector< Float_t > EndPx_tpcAV
std::vector< Float_t > StartPointz_tpcAV
std::vector< Float_t > thetastart_tpcAV
std::vector< Float_t > StartPx_tpcAV
std::vector< Float_t > StartP_tpcAV
static int max(int a, int b)
std::vector< Float_t > EndPointy_tpcAV
std::vector< Float_t > EndPointx_tpcAV
std::vector< Float_t > StartPy_tpcAV
std::vector< Float_t > EndPointz_tpcAV
std::vector< Float_t > pathlen_tpcAV
std::vector< Float_t > phiend_tpcAV
std::vector< Float_t > StartPointx_tpcAV
std::vector< Float_t > EndPy_tpcAV
std::vector< Float_t > StartT_tpcAV
std::vector< Float_t > StartE_tpcAV
std::vector< Float_t > EndPz_tpcAV
std::vector< Float_t > thetaend_tpcAV
std::vector< Float_t > StartPointy_tpcAV
std::vector< Float_t > StartPz_tpcAV
std::vector< Float_t > phistart_tpcAV
void dune::AnaRootParserDataStruct::ResizeGEANTTrajectory ( int  nTrajectoryPoints)

Resize the data strutcure for GEANT trajectory info.

Definition at line 3220 of file AnaRootParser_module.cc.

3220  {
3221 
3222  // minimum size is 1, so that we always have an address
3223  MaxGEANTtrajectorypoints = (size_t) std::max(nTrajectoryPoints, 1);
3224 
3227 
3239 
3240 } // dune::AnaRootParserDataStruct::ResizeGEANTTrajectory()
static int max(int a, int b)
void dune::AnaRootParserDataStruct::ResizeGenerator ( int  nParticles)

Resize the data strutcure for Generator particles.

Definition at line 3090 of file AnaRootParser_module.cc.

3090  {
3091 
3092  // minimum size is 1, so that we always have an address
3093  MaxGeneratorparticles = (size_t) std::max(nParticles, 1);
3094 
3096  pdg.resize(MaxGeneratorparticles);
3097  status.resize(MaxGeneratorparticles);
3098  Mass.resize(MaxGeneratorparticles);
3099  Eng.resize(MaxGeneratorparticles);
3100  Px.resize(MaxGeneratorparticles);
3101  Py.resize(MaxGeneratorparticles);
3102  Pz.resize(MaxGeneratorparticles);
3103  P.resize(MaxGeneratorparticles);
3107  StartT.resize(MaxGeneratorparticles);
3108  theta.resize(MaxGeneratorparticles);
3109  phi.resize(MaxGeneratorparticles);
3110 } //dune::AnaRootParserDataStruct::ResizeGenerator
std::vector< Float_t > StartPointx
static int max(int a, int b)
std::vector< Float_t > StartPointz
std::vector< Float_t > StartPointy
void dune::AnaRootParserDataStruct::ResizeGenie ( int  nPrimaries)

Resize the data strutcure for Genie primaries.

Definition at line 3279 of file AnaRootParser_module.cc.

3279  {
3280 
3281  // minimum size is 1, so that we always have an address
3282  MaxGeniePrimaries = (size_t) std::max(nPrimaries, 1);
3284  genie_Eng.resize(MaxGeniePrimaries);
3285  genie_Px.resize(MaxGeniePrimaries);
3286  genie_Py.resize(MaxGeniePrimaries);
3287  genie_Pz.resize(MaxGeniePrimaries);
3288  genie_P.resize(MaxGeniePrimaries);
3290  genie_mass.resize(MaxGeniePrimaries);
3292  genie_ND.resize(MaxGeniePrimaries);
3294 } // dune::AnaRootParserDataStruct::ResizeGenie()
std::vector< Int_t > genie_status_code
static int max(int a, int b)
std::vector< Int_t > genie_primaries_pdg
void dune::AnaRootParserDataStruct::ResizeMCShower ( int  nMCShowers)

Resize the data strutcure for MC Showers.

Definition at line 3332 of file AnaRootParser_module.cc.

3332  {
3333  mcshwr_origin.resize(nMCShowers);
3334  mcshwr_pdg.resize(nMCShowers);
3335  mcshwr_TrackId.resize(nMCShowers);
3336  mcshwr_Process.resize(nMCShowers);
3337  mcshwr_startX.resize(nMCShowers);
3338  mcshwr_startY.resize(nMCShowers);
3339  mcshwr_startZ.resize(nMCShowers);
3340  mcshwr_endX.resize(nMCShowers);
3341  mcshwr_endY.resize(nMCShowers);
3342  mcshwr_endZ.resize(nMCShowers);
3343  mcshwr_CombEngX.resize(nMCShowers);
3344  mcshwr_CombEngY.resize(nMCShowers);
3345  mcshwr_CombEngZ.resize(nMCShowers);
3346  mcshwr_CombEngPx.resize(nMCShowers);
3347  mcshwr_CombEngPy.resize(nMCShowers);
3348  mcshwr_CombEngPz.resize(nMCShowers);
3349  mcshwr_CombEngE.resize(nMCShowers);
3350  mcshwr_dEdx.resize(nMCShowers);
3351  mcshwr_StartDirX.resize(nMCShowers);
3352  mcshwr_StartDirY.resize(nMCShowers);
3353  mcshwr_StartDirZ.resize(nMCShowers);
3354  mcshwr_isEngDeposited.resize(nMCShowers);
3355  mcshwr_Motherpdg.resize(nMCShowers);
3356  mcshwr_MotherTrkId.resize(nMCShowers);
3357  mcshwr_MotherProcess.resize(nMCShowers);
3358  mcshwr_MotherstartX.resize(nMCShowers);
3359  mcshwr_MotherstartY.resize(nMCShowers);
3360  mcshwr_MotherstartZ.resize(nMCShowers);
3361  mcshwr_MotherendX.resize(nMCShowers);
3362  mcshwr_MotherendY.resize(nMCShowers);
3363  mcshwr_MotherendZ.resize(nMCShowers);
3364  mcshwr_Ancestorpdg.resize(nMCShowers);
3365  mcshwr_AncestorTrkId.resize(nMCShowers);
3366  mcshwr_AncestorProcess.resize(nMCShowers);
3367  mcshwr_AncestorstartX.resize(nMCShowers);
3368  mcshwr_AncestorstartY.resize(nMCShowers);
3369  mcshwr_AncestorstartZ.resize(nMCShowers);
3370  mcshwr_AncestorendX.resize(nMCShowers);
3371  mcshwr_AncestorendY.resize(nMCShowers);
3372  mcshwr_AncestorendZ.resize(nMCShowers);
3373 
3374 } // dune::AnaRootParserDataStruct::ResizeMCShower()
std::vector< Float_t > mcshwr_CombEngE
std::vector< Float_t > mcshwr_endZ
std::vector< Int_t > mcshwr_isEngDeposited
std::vector< Float_t > mcshwr_CombEngX
std::vector< Float_t > mcshwr_startY
std::vector< Float_t > mcshwr_AncestorendZ
std::vector< Float_t > mcshwr_MotherendY
std::vector< Float_t > mcshwr_CombEngZ
std::vector< Float_t > mcshwr_CombEngY
std::vector< std::string > mcshwr_AncestorProcess
std::vector< Float_t > mcshwr_CombEngPy
std::vector< Float_t > mcshwr_CombEngPx
std::vector< Float_t > mcshwr_dEdx
std::vector< Float_t > mcshwr_AncestorstartY
std::vector< Float_t > mcshwr_StartDirY
std::vector< Float_t > mcshwr_AncestorendX
std::vector< std::string > mcshwr_Process
std::vector< Float_t > mcshwr_CombEngPz
std::vector< Float_t > mcshwr_MotherendX
std::vector< Float_t > mcshwr_AncestorstartX
std::vector< Float_t > mcshwr_MotherstartY
std::vector< Float_t > mcshwr_StartDirZ
std::vector< Int_t > mcshwr_MotherTrkId
std::vector< Int_t > mcshwr_AncestorTrkId
std::vector< Float_t > mcshwr_MotherendZ
std::vector< Float_t > mcshwr_startZ
std::vector< Int_t > mcshwr_Ancestorpdg
std::vector< Float_t > mcshwr_MotherstartZ
std::vector< Float_t > mcshwr_AncestorendY
std::vector< Float_t > mcshwr_startX
std::vector< Float_t > mcshwr_MotherstartX
std::vector< Float_t > mcshwr_StartDirX
std::vector< Float_t > mcshwr_endX
std::vector< std::string > mcshwr_MotherProcess
std::vector< Float_t > mcshwr_AncestorstartZ
std::vector< Float_t > mcshwr_endY
void dune::AnaRootParserDataStruct::ResizeMCTrack ( int  nMCTracks)

Resize the data strutcure for MC Tracks.

Definition at line 3376 of file AnaRootParser_module.cc.

3376  {
3377  mctrk_origin.resize(nMCTracks);
3378  mctrk_pdg.resize(nMCTracks);
3379  mctrk_TrackId.resize(nMCTracks);
3380  mctrk_Process.resize(nMCTracks);
3381  mctrk_startX.resize(nMCTracks);
3382  mctrk_startY.resize(nMCTracks);
3383  mctrk_startZ.resize(nMCTracks);
3384  mctrk_endX.resize(nMCTracks);
3385  mctrk_endY.resize(nMCTracks);
3386  mctrk_endZ.resize(nMCTracks);
3387  mctrk_startX_drifted.resize(nMCTracks);
3388  mctrk_startY_drifted.resize(nMCTracks);
3389  mctrk_startZ_drifted.resize(nMCTracks);
3390  mctrk_endX_drifted.resize(nMCTracks);
3391  mctrk_endY_drifted.resize(nMCTracks);
3392  mctrk_endZ_drifted.resize(nMCTracks);
3393  mctrk_len_drifted.resize(nMCTracks);
3394  mctrk_p_drifted.resize(nMCTracks);
3395  mctrk_px_drifted.resize(nMCTracks);
3396  mctrk_py_drifted.resize(nMCTracks);
3397  mctrk_pz_drifted.resize(nMCTracks);
3398  mctrk_Motherpdg.resize(nMCTracks);
3399  mctrk_MotherTrkId.resize(nMCTracks);
3400  mctrk_MotherProcess.resize(nMCTracks);
3401  mctrk_MotherstartX.resize(nMCTracks);
3402  mctrk_MotherstartY.resize(nMCTracks);
3403  mctrk_MotherstartZ.resize(nMCTracks);
3404  mctrk_MotherendX.resize(nMCTracks);
3405  mctrk_MotherendY.resize(nMCTracks);
3406  mctrk_MotherendZ.resize(nMCTracks);
3407  mctrk_Ancestorpdg.resize(nMCTracks);
3408  mctrk_AncestorTrkId.resize(nMCTracks);
3409  mctrk_AncestorProcess.resize(nMCTracks);
3410  mctrk_AncestorstartX.resize(nMCTracks);
3411  mctrk_AncestorstartY.resize(nMCTracks);
3412  mctrk_AncestorstartZ.resize(nMCTracks);
3413  mctrk_AncestorendX.resize(nMCTracks);
3414  mctrk_AncestorendY.resize(nMCTracks);
3415  mctrk_AncestorendZ.resize(nMCTracks);
3416 
3417 } // dune::AnaRootParserDataStruct::ResizeMCTrack()
std::vector< std::string > mctrk_Process
std::vector< Float_t > mctrk_AncestorendZ
std::vector< std::string > mctrk_AncestorProcess
std::vector< Float_t > mctrk_MotherendX
std::vector< Float_t > mctrk_MotherstartY
std::vector< Float_t > mctrk_len_drifted
std::vector< Float_t > mctrk_AncestorendX
std::vector< Float_t > mctrk_startZ
std::vector< Float_t > mctrk_startX
std::vector< Float_t > mctrk_MotherstartZ
std::vector< Float_t > mctrk_px_drifted
std::vector< Float_t > mctrk_endX_drifted
std::vector< Float_t > mctrk_endY_drifted
std::vector< Float_t > mctrk_AncestorstartX
std::vector< Float_t > mctrk_startZ_drifted
std::vector< Float_t > mctrk_AncestorstartY
std::vector< Float_t > mctrk_py_drifted
std::vector< Float_t > mctrk_pz_drifted
std::vector< Float_t > mctrk_MotherendY
std::vector< Float_t > mctrk_AncestorstartZ
std::vector< Float_t > mctrk_startY_drifted
std::vector< Float_t > mctrk_startY
std::vector< Float_t > mctrk_p_drifted
std::vector< Int_t > mctrk_AncestorTrkId
std::vector< Float_t > mctrk_MotherendZ
std::vector< Float_t > mctrk_endZ_drifted
std::vector< Float_t > mctrk_startX_drifted
std::vector< Float_t > mctrk_MotherstartX
std::vector< Float_t > mctrk_AncestorendY
std::vector< std::string > mctrk_MotherProcess
void dune::AnaRootParserDataStruct::ResizePhotons ( int  nPhotons)

Resize the data strutcure for Generator particles.

Definition at line 3079 of file AnaRootParser_module.cc.

3079  {
3080 
3081  // minimum size is 1, so that we always have an address
3082  MaxPhotons = (size_t) std::max(nPhotons, 1);
3083 
3084  photons_time.resize(MaxPhotons);
3085  photons_channel.resize(MaxPhotons);
3086 } // dune::AnaRootParserDataStruct::ResizePhotons
std::vector< Float_t > photons_time
static int max(int a, int b)
std::vector< Float_t > photons_channel
void dune::AnaRootParserDataStruct::ResizeProto ( int  nPrimaries)

Resize the data structure for ProtoDUNE primaries.

Definition at line 3316 of file AnaRootParser_module.cc.

3316  {
3317 
3318  proto_isGoodParticle.resize(nPrimaries);
3319  proto_vx.resize(nPrimaries);
3320  proto_vy.resize(nPrimaries);
3321  proto_vz.resize(nPrimaries);
3322  proto_t.resize(nPrimaries);
3323  proto_px.resize(nPrimaries);
3324  proto_py.resize(nPrimaries);
3325  proto_pz.resize(nPrimaries);
3326  proto_momentum.resize(nPrimaries);
3327  proto_energy.resize(nPrimaries);
3328  proto_pdg.resize(nPrimaries);
3329 
3330 } // dune::AnaRootParserDataStruct::ResizeProto()
std::vector< Float_t > proto_momentum
std::vector< Int_t > proto_isGoodParticle
std::vector< Float_t > proto_energy
void dune::AnaRootParserDataStruct::ResizeSimEnergyDepositsTPCActive ( int  nSimEnergyDepositsTPCActive,
int  nParticlesWithSimEnergyDepositsTPCActive 
)

Resize the data strutcure for SimEnergyDepositTPCActive info.

Definition at line 3242 of file AnaRootParser_module.cc.

3242  {
3243 
3244  // minimum size is 1, so that we always have an address
3245  MaxSimEnergyDepositsTPCActive = (size_t) std::max(nSimEnergyDepositsTPCActive, 1);
3246  MaxParticlesWithSimEnergyDepositsTPCActive = (size_t) std::max(nParticlesWithSimEnergyDepositsTPCActive, 1);
3247 
3248  std::cout << "MaxSimEnergyDepositsTPCActive: " << MaxSimEnergyDepositsTPCActive << std::endl;
3249  std::cout << "MaxParticlesWithSimEnergyDepositsTPCActive: " << MaxParticlesWithSimEnergyDepositsTPCActive << std::endl;
3250 
3253 
3272 
3273 
3274 } // dune::AnaRootParserDataStruct::ResizeSimEnergyDepositsTPCActive()
size_t MaxParticlesWithSimEnergyDepositsTPCActive
! how many sim energy deposits in TPC AV there is currently room for
std::vector< float > SEDTPCAVStartTime
static int max(int a, int b)
std::vector< Int_t > NSimEnergyDepositsTPCActivePerParticle
std::vector< Int_t > SEDTPCAVNumPhotons
QTextStream & endl(QTextStream &s)
std::vector< Int_t > ParticleIDSimEnergyDepositsTPCActivePerParticle
std::vector< Int_t > SEDTPCAVNumElectrons
void dune::AnaRootParserDataStruct::SetAddresses ( TTree *  pTree,
std::vector< std::string > const &  trackers,
std::vector< std::string > const &  vertexalgos,
std::vector< std::string > const &  showeralgos,
bool  isCosmics 
)

Connect this object with a tree.

Definition at line 3421 of file AnaRootParser_module.cc.

3427  {
3428  BranchCreator CreateBranch(pTree);
3429 
3430  CreateBranch("Run",&run,"run/I");
3431  CreateBranch("Subrun",&subrun,"subrun/I");
3432 // CreateBranch("EventNumberInSubrun",&event,"event/I");
3433  CreateBranch("EventNumberInRun",&event,"event/I");
3434  CreateBranch("EventTimeSeconds",&evttime_seconds,"evttime_seconds/I");
3435  CreateBranch("EventTimeNanoseconds",&evttime_nanoseconds,"evttime_nanoseconds/I");
3436  // CreateBranch("beamtime",&beamtime,"beamtime/D");
3437  // CreateBranch("pot",&SubRunData.pot,"pot/D");
3438  CreateBranch("IsData",&isdata,"isdata/B");
3439  // CreateBranch("taulife",&taulife,"taulife/D");
3440  // CreateBranch("triggernumber",&triggernumber,"triggernumber/i");
3441  // CreateBranch("triggertime",&triggertime,"triggertime/D");
3442  // CreateBranch("beamgatetime",&beamgatetime,"beamgatetime/D");
3443  // CreateBranch("triggerbits",&triggerbits,"triggerbits/i");
3444  // CreateBranch("potbnb",&potbnb,"potbnb/D");
3445  // CreateBranch("potnumitgt",&potnumitgt,"potnumitgt/D");
3446  // CreateBranch("potnumi101",&potnumi101,"potnumi101/D");
3447 
3448 if (hasRawDigitInfo()){
3449  CreateBranch("RawWaveform_NumberOfChannels",&no_channels,"no_channels/I");
3450  CreateBranch("RawWaveform_NumberOfTicks",&no_ticks,"no_ticks/I");
3451 
3452  CreateBranch("RawWaveform_Channel",rawD_Channel,"rawD_Channel[no_channels]/I");
3453 
3454  CreateBranch("RawWaveform_NumberOfTicksInAllChannels",&no_ticksinallchannels,"no_ticksinallchannels/I");
3455  CreateBranch("RawWaveform_ADC",rawD_ADC,"rawD_ADC[no_ticksinallchannels]/S");
3456 }
3457 
3458 if (hasRecobWireInfo()){
3459  CreateBranch("RecoWaveforms_NumberOfChannels",&no_recochannels,"no_recochannels/I");
3460  CreateBranch("RecoWaveform_Channel",recoW_Channel,"recoW_Channel[no_recochannels]/I");
3461  CreateBranch("RecoWaveform_NTicks",recoW_NTicks,"recoW_NTicks[no_recochannels]/I");
3462 
3463  CreateBranch("RecoWaveform_NumberOfTicksInAllChannels",&no_recoticksinallchannels,"no_recoticksinallchannels/I");
3464  CreateBranch("RecoWaveform_Tick",recoW_Tick,"recoW_Tick[no_recoticksinallchannels]/I");
3465  CreateBranch("RecoWaveform_ADC",recoW_ADC,"recoW_ADC[no_recoticksinallchannels]/F");
3466 }
3467 
3468  if (hasHitInfo()){
3469  CreateBranch("NumberOfHits",&no_hits,"no_hits/I");
3470  //CreateBranch("NumberOfHits_Stored,&no_hits_stored,"no_hits_stored/I");
3471  CreateBranch("Hit_TPC",hit_tpc,"hit_tpc[no_hits]/S");
3472  CreateBranch("Hit_View",hit_view,"hit_view[no_hits]/S");
3473  //CreateBranch("hit_wire",hit_wire,"hit_wire[no_hits]/S");
3474  CreateBranch("Hit_Channel",hit_channel,"hit_channel[no_hits]/S");
3475  CreateBranch("Hit_PeakTime",hit_peakT,"hit_peakT[no_hits]/F");
3476  CreateBranch("Hit_ChargeSummedADC",hit_chargesum,"hit_chargesum[no_hits]/F");
3477  CreateBranch("Hit_ChargeIntegral",hit_chargeintegral,"hit_chargeintegral[no_hits]/F");
3478  CreateBranch("Hit_Amplitude",hit_ph,"hit_ph[no_hits]/F");
3479  CreateBranch("Hit_StartTime",hit_startT,"hit_startT[no_hits]/F");
3480  CreateBranch("Hit_EndTime",hit_endT,"hit_endT[no_hits]/F");
3481  CreateBranch("Hit_Width",hit_rms,"hit_rms[no_hits]/F");
3482  //CreateBranch("hit_trueX",hit_trueX,"hit_trueX[no_hits]/F");
3483  CreateBranch("Hit_GoodnessOfFit",hit_goodnessOfFit,"hit_goodnessOfFit[no_hits]/F");
3484 
3485  CreateBranch("Hit_FitParameter_Amplitude", hit_fitparamampl, "hit_fitparamamp[no_hits]/F");
3486  CreateBranch("Hit_FitParameter_Offset", hit_fitparamt0, "hit_fitparamt0[no_hits]/F");
3487  CreateBranch("Hit_FitParameter_Tau1", hit_fitparamtau1, "hit_fitparamtau1[no_hits]/F");
3488  CreateBranch("Hit_FitParameter_Tau2", hit_fitparamtau2, "hit_fitparamtau2[no_hits]/F");
3489 
3490  CreateBranch("Hit_Multiplicity",hit_multiplicity,"hit_multiplicity[no_hits]/S");
3491  CreateBranch("Hit_trueID", hit_trueID, "Hit_trueID[no_hits]/I");
3492  CreateBranch("Hit_trueEnergyMax", hit_trueEnergyMax, "hit_trueEnergyMax[no_hits]/F");
3493  CreateBranch("Hit_trueEnergyFraction", hit_trueEnergyFraction, "hit_trueEnergyFraction[no_hits]/F");
3494  CreateBranch("Hit_TrackID",hit_trkid,"hit_trkid[no_hits]/S");
3495  //CreateBranch("hit_trkKey",hit_trkKey,"hit_trkKey[no_hits]/S");
3496  CreateBranch("Hit_ClusterID",hit_clusterid,"hit_clusterid[no_hits]/S");
3497  //CreateBranch("hit_clusterKey",hit_clusterKey,"hit_clusterKey[no_hits]/S");
3498  /* if (!isCosmics){
3499  CreateBranch("hit_nelec",hit_nelec,"hit_nelec[no_hits]/F");
3500  CreateBranch("hit_energy",hit_energy,"hit_energy[no_hits]/F");
3501  }
3502  */ /* if (hasRawDigitInfo()){
3503  CreateBranch("rawD_ph",rawD_ph,"rawD_ph[no_hits]/F");
3504  CreateBranch("rawD_peakT",rawD_peakT,"rawD_peakT[no_hits]/F");
3505  CreateBranch("rawD_charge",rawD_charge,"rawD_charge[no_hits]/F");
3506  CreateBranch("rawD_fwhh",rawD_fwhh,"rawD_fwhh[no_hits]/F");
3507  CreateBranch("rawD_rms",rawD_rms,"rawD_rms[no_hits]/D");
3508  }*/
3509  }
3510  /*
3511  if (hasPandoraNuVertexInfo()){
3512  CreateBranch("nnuvtx", &nnuvtx, "nnuvtx/S");
3513  CreateBranch("nuvtxx", nuvtxx, "nuvtxx[nnuvtx]/F");
3514  CreateBranch("nuvtxy", nuvtxy, "nuvtxy[nnuvtx]/F");
3515  CreateBranch("nuvtxz", nuvtxz, "nuvtxz[nnuvtx]/F");
3516  CreateBranch("nuvtxpdg", nuvtxpdg, "nuvtxpdg[nnuvtx]/S");
3517  }
3518  */
3519  if (hasClusterInfo()){
3520  CreateBranch("NumberOfClusters",&nclusters,"nclusters/S");
3521  CreateBranch("ClusterID", clusterId, "clusterId[nclusters]/S");
3522  CreateBranch("Cluster_NumberOfHits", cluster_NHits, "cluster_NHits[nclusters]/S");
3523  CreateBranch("Cluster_View", clusterView, "clusterView[nclusters]/S");
3524  CreateBranch("Cluster_ChargeIntegral", cluster_Integral, "cluster_Integral[nclusters]/F");
3525  CreateBranch("Cluster_ChargeIntegralAveragePerHit", cluster_IntegralAverage, "cluster_IntegralAverage[nclusters]/F");
3526  // CreateBranch("Cluster_SummedADC", cluster_SummedADC, "cluster_SummedADC[nclusters]/F");
3527  // CreateBranch("Cluster_SummedADCAveragePerHit", cluster_SummedADCaverage, "cluster_SummedADCaverage[nclusters]/F");
3528  // CreateBranch("Cluster_MultipleHitDensity", cluster_MultipleHitDensity, "cluster_MultipleHitDensity[nclusters]/F");
3529  // CreateBranch("Cluster_Width", cluster_Width, "cluster_Width[nclusters]/F");
3530  CreateBranch("Cluster_StartChannel", cluster_StartWire, "cluster_StartWire[nclusters]/S");
3531  CreateBranch("Cluster_StartTick", cluster_StartTick, "cluster_StartTick[nclusters]/S");
3532  CreateBranch("Cluster_EndChannel", cluster_EndWire, "cluster_EndWire[nclusters]/S");
3533  CreateBranch("Cluster_EndTick", cluster_EndTick, "cluster_EndTick[nclusters]/S");
3534  CreateBranch("Cluster_StartCharge", cluster_StartCharge, "cluster_StartCharge[nclusters]/F");
3535  CreateBranch("Cluster_StartAngle", cluster_StartAngle, "cluster_StartAngle[nclusters]/F");
3536  CreateBranch("Cluster_EndCharge", cluster_EndCharge, "cluster_EndCharge[nclusters]/F");
3537  CreateBranch("Cluster_EndAngle", cluster_EndAngle, "cluster_EndAngle[nclusters]/F");
3538 
3539  // CreateBranch("cluncosmictags_tagger", cluncosmictags_tagger, "cluncosmictags_tagger[nclusters]/S");
3540  // CreateBranch("clucosmicscore_tagger", clucosmicscore_tagger, "clucosmicscore_tagger[nclusters]/F");
3541  // CreateBranch("clucosmictype_tagger", clucosmictype_tagger, "clucosmictype_tagger[nclusters]/S");
3542  }
3543 
3544  /* if (hasFlashInfo()){
3545  CreateBranch("no_flashes",&no_flashes,"no_flashes/I");
3546  CreateBranch("flash_time",flash_time,"flash_time[no_flashes]/F");
3547  CreateBranch("flash_pe",flash_pe,"flash_pe[no_flashes]/F");
3548  CreateBranch("flash_ycenter",flash_ycenter,"flash_ycenter[no_flashes]/F");
3549  CreateBranch("flash_zcenter",flash_zcenter,"flash_zcenter[no_flashes]/F");
3550  CreateBranch("flash_ywidth",flash_ywidth,"flash_ywidth[no_flashes]/F");
3551  CreateBranch("flash_zwidth",flash_zwidth,"flash_zwidth[no_flashes]/F");
3552  CreateBranch("flash_timewidth",flash_timewidth,"flash_timewidth[no_flashes]/F");
3553  }
3554  */
3555  /* if (hasExternCountInfo()){
3556  CreateBranch("no_ExternCounts",&no_ExternCounts,"no_ExternCounts/I");
3557  CreateBranch("externcounts_time",externcounts_time,"externcounts_time[no_ExternCounts]/F");
3558  CreateBranch("externcounts_id",externcounts_id,"externcounts_id[no_ExternCounts]/F");
3559  }
3560  */
3561  /* if (hasTrackInfo()){
3562  kNTracker = trackers.size();
3563  CreateBranch("kNTracker",&kNTracker,"kNTracker/B");
3564  for(int i=0; i<kNTracker; i++){
3565  std::string TrackLabel = trackers[i];
3566 
3567  // note that if the tracker data has maximum number of tracks 0,
3568  // nothing is initialized (branches are not even created)
3569  TrackData[i].SetAddresses(pTree, TrackLabel, isCosmics);
3570  } // for trackers
3571  }
3572  */
3573  /* if (hasVertexInfo()){
3574  kNVertexAlgos = vertexalgos.size();
3575  CreateBranch("kNVertexAlgos",&kNVertexAlgos,"kNVertexAlgos/B");
3576  for(int i=0; i<kNVertexAlgos; i++){
3577  std::string VertexLabel = vertexalgos[i];
3578 
3579 // note that if the tracker data has maximum number of tracks 0,
3580 // nothing is initialized (branches are not even created)
3581 VertexData[i].SetAddresses(pTree, VertexLabel, isCosmics);
3582 } // for trackers
3583 }
3584 */
3585 if (hasShowerInfo()){
3586  kNShowerAlgos = showeralgos.size();
3587  CreateBranch("kNShowerAlgos",&kNShowerAlgos,"kNShowerAlgos/B");
3588  for(int i=0; i<kNShowerAlgos; i++){
3589  // note that if the shower data has maximum number of showers 0,
3590  // nothing is initialized (branches are not even created)
3591  ShowerData[i].SetAddresses(pTree);
3592  } // for showers
3593 } // if we have shower algos
3594 
3595 if (hasPFParticleInfo()){
3596  //CreateBranch("kNVertexAlgos",&kNVertexAlgos,"kNVertexAlgos/B"); // What would be the PFParticle equivalent of this? There's only 1 algo!
3598 }
3599 /*
3600  if (hasGenieInfo()){
3601  CreateBranch("mcevts_truth",&mcevts_truth,"mcevts_truth/I");
3602  CreateBranch("nuPDG_truth",nuPDG_truth,"nuPDG_truth[mcevts_truth]/I");
3603  CreateBranch("ccnc_truth",ccnc_truth,"ccnc_truth[mcevts_truth]/I");
3604  CreateBranch("mode_truth",mode_truth,"mode_truth[mcevts_truth]/I");
3605  CreateBranch("enu_truth",enu_truth,"enu_truth[mcevts_truth]/F");
3606  CreateBranch("Q2_truth",Q2_truth,"Q2_truth[mcevts_truth]/F");
3607  CreateBranch("W_truth",W_truth,"W_truth[mcevts_truth]/F");
3608  CreateBranch("X_truth",X_truth,"X_truth[mcevts_truth]/F");
3609  CreateBranch("Y_truth",Y_truth,"Y_truth[mcevts_truth]/F");
3610  CreateBranch("hitnuc_truth",hitnuc_truth,"hitnuc_truth[mcevts_truth]/I");
3611  CreateBranch("nuvtxx_truth",nuvtxx_truth,"nuvtxx_truth[mcevts_truth]/F");
3612  CreateBranch("nuvtxy_truth",nuvtxy_truth,"nuvtxy_truth[mcevts_truth]/F");
3613  CreateBranch("nuvtxz_truth",nuvtxz_truth,"nuvtxz_truth[mcevts_truth]/F");
3614  CreateBranch("nu_dcosx_truth",nu_dcosx_truth,"nu_dcosx_truth[mcevts_truth]/F");
3615  CreateBranch("nu_dcosy_truth",nu_dcosy_truth,"nu_dcosy_truth[mcevts_truth]/F");
3616  CreateBranch("nu_dcosz_truth",nu_dcosz_truth,"nu_dcosz_truth[mcevts_truth]/F");
3617  CreateBranch("lep_mom_truth",lep_mom_truth,"lep_mom_truth[mcevts_truth]/F");
3618  CreateBranch("lep_dcosx_truth",lep_dcosx_truth,"lep_dcosx_truth[mcevts_truth]/F");
3619  CreateBranch("lep_dcosy_truth",lep_dcosy_truth,"lep_dcosy_truth[mcevts_truth]/F");
3620  CreateBranch("lep_dcosz_truth",lep_dcosz_truth,"lep_dcosz_truth[mcevts_truth]/F");
3621 
3622  CreateBranch("vx_flux",vx_flux,"vx_flux[mcevts_truth]/F");
3623  CreateBranch("vy_flux",vy_flux,"vy_flux[mcevts_truth]/F");
3624  CreateBranch("vz_flux",vz_flux,"vz_flux[mcevts_truth]/F");
3625  CreateBranch("pdpx_flux",pdpx_flux,"pdpx_flux[mcevts_truth]/F");
3626  CreateBranch("pdpy_flux",pdpy_flux,"pdpy_flux[mcevts_truth]/F");
3627  CreateBranch("pdpz_flux",pdpz_flux,"pdpz_flux[mcevts_truth]/F");
3628  CreateBranch("ppdxdz_flux",ppdxdz_flux,"ppdxdz_flux[mcevts_truth]/F");
3629  CreateBranch("ppdydz_flux",ppdydz_flux,"ppdydz_flux[mcevts_truth]/F");
3630  CreateBranch("pppz_flux",pppz_flux,"pppz_flux[mcevts_truth]/F");
3631  CreateBranch("ptype_flux",ptype_flux,"ptype_flux[mcevts_truth]/I");
3632  CreateBranch("ppvx_flux",ppvx_flux,"ppvx_flux[mcevts_truth]/F");
3633  CreateBranch("ppvy_flux",ppvy_flux,"ppvy_flux[mcevts_truth]/F");
3634  CreateBranch("ppvz_flux",ppvz_flux,"ppvz_flux[mcevts_truth]/F");
3635  CreateBranch("muparpx_flux",muparpx_flux,"muparpx_flux[mcevts_truth]/F");
3636  CreateBranch("muparpy_flux",muparpy_flux,"muparpy_flux[mcevts_truth]/F");
3637  CreateBranch("muparpz_flux",muparpz_flux,"muparpz_flux[mcevts_truth]/F");
3638  CreateBranch("mupare_flux",mupare_flux,"mupare_flux[mcevts_truth]/F");
3639  CreateBranch("tgen_flux",tgen_flux,"tgen_flux[mcevts_truth]/I");
3640  CreateBranch("tgptype_flux",tgptype_flux,"tgptype_flux[mcevts_truth]/I");
3641  CreateBranch("tgppx_flux",tgppx_flux,"tgppx_flux[mcevts_truth]/F");
3642  CreateBranch("tgppy_flux",tgppy_flux,"tgppy_flux[mcevts_truth]/F");
3643  CreateBranch("tgppz_flux",tgppz_flux,"tgppz_flux[mcevts_truth]/F");
3644  CreateBranch("tprivx_flux",tprivx_flux,"tprivx_flux[mcevts_truth]/F");
3645  CreateBranch("tprivy_flux",tprivy_flux,"tprivy_flux[mcevts_truth]/F");
3646  CreateBranch("tprivz_flux",tprivz_flux,"tprivz_flux[mcevts_truth]/F");
3647  CreateBranch("dk2gen_flux",dk2gen_flux,"dk2gen_flux[mcevts_truth]/F");
3648  CreateBranch("gen2vtx_flux",gen2vtx_flux,"gen2vtx_flux[mcevts_truth]/F");
3649  CreateBranch("tpx_flux",tpx_flux,"tpx_flux[mcevts_truth]/F");
3650  CreateBranch("tpy_flux",tpy_flux,"tpy_flux[mcevts_truth]/F");
3651  CreateBranch("tpz_flux",tpz_flux,"tpz_flux[mcevts_truth]/F");
3652  CreateBranch("tptype_flux",tptype_flux,"tptype_flux[mcevts_truth]/I");
3653 
3654  CreateBranch("genie_no_primaries",&genie_no_primaries,"genie_no_primaries/I");
3655  CreateBranch("genie_primaries_pdg",genie_primaries_pdg,"genie_primaries_pdg[genie_no_primaries]/I");
3656  CreateBranch("genie_Eng",genie_Eng,"genie_Eng[genie_no_primaries]/F");
3657  CreateBranch("genie_Px",genie_Px,"genie_Px[genie_no_primaries]/F");
3658  CreateBranch("genie_Py",genie_Py,"genie_Py[genie_no_primaries]/F");
3659  CreateBranch("genie_Pz",genie_Pz,"genie_Pz[genie_no_primaries]/F");
3660  CreateBranch("genie_P",genie_P,"genie_P[genie_no_primaries]/F");
3661  CreateBranch("genie_status_code",genie_status_code,"genie_status_code[genie_no_primaries]/I");
3662  CreateBranch("genie_mass",genie_mass,"genie_mass[genie_no_primaries]/F");
3663  CreateBranch("genie_trackID",genie_trackID,"genie_trackID[genie_no_primaries]/I");
3664  CreateBranch("genie_ND",genie_ND,"genie_ND[genie_no_primaries]/I");
3665  CreateBranch("genie_mother",genie_mother,"genie_mother[genie_no_primaries]/I");
3666  }
3667  */
3668 /*
3669  if (hasCryInfo()){
3670  CreateBranch("mcevts_truthcry",&mcevts_truthcry,"mcevts_truthcry/I");
3671  CreateBranch("cry_no_primaries",&cry_no_primaries,"cry_no_primaries/I");
3672  CreateBranch("cry_primaries_pdg",cry_primaries_pdg,"cry_primaries_pdg[cry_no_primaries]/I");
3673  CreateBranch("cry_Eng",cry_Eng,"cry_Eng[cry_no_primaries]/F");
3674  CreateBranch("cry_Px",cry_Px,"cry_Px[cry_no_primaries]/F");
3675  CreateBranch("cry_Py",cry_Py,"cry_Py[cry_no_primaries]/F");
3676  CreateBranch("cry_Pz",cry_Pz,"cry_Pz[cry_no_primaries]/F");
3677  CreateBranch("cry_P",cry_P,"cry_P[cry_no_primaries]/F");
3678  CreateBranch("cry_StartPointx",cry_StartPointx,"cry_StartPointx[cry_no_primaries]/F");
3679  CreateBranch("cry_StartPointy",cry_StartPointy,"cry_StartPointy[cry_no_primaries]/F");
3680  CreateBranch("cry_StartPointz",cry_StartPointz,"cry_StartPointz[cry_no_primaries]/F");
3681  CreateBranch("cry_StartPointt",cry_StartPointt,"cry_StartPointt[cry_no_primaries]/F");
3682  CreateBranch("cry_status_code",cry_status_code,"cry_status_code[cry_no_primaries]/I");
3683  CreateBranch("cry_mass",cry_mass,"cry_mass[cry_no_primaries]/F");
3684  CreateBranch("cry_trackID",cry_trackID,"cry_trackID[cry_no_primaries]/I");
3685  CreateBranch("cry_ND",cry_ND,"cry_ND[cry_no_primaries]/I");
3686  CreateBranch("cry_mother",cry_mother,"cry_mother[cry_no_primaries]/I");
3687  }
3688  */
3689 /*
3690  if (hasProtoInfo()) {
3691  CreateBranch("proto_no_primaries",&proto_no_primaries,"proto_no_primaries/I");
3692  CreateBranch("proto_isGoodParticle",proto_isGoodParticle,"proto_isGoodParticle[proto_no_primaries]/I");
3693  CreateBranch("proto_vx",proto_vx,"proto_vx[proto_no_primaries]/F");
3694  CreateBranch("proto_vy",proto_vy,"proto_vy[proto_no_primaries]/F");
3695  CreateBranch("proto_vz",proto_vz,"proto_vz[proto_no_primaries]/F");
3696  CreateBranch("proto_t",proto_t,"proto_t[proto_no_primaries]/F");
3697  CreateBranch("proto_px",proto_px,"proto_px[proto_no_primaries]/F");
3698  CreateBranch("proto_py",proto_py,"proto_py[proto_no_primaries]/F");
3699  CreateBranch("proto_pz",proto_pz,"proto_pz[proto_no_primaries]/F");
3700  CreateBranch("proto_momentum",proto_momentum,"proto_momentum[proto_no_primaries]/F");
3701  CreateBranch("proto_energy",proto_energy,"proto_energy[proto_no_primaries]/F");
3702  CreateBranch("proto_pdg",proto_pdg,"proto_pdg[proto_no_primaries]/I");
3703  }
3704  */
3705 
3706 
3707  if (hasGeneratorInfo()){
3708  CreateBranch("MCTruth_Generator_NumberOfParticles",&generator_list_size,"generator_list_size/I");
3709  CreateBranch("MCTruth_Generator_ParticleID",TrackId,"TrackId[generator_list_size]/I");
3710  CreateBranch("MCTruth_Generator_PDGCode",pdg,"pdg[generator_list_size]/I");
3711  CreateBranch("MCTruth_Generator_Status",status,"status[generator_list_size]/I");
3712  CreateBranch("MCTruth_Generator_Mass",Mass,"Mass[generator_list_size]/F");
3713  CreateBranch("MCTruth_Generator_StartTime",StartT,"StartT[generator_list_size]/F");
3714  CreateBranch("MCTruth_Generator_StartEnergy",Eng,"Eng[generator_list_size]/F");
3715  CreateBranch("MCTruth_Generator_StartMomentum",P,"P[generator_list_size]/F");
3716  CreateBranch("MCTruth_Generator_StartPoint_X",StartPointx,"StartPointx[generator_list_size]/F");
3717  CreateBranch("MCTruth_Generator_StartPoint_Y",StartPointy,"StartPointy[generator_list_size]/F");
3718  CreateBranch("MCTruth_Generator_StartPoint_Z",StartPointz,"StartPointz[generator_list_size]/F");
3719  CreateBranch("MCTruth_Generator_StartMomentum_X",Px,"Px[generator_list_size]/F");
3720  CreateBranch("MCTruth_Generator_StartMomentum_Y",Py,"Py[generator_list_size]/F");
3721  CreateBranch("MCTruth_Generator_StartMomentum_Z",Pz,"Pz[generator_list_size]/F");
3722  CreateBranch("MCTruth_Generator_StartDirection_Theta",theta,"theta[generator_list_size]/F");
3723  CreateBranch("MCTruth_Generator_StartDirection_Phi",phi,"phi[generator_list_size]/F");
3724  }
3725 
3726  if (hasPhotonInfo()){
3727  CreateBranch("MCTruth_GEANT4_NumberOfDetectedPhotons",&numberofphotons,"numberofphotons/I");
3728  CreateBranch("MCTruth_GEANT4_DetectedPhoton_Channel",photons_channel,"photons_channel[numberofphotons]/F");
3729  CreateBranch("MCTruth_GEANT4_DetectedPhoton_Time",photons_time,"photons_time[numberofphotons]/F");
3730  }
3731 
3732  if (hasGeantInfo()){
3733  CreateBranch("MCTruth_GEANT4_NumberOfParticles",&geant_list_size,"geant_list_size/I");
3734  CreateBranch("MCTruth_GEANT4_NumberOfPrimaries",&no_primaries,"no_primaries/I");
3735  CreateBranch("MCTruth_GEANT4_ParticleID",TrackId,"TrackId[geant_list_size]/I");
3736  CreateBranch("MCTruth_GEANT4_PDGCode",pdg,"pdg[geant_list_size]/I");
3737 
3738  CreateBranch("MCTruth_GEANT4_Status",status,"status[geant_list_size]/I");
3739  CreateBranch("MCTruth_GEANT4_IsInTPCAV",inTPCActive,"inTPCActive[geant_list_size]/I");
3740  CreateBranch("MCTruth_GEANT4_NumberOfDaughterParticles",NumberDaughters,"NumberDaughters[geant_list_size]/I");
3741  CreateBranch("MCTruth_GEANT4_MotherParticle",Mother,"Mother[geant_list_size]/I");
3742  CreateBranch("MCTruth_GEANT4_Mass",Mass,"Mass[geant_list_size]/F");
3743  CreateBranch("MCTruth_GEANT4_StartPoint_X",StartPointx,"StartPointx[geant_list_size]/F");
3744  CreateBranch("MCTruth_GEANT4_StartPoint_Y",StartPointy,"StartPointy[geant_list_size]/F");
3745  CreateBranch("MCTruth_GEANT4_StartPoint_Z",StartPointz,"StartPointz[geant_list_size]/F");
3746  CreateBranch("MCTruth_GEANT4_StartTime",StartT,"StartT[geant_list_size]/F");
3747  CreateBranch("MCTruth_GEANT4_StartEnergy",Eng,"Eng[geant_list_size]/F");
3748  CreateBranch("MCTruth_GEANT4_StartMomentum",P,"P[geant_list_size]/F");
3749  CreateBranch("MCTruth_GEANT4_StartMomentum_X",Px,"Px[geant_list_size]/F");
3750  CreateBranch("MCTruth_GEANT4_StartMomentum_Y",Py,"Py[geant_list_size]/F");
3751  CreateBranch("MCTruth_GEANT4_StartMomentum_Z",Pz,"Pz[geant_list_size]/F");
3752  CreateBranch("MCTruth_GEANT4_StartDirection_Theta",theta,"theta[geant_list_size]/F");
3753  CreateBranch("MCTruth_GEANT4_StartDirection_Phi",phi,"phi[geant_list_size]/F");
3754  CreateBranch("MCTruth_GEANT4_InTPCAV_NumberOfParticles",&geant_list_size_in_tpcAV,"geant_list_size_in_tpcAV/I");
3755 // CreateBranch("MCTruth_EndEnergy",EndE,"EndE[geant_list_size]/F");
3756 // CreateBranch("MCTruth_EndPoint_X",EndPointx,"EndPointx[geant_list_size]/F");
3757 // CreateBranch("MCTruth_EndPoint_Y",EndPointy,"EndPointy[geant_list_size]/F");
3758 // CreateBranch("MCTruth_EndPoint_Z",EndPointz,"EndPointz[geant_list_size]/F");
3759 // CreateBranch("MCTruth_EndTime",EndT,"EndT[geant_list_size]/F");
3760 
3761 // CreateBranch("theta_xz",theta_xz,"theta_xz[geant_list_size]/F");
3762 // CreateBranch("theta_yz",theta_yz,"theta_yz[geant_list_size]/F");
3763 
3764  if (hasGeantInAVInfo()){
3765  CreateBranch("MCTruth_GEANT4_InTPCAV_ParticleID",TrackId_tpcAV,"TrackId_tpcAV[geant_list_size_in_tpcAV]/I");
3766  CreateBranch("MCTruth_GEANT4_InTPCAV_PDGCode",PDGCode_tpcAV,"PDGCode_tpcAV[geant_list_size_in_tpcAV]/I");
3767 
3768  CreateBranch("MCTruth_GEANT4_InTPCAV_Pathlength",pathlen_tpcAV,"pathlen_tpcAV[geant_list_size_in_tpcAV]/F");
3769  CreateBranch("MCTruth_GEANT4_InTPCAV_StartPoint_X",StartPointx_tpcAV,"StartPointx_tpcAV[geant_list_size_in_tpcAV]/F");
3770  CreateBranch("MCTruth_GEANT4_InTPCAV_StartPoint_Y",StartPointy_tpcAV,"StartPointy_tpcAV[geant_list_size_in_tpcAV]/F");
3771  CreateBranch("MCTruth_GEANT4_InTPCAV_StartPoint_Z",StartPointz_tpcAV,"StartPointz_tpcAV[geant_list_size_in_tpcAV]/F");
3772  CreateBranch("MCTruth_GEANT4_InTPCAV_StartTime",StartT_tpcAV,"StartT_tpcAV[geant_list_size_in_tpcAV]/F");
3773  CreateBranch("MCTruth_GEANT4_InTPCAV_StartEnergy",StartE_tpcAV,"StartE_tpcAV[geant_list_size_in_tpcAV]/F");
3774  CreateBranch("MCTruth_GEANT4_InTPCAV_StartMomentum",StartP_tpcAV,"StartP_tpcAV[geant_list_size_in_tpcAV]/F");
3775  CreateBranch("MCTruth_GEANT4_InTPCAV_StartMomentum_X",StartPx_tpcAV,"StartPx_tpcAV[geant_list_size_in_tpcAV]/F");
3776  CreateBranch("MCTruth_GEANT4_InTPCAV_StartMomentum_Y",StartPy_tpcAV,"StartPy_tpcAV[geant_list_size_in_tpcAV]/F");
3777  CreateBranch("MCTruth_GEANT4_InTPCAV_StartMomentum_Z",StartPz_tpcAV,"StartPz_tpcAV[geant_list_size_in_tpcAV]/F");
3778  CreateBranch("MCTruth_GEANT4_InTPCAV_StartDirection_Theta",thetastart_tpcAV,"thetastart_tpcAV[geant_list_size_in_tpcAV]/F");
3779  CreateBranch("MCTruth_GEANT4_InTPCAV_StartDirection_Phi",phistart_tpcAV,"phistart_tpcAV[geant_list_size_in_tpcAV]/F");
3780  CreateBranch("MCTruth_GEANT4_InTPCAV_EndPoint_X",EndPointx_tpcAV,"EndPointx_tpcAV[geant_list_size_in_tpcAV]/F");
3781  CreateBranch("MCTruth_GEANT4_InTPCAV_EndPoint_Y",EndPointy_tpcAV,"EndPointy_tpcAV[geant_list_size_in_tpcAV]/F");
3782  CreateBranch("MCTruth_GEANT4_InTPCAV_EndPoint_Z",EndPointz_tpcAV,"EndPointz_tpcAV[geant_list_size_in_tpcAV]/F");
3783  CreateBranch("MCTruth_GEANT4_InTPCAV_EndTime",EndT_tpcAV,"EndT_tpcAV[geant_list_size_in_tpcAV]/F");
3784  CreateBranch("MCTruth_GEANT4_InTPCAV_EndEnergy",EndE_tpcAV,"EndE_tpcAV[geant_list_size_in_tpcAV]/F");
3785  CreateBranch("MCTruth_GEANT4_InTPCAV_EndMomentum",EndP_tpcAV,"EndP_tpcAV[geant_list_size_in_tpcAV]/F");
3786  CreateBranch("MCTruth_GEANT4_InTPCAV_EndMomentum_X",EndPx_tpcAV,"EndPx_tpcAV[geant_list_size_in_tpcAV]/F");
3787  CreateBranch("MCTruth_GEANT4_InTPCAV_EndMomentum_Y",EndPy_tpcAV,"EndPy_tpcAV[geant_list_size_in_tpcAV]/F");
3788  CreateBranch("MCTruth_GEANT4_InTPCAV_EndMomentum_Z",EndPz_tpcAV,"EndPz_tpcAV[geant_list_size_in_tpcAV]/F");
3789  CreateBranch("MCTruth_GEANT4_InTPCAV_EndDirection_Theta",thetaend_tpcAV,"thetaend_tpcAV[geant_list_size_in_tpcAV]/F");
3790  CreateBranch("MCTruth_GEANT4_InTPCAV_EndDirection_Phi",phiend_tpcAV,"phiend_tpcAV[geant_list_size_in_tpcAV]/F");
3791 }
3792 
3793 
3794 /*
3795  CreateBranch("pathlen_drifted",pathlen_drifted,"pathlen_drifted[geant_list_size]/F");
3796  CreateBranch("inTPCDrifted",inTPCDrifted,"inTPCDrifted[geant_list_size]/I");
3797  CreateBranch("StartPointx_drifted",StartPointx_drifted,"StartPointx_drifted[geant_list_size]/F");
3798  CreateBranch("StartPointy_drifted",StartPointy_drifted,"StartPointy_drifted[geant_list_size]/F");
3799  CreateBranch("StartPointz_drifted",StartPointz_drifted,"StartPointz_drifted[geant_list_size]/F");
3800  CreateBranch("StartT_drifted",StartT_drifted,"StartT_drifted[geant_list_size]/F");
3801  CreateBranch("StartE_drifted",StartE_drifted,"StartE_drifted[geant_list_size]/F");
3802  CreateBranch("StartP_drifted",StartP_drifted,"StartP_drifted[geant_list_size]/F");
3803  CreateBranch("StartPx_drifted",StartPx_drifted,"StartPx_drifted[geant_list_size]/F");
3804  CreateBranch("StartPy_drifted",StartPy_drifted,"StartPy_drifted[geant_list_size]/F");
3805  CreateBranch("StartPz_drifted",StartPz_drifted,"StartPz_drifted[geant_list_size]/F");
3806  CreateBranch("EndPointx_drifted",EndPointx_drifted,"EndPointx_drifted[geant_list_size]/F");
3807  CreateBranch("EndPointy_drifted",EndPointy_drifted,"EndPointy_drifted[geant_list_size]/F");
3808  CreateBranch("EndPointz_drifted",EndPointz_drifted,"EndPointz_drifted[geant_list_size]/F");
3809  CreateBranch("EndT_drifted",EndT_drifted,"EndT_drifted[geant_list_size]/F");
3810  CreateBranch("EndE_drifted",EndE_drifted,"EndE_drifted[geant_list_size]/F");
3811  CreateBranch("EndP_drifted",EndP_drifted,"EndP_drifted[geant_list_size]/F");
3812  CreateBranch("EndPx_drifted",EndPx_drifted,"EndPx_drifted[geant_list_size]/F");
3813  CreateBranch("EndPy_drifted",EndPy_drifted,"EndPy_drifted[geant_list_size]/F");
3814  CreateBranch("EndPz_drifted",EndPz_drifted,"EndPz_drifted[geant_list_size]/F");
3815 */
3816 
3817 /*
3818  CreateBranch("TrackId",TrackId,"TrackId[geant_list_size]/I");
3819  CreateBranch("MergedId", MergedId, "MergedId[geant_list_size]/I");
3820  CreateBranch("origin", origin, "origin[geant_list_size]/I");
3821  CreateBranch("MCTruthIndex", MCTruthIndex, "MCTruthIndex[geant_list_size]/I");
3822  CreateBranch("process_primary",process_primary,"process_primary[geant_list_size]/I");
3823  CreateBranch("processname", processname);
3824 */
3825 }
3826 
3828  CreateBranch("MCTruth_GEANT4_TotalNumberOfTrajectoryStepsForAllParticles",&geant_trajectory_size,"geant_trajectory_size/I");
3829  CreateBranch("MCTruth_GEANT4_NumberOfTrajectoryStepsPerParticle",NTrajectoryPointsPerParticle,"NTrajectoryPointsPerParticle[geant_list_size]/I");
3830 
3831  CreateBranch("MCTruth_GEANT4_TrajectoryStep_ParticleID",TrajTrackId,"TrajTrackId[geant_trajectory_size]/I");
3832  CreateBranch("MCTruth_GEANT4_TrajectoryStep_PDGCode",TrajPDGCode,"TrajPDGCode[geant_trajectory_size]/I");
3833  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Point_X",TrajX,"TrajX[geant_trajectory_size]/F");
3834  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Point_Y",TrajY,"TrajY[geant_trajectory_size]/F");
3835  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Point_Z",TrajZ,"TrajZ[geant_trajectory_size]/F");
3836  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Time",TrajT,"TrajT[geant_trajectory_size]/F");
3837  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Energy",TrajE,"TrajE[geant_trajectory_size]/F");
3838  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Momentum",TrajP,"TrajP[geant_trajectory_size]/F");
3839  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Momentum_X",TrajPx,"TrajPx[geant_trajectory_size]/F");
3840  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Momentum_Y",TrajPy,"TrajPy[geant_trajectory_size]/F");
3841  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Momentum_Z",TrajPz,"TrajPz[geant_trajectory_size]/F");
3842  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Direction_Theta",TrajTheta,"TrajTheta[geant_trajectory_size]/F");
3843  CreateBranch("MCTruth_GEANT4_TrajectoryStep_Direction_Phi",TrajPhi,"TrajPhi[geant_trajectory_size]/F");
3844 }
3845 
3847  CreateBranch("MCTruth_GEANT4_TotalNumberOfSEDInTPCAVForAllParticles",&simenergydeposit_size,"simenergydeposit_size/I");
3848  CreateBranch("MCTruth_GEANT4_NumberOfParticlesWithSEDInTPCAV",&particleswithsimenergydeposit_size,"particleswithsimenergydeposit_size/I");
3849 
3850  CreateBranch("MCTruth_GEANT4_ParticlesWithSEDInTPCAV_NumberOfSED",NSimEnergyDepositsTPCActivePerParticle,"NSimEnergyDepositsTPCActivePerParticle[particleswithsimenergydeposit_size]/I");
3851  CreateBranch("MCTruth_GEANT4_ParticlesWithSEDInTPCAV_ParticleID",ParticleIDSimEnergyDepositsTPCActivePerParticle,"ParticleIDSimEnergyDepositsTPCActivePerParticle[particleswithsimenergydeposit_size]/I");
3852 
3853  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_ParticleID",SEDTPCAVTrackID,"SEDTPCAVTrackID[simenergydeposit_size]/I");
3854  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_PDGCode",SEDTPCAVPDGCode,"SEDTPCAVPDGCode[simenergydeposit_size]/I");
3855  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_EnergyDeposition",SEDTPCAVEnergy,"SEDTPCAVEnergy[simenergydeposit_size]/F");
3856  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_NumberOfPhotons",SEDTPCAVNumPhotons,"SEDTPCAVNumPhotons[simenergydeposit_size]/I");
3857  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_NumberOfElectrons",SEDTPCAVNumElectrons,"SEDTPCAVNumElectrons[simenergydeposit_size]/I");
3858  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_Length",SEDTPCAVLength,"SEDTPCAVLength[simenergydeposit_size]/F");
3859  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_StartTime",SEDTPCAVStartTime,"SEDTPCAVStartTime[simenergydeposit_size]/F");
3860  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_StartPoint_X",SEDTPCAVStartX,"SEDTPCAVStartX[simenergydeposit_size]/F");
3861  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_StartPoint_Y",SEDTPCAVStartY,"SEDTPCAVStartY[simenergydeposit_size]/F");
3862  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_StartPoint_Z",SEDTPCAVStartZ,"SEDTPCAVStartZ[simenergydeposit_size]/F");
3863  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_MidTime",SEDTPCAVMidTime,"SEDTPCAVMidTime[simenergydeposit_size]/F");
3864  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_MidPoint_X",SEDTPCAVMidX,"SEDTPCAVMidX[simenergydeposit_size]/F");
3865  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_MidPoint_Y",SEDTPCAVMidY,"SEDTPCAVMidY[simenergydeposit_size]/F");
3866  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_MidPoint_Z",SEDTPCAVMidZ,"SEDTPCAVMidZ[simenergydeposit_size]/F");
3867  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_EndTime",SEDTPCAVEndTime,"SEDTPCAVEndTime[simenergydeposit_size]/F");
3868  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_EndPoint_X",SEDTPCAVEndX,"SEDTPCAVEndX[simenergydeposit_size]/F");
3869  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_EndPoint_Y",SEDTPCAVEndY,"SEDTPCAVEndY[simenergydeposit_size]/F");
3870  CreateBranch("MCTruth_GEANT4_SEDInTPCAV_EndPoint_Z",SEDTPCAVEndZ,"SEDTPCAVEndZ[simenergydeposit_size]/F");
3871 }
3872 
3873 /*
3874  if (hasMCShowerInfo()){
3875  CreateBranch("no_mcshowers",&no_mcshowers,"no_mcshowers/I");
3876  CreateBranch("mcshwr_origin",mcshwr_origin,"mcshwr_origin[no_mcshowers]/I");
3877  CreateBranch("mcshwr_pdg",mcshwr_pdg,"mcshwr_pdg[no_mcshowers]/I");
3878  CreateBranch("mcshwr_TrackId",mcshwr_TrackId,"mcshwr_TrackId[no_mcshowers]/I");
3879  CreateBranch("mcshwr_Process",mcshwr_Process);
3880  CreateBranch("mcshwr_startX",mcshwr_startX,"mcshwr_startX[no_mcshowers]/F");
3881  CreateBranch("mcshwr_startY",mcshwr_startY,"mcshwr_startY[no_mcshowers]/F");
3882  CreateBranch("mcshwr_startZ",mcshwr_startZ,"mcshwr_startZ[no_mcshowers]/F");
3883  CreateBranch("mcshwr_endX",mcshwr_endX,"mcshwr_endX[no_mcshowers]/F");
3884  CreateBranch("mcshwr_endY",mcshwr_endY,"mcshwr_endY[no_mcshowers]/F");
3885  CreateBranch("mcshwr_endZ",mcshwr_endZ,"mcshwr_endZ[no_mcshowers]/F");
3886  CreateBranch("mcshwr_CombEngX",mcshwr_CombEngX,"mcshwr_CombEngX[no_mcshowers]/F");
3887  CreateBranch("mcshwr_CombEngY",mcshwr_CombEngY,"mcshwr_CombEngY[no_mcshowers]/F");
3888  CreateBranch("mcshwr_CombEngZ",mcshwr_CombEngZ,"mcshwr_CombEngZ[no_mcshowers]/F");
3889  CreateBranch("mcshwr_CombEngPx",mcshwr_CombEngPx,"mcshwr_CombEngPx[no_mcshowers]/F");
3890  CreateBranch("mcshwr_CombEngPy",mcshwr_CombEngPy,"mcshwr_CombEngPy[no_mcshowers]/F");
3891  CreateBranch("mcshwr_CombEngPz",mcshwr_CombEngPz,"mcshwr_CombEngPz[no_mcshowers]/F");
3892  CreateBranch("mcshwr_CombEngE",mcshwr_CombEngE,"mcshwr_CombEngE[no_mcshowers]/F");
3893  CreateBranch("mcshwr_dEdx",mcshwr_dEdx,"mcshwr_dEdx[no_mcshowers]/F");
3894  CreateBranch("mcshwr_StartDirX",mcshwr_StartDirX,"mcshwr_StartDirX[no_mcshowers]/F");
3895  CreateBranch("mcshwr_StartDirY",mcshwr_StartDirY,"mcshwr_StartDirY[no_mcshowers]/F");
3896  CreateBranch("mcshwr_StartDirZ",mcshwr_StartDirZ,"mcshwr_StartDirZ[no_mcshowers]/F");
3897  CreateBranch("mcshwr_isEngDeposited",mcshwr_isEngDeposited,"mcshwr_isEngDeposited[no_mcshowers]/I");
3898  CreateBranch("mcshwr_Motherpdg",mcshwr_Motherpdg,"mcshwr_Motherpdg[no_mcshowers]/I");
3899  CreateBranch("mcshwr_MotherTrkId",mcshwr_MotherTrkId,"mcshwr_MotherTrkId[no_mcshowers]/I");
3900  CreateBranch("mcshwr_MotherProcess",mcshwr_MotherProcess);
3901  CreateBranch("mcshwr_MotherstartX",mcshwr_MotherstartX,"mcshwr_MotherstartX[no_mcshowers]/F");
3902  CreateBranch("mcshwr_MotherstartY",mcshwr_MotherstartY,"mcshwr_MotherstartY[no_mcshowers]/F");
3903  CreateBranch("mcshwr_MotherstartZ",mcshwr_MotherstartZ,"mcshwr_MotherstartZ[no_mcshowers]/F");
3904  CreateBranch("mcshwr_MotherendX",mcshwr_MotherendX,"mcshwr_MotherendX[no_mcshowers]/F");
3905  CreateBranch("mcshwr_MotherendY",mcshwr_MotherendY,"mcshwr_MotherendY[no_mcshowers]/F");
3906  CreateBranch("mcshwr_MotherendZ",mcshwr_MotherendZ,"mcshwr_MotherendZ[no_mcshowers]/F");
3907  CreateBranch("mcshwr_Ancestorpdg",mcshwr_Ancestorpdg,"mcshwr_Ancestorpdg[no_mcshowers]/I");
3908  CreateBranch("mcshwr_AncesotorTrkId",mcshwr_AncestorTrkId,"mcshwr_AncestorTrkId[no_mcshowers]/I");
3909  CreateBranch("mcshwr_AncesotorProcess",mcshwr_AncestorProcess);
3910  CreateBranch("mcshwr_AncestorstartX",mcshwr_AncestorstartX,"mcshwr_AncestorstartX[no_mcshowers]/F");
3911  CreateBranch("mcshwr_AncestorstartY",mcshwr_AncestorstartY,"mcshwr_AncestorstartY[no_mcshowers]/F");
3912  CreateBranch("mcshwr_AncestorstartZ",mcshwr_AncestorstartZ,"mcshwr_AncestorstartZ[no_mcshowers]/F");
3913  CreateBranch("mcshwr_AncestorendX",mcshwr_AncestorendX,"mcshwr_AncestorendX[no_mcshowers]/F");
3914  CreateBranch("mcshwr_AncestorendY",mcshwr_AncestorendY,"mcshwr_AncestorendY[no_mcshowers]/F");
3915  CreateBranch("mcshwr_AncestorendZ",mcshwr_AncestorendZ,"mcshwr_AncestorendZ[no_mcshowers]/F");
3916  }
3917  */
3918 /*
3919  if (hasMCTrackInfo()){
3920  CreateBranch("no_mctracks",&no_mctracks,"no_mctracks/I");
3921  CreateBranch("mctrk_origin",mctrk_origin,"mctrk_origin[no_mctracks]/I");
3922  CreateBranch("mctrk_pdg",mctrk_pdg,"mctrk_pdg[no_mctracks]/I");
3923  CreateBranch("mctrk_TrackId",mctrk_TrackId,"mctrk_TrackId[no_mctracks]/I");
3924  CreateBranch("mctrk_Process",mctrk_Process);
3925  CreateBranch("mctrk_startX",mctrk_startX,"mctrk_startX[no_mctracks]/F");
3926  CreateBranch("mctrk_startY",mctrk_startY,"mctrk_startY[no_mctracks]/F");
3927  CreateBranch("mctrk_startZ",mctrk_startZ,"mctrk_startZ[no_mctracks]/F");
3928  CreateBranch("mctrk_endX",mctrk_endX,"mctrk_endX[no_mctracks]/F");
3929  CreateBranch("mctrk_endY",mctrk_endY,"mctrk_endY[no_mctracks]/F");
3930  CreateBranch("mctrk_endZ",mctrk_endZ,"mctrk_endZ[no_mctracks]/F");
3931  CreateBranch("mctrk_startX_drifted",mctrk_startX_drifted,"mctrk_startX_drifted[no_mctracks]/F");
3932  CreateBranch("mctrk_startY_drifted",mctrk_startY_drifted,"mctrk_startY_drifted[no_mctracks]/F");
3933  CreateBranch("mctrk_startZ_drifted",mctrk_startZ_drifted,"mctrk_startZ_drifted[no_mctracks]/F");
3934  CreateBranch("mctrk_endX_drifted",mctrk_endX_drifted,"mctrk_endX_drifted[no_mctracks]/F");
3935  CreateBranch("mctrk_endY_drifted",mctrk_endY_drifted,"mctrk_endY_drifted[no_mctracks]/F");
3936  CreateBranch("mctrk_endZ_drifted",mctrk_endZ_drifted,"mctrk_endZ_drifted[no_mctracks]/F");
3937  CreateBranch("mctrk_len_drifted",mctrk_len_drifted,"mctrk_len_drifted[no_mctracks]/F");
3938  CreateBranch("mctrk_p_drifted",mctrk_p_drifted,"mctrk_p_drifted[no_mctracks]/F");
3939  CreateBranch("mctrk_px_drifted",mctrk_px_drifted,"mctrk_px_drifted[no_mctracks]/F");
3940  CreateBranch("mctrk_py_drifted",mctrk_py_drifted,"mctrk_py_drifted[no_mctracks]/F");
3941  CreateBranch("mctrk_pz_drifted",mctrk_pz_drifted,"mctrk_pz_drifted[no_mctracks]/F");
3942  CreateBranch("mctrk_Motherpdg",mctrk_Motherpdg,"mctrk_Motherpdg[no_mctracks]/I");
3943  CreateBranch("mctrk_MotherTrkId",mctrk_MotherTrkId,"mctrk_MotherTrkId[no_mctracks]/I");
3944  CreateBranch("mctrk_MotherProcess",mctrk_MotherProcess);
3945  CreateBranch("mctrk_MotherstartX",mctrk_MotherstartX,"mctrk_MotherstartX[no_mctracks]/F");
3946  CreateBranch("mctrk_MotherstartY",mctrk_MotherstartY,"mctrk_MotherstartY[no_mctracks]/F");
3947  CreateBranch("mctrk_MotherstartZ",mctrk_MotherstartZ,"mctrk_MotherstartZ[no_mctracks]/F");
3948  CreateBranch("mctrk_MotherendX",mctrk_MotherendX,"mctrk_MotherendX[no_mctracks]/F");
3949  CreateBranch("mctrk_MotherendY",mctrk_MotherendY,"mctrk_MotherendY[no_mctracks]/F");
3950  CreateBranch("mctrk_MotherendZ",mctrk_MotherendZ,"mctrk_MotherendZ[no_mctracks]/F");
3951  CreateBranch("mctrk_Ancestorpdg",mctrk_Ancestorpdg,"mctrk_Ancestorpdg[no_mctracks]/I");
3952  CreateBranch("mctrk_AncesotorTrkId",mctrk_AncestorTrkId,"mctrk_AncestorTrkId[no_mctracks]/I");
3953  CreateBranch("mctrk_AncesotorProcess",mctrk_AncestorProcess);
3954  CreateBranch("mctrk_AncestorstartX",mctrk_AncestorstartX,"mctrk_AncestorstartX[no_mctracks]/F");
3955  CreateBranch("mctrk_AncestorstartY",mctrk_AncestorstartY,"mctrk_AncestorstartY[no_mctracks]/F");
3956  CreateBranch("mctrk_AncestorstartZ",mctrk_AncestorstartZ,"mctrk_AncestorstartZ[no_mctracks]/F");
3957  CreateBranch("mctrk_AncestorendX",mctrk_AncestorendX,"mctrk_AncestorendX[no_mctracks]/F");
3958  CreateBranch("mctrk_AncestorendY",mctrk_AncestorendY,"mctrk_AncestorendY[no_mctracks]/F");
3959  CreateBranch("mctrk_AncestorendZ",mctrk_AncestorendZ,"mctrk_AncestorendZ[no_mctracks]/F");
3960  }
3961  */
3962 /*
3963  if (hasAuxDetector()) {
3964 // Geant information is required to fill aux detector information.
3965 // if fSaveGeantInfo is not set to true, show an error message and quit!
3966 if (!hasGeantInfo()){
3967 throw art::Exception(art::errors::Configuration)
3968 << "Saving Auxiliary detector information requies saving GEANT information, "
3969 <<"please set fSaveGeantInfo flag to true in your fhicl file and rerun.\n";
3970 }
3971 std::ostringstream sstr;
3972 sstr << "[" << kMaxAuxDets << "]";
3973 std::string MaxAuxDetIndexStr = sstr.str();
3974 CreateBranch("NAuxDets", NAuxDets, "NAuxDets[geant_list_size]/s");
3975 CreateBranch("AuxDetID", AuxDetID, "AuxDetID[geant_list_size]" + MaxAuxDetIndexStr + "/S");
3976 CreateBranch("AuxDetEntryX", entryX, "AuxDetEntryX[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3977 CreateBranch("AuxDetEntryY", entryY, "AuxDetEntryY[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3978 CreateBranch("AuxDetEntryZ", entryZ, "AuxDetEntryZ[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3979 CreateBranch("AuxDetEntryT", entryT, "AuxDetEntryT[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3980 CreateBranch("AuxDetExitX", exitX, "AuxDetExitX[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3981 CreateBranch("AuxDetExitY", exitY, "AuxDetExitY[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3982 CreateBranch("AuxDetExitZ", exitZ, "AuxDetExitZ[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3983 CreateBranch("AuxDetExitT", exitT, "AuxDetExitT[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3984 CreateBranch("AuxDetExitPx", exitPx, "AuxDetExitPx[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3985 CreateBranch("AuxDetExitPy", exitPy, "AuxDetExitPy[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3986 CreateBranch("AuxDetExitPz", exitPz, "AuxDetExitPz[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3987 CreateBranch("CombinedEnergyDep", CombinedEnergyDep,
3988 "CombinedEnergyDep[geant_list_size]" + MaxAuxDetIndexStr + "/F");
3989 } // if hasAuxDetector
3990 */
3991 } // dune::AnaRootParserDataStruct::SetAddresses()
Int_t geant_trajectory_size
! how many trajectory points for all geant particles there is currently room for
std::vector< Float_t > EndPx_tpcAV
std::vector< Float_t > StartPointz_tpcAV
std::vector< Float_t > thetastart_tpcAV
bool hasGeantInAVInfo() const
Returns whether we have Geant data.
std::vector< Float_t > StartPx_tpcAV
Int_t generator_list_size
! how many particles there is currently room for
std::vector< Float_t > StartP_tpcAV
Float_t cluster_Integral[kMaxClusters]
Int_t simenergydeposit_size
! how many particles with sim energy deposits in TPC AV there is currently room for ...
Int_t recoW_Tick[kMaxReadoutTicksInAllChannels]
std::vector< Int_t > NTrajectoryPointsPerParticle
std::vector< float > SEDTPCAVStartTime
bool hasGeneratorInfo() const
Returns whether we have Generator data.
Int_t no_primaries
! how many particles there is currently room for
std::vector< Float_t > photons_time
bool hasHitInfo() const
Returns whether we have Hit data.
bool hasRecobWireInfo() const
Returns whether we have RecobWire data.
Float_t cluster_EndAngle[kMaxClusters]
Short_t cluster_EndWire[kMaxClusters]
Float_t cluster_StartCharge[kMaxClusters]
Float_t cluster_StartAngle[kMaxClusters]
Float_t recoW_ADC[kMaxReadoutTicksInAllChannels]
std::vector< ShowerDataStruct > ShowerData
bool hasShowerInfo() const
Returns whether we have Shower data.
bool hasGeantTrajectoryInfo() const
Returns whether we have Geant trajectory data.
bool hasClusterInfo() const
Returns whether we have Cluster data.
std::vector< Float_t > StartPointx
std::vector< Float_t > EndPointy_tpcAV
std::vector< Float_t > EndPointx_tpcAV
std::vector< Float_t > StartPy_tpcAV
std::vector< Float_t > EndPointz_tpcAV
Short_t rawD_ADC[kMaxReadoutTicksInAllChannels]
Short_t cluster_StartTick[kMaxClusters]
std::vector< Float_t > StartPointz
std::vector< Float_t > pathlen_tpcAV
bool hasGeantInfo() const
Returns whether we have Geant data.
bool hasRawDigitInfo() const
Returns whether we have RawDigit data.
std::vector< Float_t > photons_channel
std::vector< Float_t > phiend_tpcAV
std::vector< Float_t > StartPointx_tpcAV
std::vector< Float_t > EndPy_tpcAV
std::vector< Float_t > StartT_tpcAV
bool hasSimEnergyDepositTPCActiveInfo() const
Returns whether we have Geant trajectory data.
std::vector< Int_t > NSimEnergyDepositsTPCActivePerParticle
Short_t cluster_EndTick[kMaxClusters]
std::vector< Float_t > StartE_tpcAV
bool hasPhotonInfo() const
Returns whether we have photon data.
std::vector< Float_t > EndPz_tpcAV
std::vector< Float_t > thetaend_tpcAV
std::vector< Float_t > StartPointy
bool hasPFParticleInfo() const
Returns whether we have PFParticle data.
Float_t cluster_IntegralAverage[kMaxClusters]
std::vector< Float_t > StartPointy_tpcAV
std::vector< Int_t > SEDTPCAVNumPhotons
std::vector< Float_t > StartPz_tpcAV
Short_t cluster_StartWire[kMaxClusters]
std::vector< Int_t > ParticleIDSimEnergyDepositsTPCActivePerParticle
Event finding and building.
std::vector< Int_t > SEDTPCAVNumElectrons
std::vector< Float_t > phistart_tpcAV
Float_t cluster_EndCharge[kMaxClusters]
void dune::AnaRootParserDataStruct::SetBits ( unsigned int  setbits,
bool  unset = false 
)
inline

Sets the specified bits.

Definition at line 1126 of file AnaRootParser_module.cc.

1127  { if (unset) bits &= ~setbits; else bits |= setbits; }
unsigned int bits
complementary information
void dune::AnaRootParserDataStruct::SetShowerAlgos ( std::vector< std::string > const &  ShowerAlgos)

Allocates data structures for the given number of trackers (no Clear())

Definition at line 3068 of file AnaRootParser_module.cc.

3069 {
3070 
3071  size_t const nShowerAlgos = ShowerAlgos.size();
3072  ShowerData.resize(nShowerAlgos);
3073  for (size_t iAlgo = 0; iAlgo < nShowerAlgos; ++iAlgo)
3074  ShowerData[iAlgo].SetName(ShowerAlgos[iAlgo]);
3075 
3076 } // dune::AnaRootParserDataStruct::SetShowerAlgos()
std::vector< ShowerDataStruct > ShowerData
void dune::AnaRootParserDataStruct::SetTrackers ( size_t  nTrackers)
inline

Allocates data structures for the given number of trackers (no Clear())

Definition at line 1163 of file AnaRootParser_module.cc.

1163 { TrackData.resize(nTrackers); }
std::vector< TrackDataStruct > TrackData
void dune::AnaRootParserDataStruct::SetVertexAlgos ( size_t  nVertexAlgos)
inline

Allocates data structures for the given number of vertex algos (no Clear())

Definition at line 1166 of file AnaRootParser_module.cc.

1166 { VertexData.resize(nVertexAlgos); }
std::vector< VertexDataStruct > VertexData

Member Data Documentation

AuxDetMCData_t<Short_t> dune::AnaRootParserDataStruct::AuxDetID

Which AuxDet this particle went through.

Definition at line 1040 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::beamgatetime

Definition at line 559 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::beamtime

Definition at line 553 of file AnaRootParser_module.cc.

unsigned int dune::AnaRootParserDataStruct::bits

complementary information

Definition at line 1054 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::ccnc_truth[kMaxTruth]

Definition at line 689 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_EndAngle[kMaxClusters]

Definition at line 639 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_EndCharge[kMaxClusters]

Definition at line 638 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::cluster_EndTick[kMaxClusters]

Definition at line 650 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::cluster_EndWire[kMaxClusters]

Definition at line 649 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_Integral[kMaxClusters]

Definition at line 640 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_IntegralAverage[kMaxClusters]

Definition at line 641 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::cluster_isValid[kMaxClusters]

Definition at line 635 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_MultipleHitDensity[kMaxClusters]

Definition at line 644 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::cluster_NHits[kMaxClusters]

Definition at line 646 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_StartAngle[kMaxClusters]

Definition at line 637 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_StartCharge[kMaxClusters]

Definition at line 636 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::cluster_StartTick[kMaxClusters]

Definition at line 648 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::cluster_StartWire[kMaxClusters]

Definition at line 647 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_SummedADC[kMaxClusters]

Definition at line 642 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_SummedADCaverage[kMaxClusters]

Definition at line 643 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::cluster_Width[kMaxClusters]

Definition at line 645 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::clusterId[kMaxClusters]

Definition at line 633 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::clusterView[kMaxClusters]

Definition at line 634 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::CombinedEnergyDep

Sum energy of all particles with this trackID (+ID or -ID) in AuxDet.

Definition at line 1052 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_Eng

Definition at line 768 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_mass

Definition at line 778 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::cry_mother

Definition at line 781 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::cry_ND

Definition at line 780 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::cry_no_primaries

Definition at line 766 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_P

Definition at line 772 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::cry_primaries_pdg

Definition at line 767 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_Px

Definition at line 769 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_Py

Definition at line 770 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_Pz

Definition at line 771 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_StartPointt

Definition at line 776 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_StartPointx

Definition at line 773 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_StartPointy

Definition at line 774 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::cry_StartPointz

Definition at line 775 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::cry_status_code

Definition at line 777 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::cry_trackID

Definition at line 779 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::dk2gen_flux[kMaxTruth]

Definition at line 741 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndE

Definition at line 809 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndE_drifted

Definition at line 870 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndE_tpcAV

Definition at line 847 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndP_drifted

Definition at line 871 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndP_tpcAV

Definition at line 848 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointx

Definition at line 820 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointx_drifted

Definition at line 866 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointx_tpcAV

Definition at line 843 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointy

Definition at line 821 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointy_drifted

Definition at line 867 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointy_tpcAV

Definition at line 844 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointz

Definition at line 822 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointz_drifted

Definition at line 868 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPointz_tpcAV

Definition at line 845 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPx_drifted

Definition at line 872 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPx_tpcAV

Definition at line 849 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPy_drifted

Definition at line 873 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPy_tpcAV

Definition at line 850 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPz_drifted

Definition at line 874 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndPz_tpcAV

Definition at line 851 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndT

Definition at line 819 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndT_drifted

Definition at line 869 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::EndT_tpcAV

Definition at line 846 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::Eng

Definition at line 808 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::entryT

Entry T position of particle into AuxDet.

Definition at line 1044 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::entryX

Entry X position of particle into AuxDet.

Definition at line 1041 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::entryY

Entry Y position of particle into AuxDet.

Definition at line 1042 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::entryZ

Entry Z position of particle into AuxDet.

Definition at line 1043 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::enu_truth[kMaxTruth]

Definition at line 691 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::event

Definition at line 550 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::evttime_nanoseconds

Definition at line 552 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::evttime_seconds

Definition at line 551 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitPx

Exit x momentum of particle out of AuxDet.

Definition at line 1049 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitPy

Exit y momentum of particle out of AuxDet.

Definition at line 1050 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitPz

Exit z momentum of particle out of AuxDet.

Definition at line 1051 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitT

Exit T position of particle out of AuxDet.

Definition at line 1048 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitX

Exit X position of particle out of AuxDet.

Definition at line 1045 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitY

Exit Y position of particle out of AuxDet.

Definition at line 1046 of file AnaRootParser_module.cc.

AuxDetMCData_t<Float_t> dune::AnaRootParserDataStruct::exitZ

Exit Z position of particle out of AuxDet.

Definition at line 1047 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::externcounts_id[kMaxExternCounts]

Definition at line 669 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::externcounts_time[kMaxExternCounts]

Definition at line 668 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_pe[kMaxFlashes]

Definition at line 659 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_time[kMaxFlashes]

Definition at line 658 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_timewidth[kMaxFlashes]

Definition at line 664 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_ycenter[kMaxFlashes]

Definition at line 660 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_ywidth[kMaxFlashes]

Definition at line 662 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_zcenter[kMaxFlashes]

Definition at line 661 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::flash_zwidth[kMaxFlashes]

Definition at line 663 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::geant_list_size

Definition at line 803 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::geant_list_size_in_tpcAV

Definition at line 804 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::geant_trajectory_size

! how many trajectory points for all geant particles there is currently room for

Definition at line 887 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::gen2vtx_flux[kMaxTruth]

Definition at line 742 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::generator_list_size

! how many particles there is currently room for

Definition at line 799 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::genie_Eng

Definition at line 753 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::genie_mass

Definition at line 759 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::genie_mother

Definition at line 762 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::genie_ND

Definition at line 761 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::genie_no_primaries

Definition at line 751 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::genie_P

Definition at line 757 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::genie_primaries_pdg

Definition at line 752 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::genie_Px

Definition at line 754 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::genie_Py

Definition at line 755 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::genie_Pz

Definition at line 756 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::genie_status_code

Definition at line 758 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::genie_trackID

Definition at line 760 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_channel[kMaxHits]

Definition at line 572 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_chargeintegral[kMaxHits]

Definition at line 575 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_chargesum[kMaxHits]

Definition at line 574 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_clusterid[kMaxHits]

Definition at line 594 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_endT[kMaxHits]

Definition at line 578 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_fitparamampl[kMaxHits]

Definition at line 581 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_fitparamt0[kMaxHits]

Definition at line 582 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_fitparamtau1[kMaxHits]

Definition at line 583 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_fitparamtau2[kMaxHits]

Definition at line 584 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_goodnessOfFit[kMaxHits]

Definition at line 580 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_multiplicity[kMaxHits]

Definition at line 585 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_peakT[kMaxHits]

Definition at line 573 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_ph[kMaxHits]

Definition at line 576 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_rms[kMaxHits]

Definition at line 579 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_startT[kMaxHits]

Definition at line 577 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_tpc[kMaxHits]

Definition at line 569 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_trkid[kMaxHits]

Definition at line 592 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_trueEnergyFraction[kMaxHits]

Definition at line 588 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::hit_trueEnergyMax[kMaxHits]

Definition at line 587 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::hit_trueID[kMaxHits]

Definition at line 586 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_view[kMaxHits]

Definition at line 570 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::hit_wire[kMaxHits]

Definition at line 571 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::hitnuc_truth[kMaxTruth]

Definition at line 696 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::inTPCActive

Definition at line 807 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::inTPCDrifted

Definition at line 856 of file AnaRootParser_module.cc.

Char_t dune::AnaRootParserDataStruct::isdata

Definition at line 556 of file AnaRootParser_module.cc.

Char_t dune::AnaRootParserDataStruct::kNShowerAlgos

Definition at line 680 of file AnaRootParser_module.cc.

Char_t dune::AnaRootParserDataStruct::kNTracker

Definition at line 672 of file AnaRootParser_module.cc.

Char_t dune::AnaRootParserDataStruct::kNVertexAlgos

Definition at line 676 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::lep_dcosx_truth[kMaxTruth]

Definition at line 704 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::lep_dcosy_truth[kMaxTruth]

Definition at line 705 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::lep_dcosz_truth[kMaxTruth]

Definition at line 706 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::lep_mom_truth[kMaxTruth]

Definition at line 703 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::Mass

Definition at line 810 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxGEANTInAVparticles = 0

Definition at line 828 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxGEANTparticles = 0

Definition at line 801 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxGEANTtrajectorypoints = 0

Definition at line 885 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxGeneratorparticles = 0

Definition at line 798 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxGeniePrimaries = 0

Definition at line 750 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxParticlesWithSimEnergyDepositsTPCActive = 0

! how many sim energy deposits in TPC AV there is currently room for

Definition at line 908 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxPhotons = 0

Definition at line 619 of file AnaRootParser_module.cc.

size_t dune::AnaRootParserDataStruct::MaxSimEnergyDepositsTPCActive = 0

Definition at line 907 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::mcevts_truth

Definition at line 687 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::mcevts_truthcry

Definition at line 765 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_AncestorendX

Definition at line 983 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_AncestorendY

Definition at line 984 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_AncestorendZ

Definition at line 985 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_Ancestorpdg

Definition at line 977 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::mcshwr_AncestorProcess

Definition at line 979 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_AncestorstartX

Definition at line 980 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_AncestorstartY

Definition at line 981 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_AncestorstartZ

Definition at line 982 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_AncestorTrkId

Definition at line 978 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngE

Definition at line 959 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngPx

Definition at line 956 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngPy

Definition at line 957 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngPz

Definition at line 958 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngX

Definition at line 953 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngY

Definition at line 954 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_CombEngZ

Definition at line 955 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_dEdx

Definition at line 960 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_endX

Definition at line 950 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_endY

Definition at line 951 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_endZ

Definition at line 952 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_isEngDeposited

Definition at line 964 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_MotherendX

Definition at line 973 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_MotherendY

Definition at line 974 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_MotherendZ

Definition at line 975 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_Motherpdg

Definition at line 967 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::mcshwr_MotherProcess

Definition at line 969 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_MotherstartX

Definition at line 970 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_MotherstartY

Definition at line 971 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_MotherstartZ

Definition at line 972 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_MotherTrkId

Definition at line 968 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_origin

Definition at line 943 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_pdg

Definition at line 944 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::mcshwr_Process

Definition at line 946 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_StartDirX

Definition at line 961 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_StartDirY

Definition at line 962 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_StartDirZ

Definition at line 963 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_startX

Definition at line 947 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_startY

Definition at line 948 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mcshwr_startZ

Definition at line 949 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mcshwr_TrackId

Definition at line 945 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_AncestorendX

Definition at line 1028 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_AncestorendY

Definition at line 1029 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_AncestorendZ

Definition at line 1030 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_Ancestorpdg

Definition at line 1022 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::mctrk_AncestorProcess

Definition at line 1024 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_AncestorstartX

Definition at line 1025 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_AncestorstartY

Definition at line 1026 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_AncestorstartZ

Definition at line 1027 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_AncestorTrkId

Definition at line 1023 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_endX

Definition at line 997 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_endX_drifted

Definition at line 1003 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_endY

Definition at line 998 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_endY_drifted

Definition at line 1004 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_endZ

Definition at line 999 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_endZ_drifted

Definition at line 1005 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_len_drifted

Definition at line 1006 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_MotherendX

Definition at line 1018 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_MotherendY

Definition at line 1019 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_MotherendZ

Definition at line 1020 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_Motherpdg

Definition at line 1012 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::mctrk_MotherProcess

Definition at line 1014 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_MotherstartX

Definition at line 1015 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_MotherstartY

Definition at line 1016 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_MotherstartZ

Definition at line 1017 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_MotherTrkId

Definition at line 1013 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_origin

Definition at line 990 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_p_drifted

Definition at line 1007 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_pdg

Definition at line 991 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::mctrk_Process

Definition at line 993 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_px_drifted

Definition at line 1008 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_py_drifted

Definition at line 1009 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_pz_drifted

Definition at line 1010 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_startX

Definition at line 994 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_startX_drifted

Definition at line 1000 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_startY

Definition at line 995 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_startY_drifted

Definition at line 1001 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_startZ

Definition at line 996 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::mctrk_startZ_drifted

Definition at line 1002 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::mctrk_TrackId

Definition at line 992 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::MCTruthIndex

Definition at line 882 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::MergedId

Definition at line 880 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::mode_truth[kMaxTruth]

Definition at line 690 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::Mother

Definition at line 877 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::mupare_flux[kMaxTruth]

Definition at line 726 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::muparpx_flux[kMaxTruth]

Definition at line 723 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::muparpy_flux[kMaxTruth]

Definition at line 724 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::muparpz_flux[kMaxTruth]

Definition at line 725 of file AnaRootParser_module.cc.

std::vector<UShort_t> dune::AnaRootParserDataStruct::NAuxDets

Number of AuxDets crossed by this particle.

Definition at line 1039 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::nclusters

Definition at line 632 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::NHitsInAllTracks

Definition at line 567 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::nnuvtx

Definition at line 625 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_channels

Definition at line 603 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_ExternCounts

Definition at line 667 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_flashes

Definition at line 657 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_hits

Definition at line 566 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_hits_stored

Definition at line 568 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_mcshowers

Definition at line 941 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_mctracks

Definition at line 988 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_primaries

! how many particles there is currently room for

Definition at line 802 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_recochannels

Definition at line 610 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_recoticksinallchannels

Definition at line 614 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_ticks

Definition at line 604 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::no_ticksinallchannels

Definition at line 605 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::NSimEnergyDepositsTPCActivePerParticle

Definition at line 913 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::NTrajectoryPointsPerParticle

Definition at line 889 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nu_dcosx_truth[kMaxTruth]

Definition at line 700 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nu_dcosy_truth[kMaxTruth]

Definition at line 701 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nu_dcosz_truth[kMaxTruth]

Definition at line 702 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::NumberDaughters

Definition at line 875 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::numberofphotons

Definition at line 620 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::nuPDG_truth[kMaxTruth]

Definition at line 688 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::nuvtxpdg[kMaxVertices]

Definition at line 629 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nuvtxx[kMaxVertices]

Definition at line 626 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nuvtxx_truth[kMaxTruth]

Definition at line 697 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nuvtxy[kMaxVertices]

Definition at line 627 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nuvtxy_truth[kMaxTruth]

Definition at line 698 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nuvtxz[kMaxVertices]

Definition at line 628 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::nuvtxz_truth[kMaxTruth]

Definition at line 699 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::origin

Definition at line 881 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::P

Definition at line 814 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::ParticleIDSimEnergyDepositsTPCActivePerParticle

Definition at line 914 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::particleswithsimenergydeposit_size

Definition at line 911 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::pathlen_drifted

Definition at line 855 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::pathlen_tpcAV

Definition at line 829 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::pdg

Definition at line 805 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::PDGCode_tpcAV

Definition at line 831 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::pdpx_flux[kMaxTruth]

Definition at line 712 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::pdpy_flux[kMaxTruth]

Definition at line 713 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::pdpz_flux[kMaxTruth]

Definition at line 714 of file AnaRootParser_module.cc.

PFParticleDataStruct dune::AnaRootParserDataStruct::PFParticleData

Definition at line 684 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::phi

Definition at line 824 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::phiend_tpcAV

Definition at line 853 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::phistart_tpcAV

Definition at line 842 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::photons_channel

Definition at line 622 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::photons_time

Definition at line 621 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::pot

Definition at line 554 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::potbnb

Definition at line 561 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::potnumi101

Definition at line 563 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::potnumitgt

Definition at line 562 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::ppdxdz_flux[kMaxTruth]

Definition at line 715 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::ppdydz_flux[kMaxTruth]

Definition at line 716 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::pppz_flux[kMaxTruth]

Definition at line 717 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::ppvx_flux[kMaxTruth]

Definition at line 720 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::ppvy_flux[kMaxTruth]

Definition at line 721 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::ppvz_flux[kMaxTruth]

Definition at line 722 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::process_primary

Definition at line 878 of file AnaRootParser_module.cc.

std::vector<std::string> dune::AnaRootParserDataStruct::processname

Definition at line 879 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_energy

Definition at line 794 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::proto_isGoodParticle

Definition at line 785 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_momentum

Definition at line 793 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::proto_no_primaries

Definition at line 784 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::proto_pdg

Definition at line 795 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_px

Definition at line 790 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_py

Definition at line 791 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_pz

Definition at line 792 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_t

Definition at line 789 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_vx

Definition at line 786 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_vy

Definition at line 787 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::proto_vz

Definition at line 788 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::ptype_flux[kMaxTruth]

Definition at line 719 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::Px

Definition at line 811 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::Py

Definition at line 812 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::Pz

Definition at line 813 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::Q2_truth[kMaxTruth]

Definition at line 692 of file AnaRootParser_module.cc.

Short_t dune::AnaRootParserDataStruct::rawD_ADC[kMaxReadoutTicksInAllChannels]

Definition at line 608 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::rawD_Channel[kMaxChannels]

Definition at line 607 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::recoW_ADC[kMaxReadoutTicksInAllChannels]

Definition at line 616 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::recoW_Channel[kMaxChannels]

Definition at line 611 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::recoW_NTicks[kMaxChannels]

Definition at line 612 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::recoW_Tick[kMaxReadoutTicksInAllChannels]

Definition at line 615 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::run

Definition at line 548 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVEndTime

Definition at line 933 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVEndX

Definition at line 934 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVEndY

Definition at line 935 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVEndZ

Definition at line 936 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVEnergy

Definition at line 918 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVLength

Definition at line 921 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVMidTime

Definition at line 928 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVMidX

Definition at line 929 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVMidY

Definition at line 930 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVMidZ

Definition at line 931 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::SEDTPCAVNumElectrons

Definition at line 920 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::SEDTPCAVNumPhotons

Definition at line 919 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::SEDTPCAVPDGCode

Definition at line 917 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVStartTime

Definition at line 923 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVStartX

Definition at line 924 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVStartY

Definition at line 925 of file AnaRootParser_module.cc.

std::vector<float> dune::AnaRootParserDataStruct::SEDTPCAVStartZ

Definition at line 926 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::SEDTPCAVTrackID

Definition at line 916 of file AnaRootParser_module.cc.

std::vector<ShowerDataStruct> dune::AnaRootParserDataStruct::ShowerData

Definition at line 681 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::simenergydeposit_size

! how many particles with sim energy deposits in TPC AV there is currently room for

Definition at line 910 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartE_drifted

Definition at line 861 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartE_tpcAV

Definition at line 836 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartP_drifted

Definition at line 862 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartP_tpcAV

Definition at line 837 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointx

Definition at line 815 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointx_drifted

Definition at line 857 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointx_tpcAV

Definition at line 832 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointy

Definition at line 816 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointy_drifted

Definition at line 858 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointy_tpcAV

Definition at line 833 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointz

Definition at line 817 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointz_drifted

Definition at line 859 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPointz_tpcAV

Definition at line 834 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPx_drifted

Definition at line 863 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPx_tpcAV

Definition at line 838 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPy_drifted

Definition at line 864 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPy_tpcAV

Definition at line 839 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPz_drifted

Definition at line 865 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartPz_tpcAV

Definition at line 840 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartT

Definition at line 818 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartT_drifted

Definition at line 860 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::StartT_tpcAV

Definition at line 835 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::status

Definition at line 806 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::subrun

Definition at line 549 of file AnaRootParser_module.cc.

SubRunData_t dune::AnaRootParserDataStruct::SubRunData

subrun data collected at begin of subrun

Definition at line 545 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::taulife

Definition at line 555 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::tgen_flux[kMaxTruth]

Definition at line 728 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tgppx_flux[kMaxTruth]

Definition at line 732 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tgppy_flux[kMaxTruth]

Definition at line 734 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tgppz_flux[kMaxTruth]

Definition at line 736 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::tgptype_flux[kMaxTruth]

Definition at line 731 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::theta

Definition at line 823 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::theta_xz

Definition at line 825 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::theta_yz

Definition at line 826 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::thetaend_tpcAV

Definition at line 852 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::thetastart_tpcAV

Definition at line 841 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tprivx_flux[kMaxTruth]

Definition at line 738 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tprivy_flux[kMaxTruth]

Definition at line 739 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tprivz_flux[kMaxTruth]

Definition at line 740 of file AnaRootParser_module.cc.

Int_t dune::AnaRootParserDataStruct::tptype_flux[kMaxTruth]

Definition at line 747 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tpx_flux[kMaxTruth]

Definition at line 744 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tpy_flux[kMaxTruth]

Definition at line 745 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::tpz_flux[kMaxTruth]

Definition at line 746 of file AnaRootParser_module.cc.

std::vector<TrackDataStruct> dune::AnaRootParserDataStruct::TrackData

Definition at line 673 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::TrackId

Definition at line 876 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::TrackId_tpcAV

Definition at line 830 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajE

Definition at line 898 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajP

Definition at line 899 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::TrajPDGCode

Definition at line 893 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajPhi

Definition at line 904 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajPx

Definition at line 900 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajPy

Definition at line 901 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajPz

Definition at line 902 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajT

Definition at line 897 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajTheta

Definition at line 903 of file AnaRootParser_module.cc.

std::vector<Int_t> dune::AnaRootParserDataStruct::TrajTrackId

Definition at line 892 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajX

Definition at line 894 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajY

Definition at line 895 of file AnaRootParser_module.cc.

std::vector<Float_t> dune::AnaRootParserDataStruct::TrajZ

Definition at line 896 of file AnaRootParser_module.cc.

unsigned int dune::AnaRootParserDataStruct::triggerbits

Definition at line 560 of file AnaRootParser_module.cc.

unsigned int dune::AnaRootParserDataStruct::triggernumber

Definition at line 557 of file AnaRootParser_module.cc.

Double_t dune::AnaRootParserDataStruct::triggertime

Definition at line 558 of file AnaRootParser_module.cc.

std::vector<VertexDataStruct> dune::AnaRootParserDataStruct::VertexData

Definition at line 677 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::vx_flux[kMaxTruth]

Definition at line 709 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::vy_flux[kMaxTruth]

Definition at line 710 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::vz_flux[kMaxTruth]

Definition at line 711 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::W_truth[kMaxTruth]

Definition at line 693 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::X_truth[kMaxTruth]

Definition at line 694 of file AnaRootParser_module.cc.

Float_t dune::AnaRootParserDataStruct::Y_truth[kMaxTruth]

Definition at line 695 of file AnaRootParser_module.cc.


The documentation for this class was generated from the following file: